Created
May 31, 2021 22:05
-
-
Save KyMidd/f817ccef781f20189d607ba2a6065cff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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