Open hejech opened 1 year ago
This happens for me with Bitbucket when using Discover pull requests from origin
set to Merging the pull request with the current target branch revision
. Changing it to The current pull request revision
makes the issue go away, though the downside there is the code is not in a merged state, so presumably it requires everyone to be merging the target branch into their feature branch (which is a good practice, but not necessarily an assumption we can make for every developer).
Jenkins Version
2.401.1
JTE Version
2.5.3
Bug Description
I get a java.lang.Exception when starting a pipeline on a pull request. On other branches the pipeline works fine.
Relevant log output
Steps to Reproduce
Can be reproduced by starting the pipeline manually on the pull request
Additional Info
If I add a Pipeline Config )content of Jenkinsfile) directly to the Jenkins Pipeline Configuration, then it works for PRs also.