Created
May 7, 2019 18:58
-
-
Save pgtoopx/d8a8355c9f62194761b7f1e4180f4dc4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| pipeline { | |
| agent { | |
| docker { | |
| image 'markhobson/maven-chrome' | |
| } | |
| } | |
| stages { | |
| stage('Download Feature Files'){ | |
| steps { | |
| downloadFeatureFiles serverAddress: 'http://rutadelservidor:puertodelservidor', | |
| projectKey: 'keydelproyecto', | |
| targetPath:'src/test/resources/features' | |
| } | |
| } | |
| stage('Clean Work Space'){ | |
| steps { | |
| sh 'mvn clean' | |
| } | |
| } | |
| stage('Integration Test') { | |
| steps { | |
| sh 'mvn install' | |
| } | |
| } | |
| } | |
| post { | |
| always { | |
| archiveArtifacts(artifacts: 'target/', fingerprint: true) | |
| junit 'target/cucumber.xml' | |
| publishTestResults serverAddress: 'http://rutadelservidor:puertodelservidor', | |
| projectKey: 'keydelproyecto', | |
| filePath:'target/cucumber-report/cucumber.json', | |
| format: 'Cucumber', | |
| autoCreateTestCases: false | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment