Last active
May 4, 2017 16:25
-
-
Save rpau/f18376f4420e446e821d09dc6a9323eb to your computer and use it in GitHub Desktop.
Jenkinsfile fragment for walkmod
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
#!groovy | |
@Library('github.com/walkmod/jenkins-pipeline-shared@maven') _ | |
pipeline { | |
agent any | |
stages { | |
stage ('Fixing Release'){ | |
steps { | |
walkmodApply( | |
validatePatch: false, | |
branch: env.BRANCH_NAME, | |
alwaysApply: true, | |
alwaysFail: true) | |
} | |
} | |
stage('Build') { | |
steps { | |
sh "mvn package" | |
} | |
} | |
stage('Results') { | |
steps { | |
archive 'target/*.jar' | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment