Created
March 10, 2017 08:53
-
-
Save rpau/6d6e44e17dff5fce570390ec8a6548fb 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
#!groovy | |
@Library('github.com/walkmod/jenkins-pipeline-shared@declarative') _ | |
pipeline { | |
agent any | |
stages { | |
stage ('Fixing Release'){ | |
steps { | |
walkmodApply() | |
} | |
} | |
stage ('Check conventions'){ | |
steps { | |
sh "mvn pmd:check" | |
} | |
} | |
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