Created
November 11, 2016 10:55
-
-
Save robertBrem/b18dee521176a3d75026cbe902d16b2f 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
withEnv(["KUBERNETES_HOST_NAME=hero-command-test"]) { | |
stage "checkout, build, test and publish" | |
node { | |
git poll: true, url: "http://adesso.disruptor.ninja:30130/rob/hero-command.git" | |
def mvnHome = tool 'M3' | |
sh "${mvnHome}/bin/mvn clean install" | |
sh "USER_NAME=robertbrem VERSION=1.0.${currentBuild.number} ./build.js" | |
step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml']) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment