Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Ok ... needed plugins update and also see JENKINS-33510 .... ffs
Browse files Browse the repository at this point in the history
  • Loading branch information
tfennelly committed Sep 23, 2016
1 parent 0545c03 commit 9960c38
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions Jenkinsfile
Expand Up @@ -11,17 +11,18 @@ node {
try {
// Build blueocean and the ATH
stage 'build'
dir('target/blueocean-plugin') {
dir('blueocean-plugin') {
git url: 'https://github.com/jenkinsci/blueocean-plugin.git'
sh "echo --------"
sh "echo ${pwd()}"
sh "ls -al target/blueocean-plugin"
sh "echo --------"
//
// Must cd into blueocean-plugin before running build
// see https://issues.jenkins-ci.org/browse/JENKINS-33510
sh "cd blueocean-plugin && mvn clean install"
}
sh "echo ${pwd()}"
sh "ls -al"
sh "echo --------"
sh "mvn clean install -DskipTests"

// Run the ATH
stage 'run'
sh "./run.sh -a=./blueocean-plugin/blueocean/"
} catch(err) {
currentBuild.result = "FAILURE"
} finally {
Expand Down

0 comments on commit 9960c38

Please sign in to comment.