Steps to reproduce
- Using a fresh instance of jenkins running inside a container from docker
registry.
- Created a multi branch project via blue ocean
- updated settings. Manage jenkins > configure system > home directory >
advance button > change directory to
${JENKINS_HOME}/workspace/*src*/${ITEM_FULLNAME} >
save
- restarted jenkins via jenkins_url/restart
- triggered a build but still creates the project in
${JENKINS_HOME}/workspace/${ITEM_FULLNAME}
Any ideas what I'm missing to get my builds into the custom path? Might be
a bug?
my Jenkinsfile
node {
checkout scm
withEnv(["PATH=${env.path}:/var/jenkins_home/go_install/go/bin/",
'GOPATH=/var/jenkins_home/workspace/',
'GOROOT=/var/jenkins_home/go_install/go/']) {
stage('Info') {
sh 'printenv'
}
stage('Build') {
sh 'ls'
sh 'go get .'
sh 'go build .'
sh 'make setupenv'
sh 'make'
}
stage('Test') {
sh 'which docker'
sh 'make test'
}
}
}
Thanks in advance!
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/77451fb7-9feb-45fa-bbdf-a3919784163e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.