Created
July 10, 2020 04:48
-
-
Save coldfumonkeh/b3955a6b936d1ef71189f233a71050d5 to your computer and use it in GitHub Desktop.
Azure Pipeline Snippet
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
pool: | |
vmImage: 'ubuntu-16.04' | |
stages: | |
- stage: Testing | |
jobs: | |
- job: Lucee4 | |
steps: | |
- script: | | |
echo Starting the build | |
curl --location -o /tmp/box.zip https://www.ortussolutions.com/parent/download/commandbox/type/bin | |
unzip /tmp/box.zip -d /tmp/ | |
chmod a+x /tmp/box | |
/tmp/box install production=false | |
/tmp/box server start cfengine=lucee@4 | |
mkdir /tmp/results/ | |
/tmp/box testbox run outputFile=testbox-lucee4.xml reporter=junit | |
- task: PublishTestResults@2 | |
inputs: | |
testResultsFormat: 'JUnit' | |
testResultsFiles: '**/testbox-*.xml' | |
testRunTitle: TestBox Tests | |
failTaskOnFailedTests: true | |
displayName: 'TestBox Results' | |
- job: Lucee5 | |
steps: | |
- script: | | |
echo Starting the build | |
curl --location -o /tmp/box.zip https://www.ortussolutions.com/parent/download/commandbox/type/bin | |
unzip /tmp/box.zip -d /tmp/ | |
chmod a+x /tmp/box | |
/tmp/box install production=false | |
/tmp/box server start cfengine=lucee@5 | |
mkdir /tmp/results/ | |
/tmp/box testbox run outputFile=testbox-lucee5.xml reporter=junit | |
- task: PublishTestResults@2 | |
inputs: | |
testResultsFormat: 'JUnit' | |
testResultsFiles: '**/testbox-*.xml' | |
testRunTitle: TestBox Tests | |
failTaskOnFailedTests: true | |
displayName: 'TestBox Results' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment