Skip to content

Instantly share code, notes, and snippets.

@imartinflores
Created June 30, 2023 14:36
Show Gist options
  • Save imartinflores/79039c1832ba8617dac9e923359b5ddf to your computer and use it in GitHub Desktop.
Save imartinflores/79039c1832ba8617dac9e923359b5ddf to your computer and use it in GitHub Desktop.
- task: Bash@3
displayName: create tunnel
inputs:
targetType: 'inline'
script: |
'docker run -w /datadrive -d \
-t saucelabs/sauce-connect:4.7.0 \
-u $(user) \
-k $(key) \
-x https://eu-central-1.saucelabs.com/rest/v1 \
 - proxy "${{ parameters.proxy }}.wonderproxy.com:11000" \
 - proxy-userpwd $(proxy-userpwd) \
 - tunnel-pool \
 - tunnel-name ${{ parameters.tunnelName }} \
 - no-autodetect \
 - shared-tunnel \
-B all'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment