Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created May 31, 2021 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KyMidd/f817ccef781f20189d607ba2a6065cff to your computer and use it in GitHub Desktop.
Save KyMidd/f817ccef781f20189d607ba2a6065cff to your computer and use it in GitHub Desktop.
- task: Bash@3
displayName: Trigger Batch Testing Jobs
inputs:
targetType: inline
workingDirectory: $(System.DefaultWorkingDirectory)
failOnStderr: true
script: |
chmod +x ./pipelines/batch_testing/$(batch_test_script)
./pipelines/batch_testing/$(batch_test_script)
- task: Bash@3
displayName: Cleanup files after run
inputs:
targetType: inline
workingDirectory: $(System.DefaultWorkingDirectory)
failOnStderr: false
condition: always() # this step will always run, even if the pipeline is canceled
script: |
rm -rf $(docker_dest_config_directory)
rm -rf $(System.DefaultWorkingDirectory)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment