-
Notifications
You must be signed in to change notification settings - Fork 530
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Jenkinsfile to match the one used on release instance (#1896)
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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'), | ||
|
@@ -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" | ||
|