Polling Kit
This extension provides 1 task!
Features
- Provides CLI script poling.
Usage sample
- job:
...
steps:
- task: CLIPolling@4
inputs:
# ⚠️ (deprecated use 'script' input)
fullScript: echo "foo bar"
script: |-
echo "foo"
echo "bar"
interpreter: bash
startDelay: 1s # parse-duration format
pollingInterval: 100ms # parse-duration format
timeout: 30s # parse-duration format
stopScript: |-
xml://stdout = $.foo
json://stdout = $.foo
yaml://stdout = $.foo
prop://stdout = $.foo
text://stdout = /bar/img
xml://stderr = $.foo
json://stderr = $.foo
yaml://stderr = $.foo
prop://stderr = $.foo
text://stderr = /bar/img
xml://$(Build.SourcesDirectorry)/foo/bar.txt = $.foo
json://$(Build.SourcesDirectorry)/foo/bar.txt = $.foo
yaml://$(Build.SourcesDirectorry)/foo/bar.txt = $.foo
prop://$(Build.SourcesDirectorry)/foo/bar.txt = $.foo
text://$(Build.SourcesDirectorry)/foo/bar.txt = /bar/img
All time reference is based on parse-duration
Available Duration Units:
- nanoseconds (ns)
- microseconds (μs)
- milliseconds (ms)
- seconds (s, sec)
- minutes (m, min)
- hours (h, hr)
- days (d)
- weeks (w, wk)
- months
- years (y, yr)
About US
Help us
See CONTRIBUTING.md
If you like our project help us to make more best solutions.
Bitcoin / network BTC :
1NvnQAp2e46Fqv4YaoYTioypJZdq4Kc3Az
Etherium / network Etherium :
0x38a2113604fb3d642bbd009301e94848a499cea4
BitTorrent / network Tron :
TD9LHa5BjWQpf4oP3uYWP8ghnojJWJy53C
| |