-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
Jenkins 2.126 on Win 2016
Blue Ocean
GitHub Pipeline for Blue Ocean
- I have a Jenkins node master "master" (on Windows) + 1 agent called "Alpha" (on Windows)
- I have an Github Enterprise Repository configured in Jenkins.
- I use a JenkinsFile for the pipeline with this :
pipeline { options { skipDefaultCheckout(true) disableConcurrentBuilds() } agent { label 'Alpha' } .... }
All works well when:
- I start a build manually in Jenkins -> the build is executed with the "Alpha" agent
- I commit on Git => Trigger a build on the "Alpha" agent
But when I create a pull request, the build is executed on the "master" agent
That is deeply weird - I can't reproduce it. Any chance you could zip/tar up the build directories for a build that does the right thing and one that does the wrong thing? I'm talking about the directories like JENKINS_HOME/jobs/repo-name/jobs/branch-name/builds/123.