Skip to content

Commit

Permalink
Updated Jenkinsfile to match the one used on release instance (#1896)
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek authored and halkeye committed Jan 6, 2019
1 parent f286799 commit a2b4776
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
node('bluebuild-environment') {
properties([parameters([
choice(choices: 'Vivek Pandey:[email protected]\nMichael Neale:[email protected]\nJames Dumay:jdumay@cloudbees.com', description: 'Colon separated Git Username and email.', name: 'GIT_AUTHOR_AND_GIT_EMAIL'),
choice(choices: 'Vivek Pandey:[email protected]\nMichael Neale:[email protected]\nKeith Zantow:[email protected]\nGavin Mogan:[email protected]\nDavid Lin:dlin@cloudbees.com', description: 'Colon separated Git Username and email.', name: 'GIT_AUTHOR_AND_GIT_EMAIL'),
[$class: 'CredentialsParameterDefinition', credentialType: 'com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl', defaultValue: '', description: 'Your GitHub credential', name: 'GITHUB_CREDENTIALS', required: true],
[$class: 'CredentialsParameterDefinition', credentialType: 'com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl', defaultValue: '', description: 'Your Jenkins credential', name: 'JENKINS_CREDENTIALS', required: true],
string(defaultValue: 'https://github.com/jenkinsci/blueocean-plugin.git', description: 'GIT repo URL', name: 'GIT_REPO_URL'),
Expand Down Expand Up @@ -61,7 +61,7 @@ node('bluebuild-environment') {

//Release to maven repo
stage('mvn release:perform') {
sh 'mvn -s settings.xml release:perform -Djacoco.skip=true -Dfindbugs.skip=true'
sh 'mvn -s settings.xml release:perform -Darguments="-DskipTests" -Djacoco.skip=true -Dfindbugs.skip=true'
}
} catch (err) {
currentBuild.result = "FAILURE"
Expand Down

0 comments on commit a2b4776

Please sign in to comment.