You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hudson.AbortException: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:1157)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1303)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:129)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:97)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:84)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Just noticed the following behaviour in JePL-2.1.1 (probably related to scm step). If I set repo's
branch
as an empty string:the pipeline gets an
origin/0.4.x
branch, which surprisingly (at least for me) is not the default branch set for this repo (it isorigin/master
).However, the default branch (
origin/master
) is indeed used when the property is removed, such as:The text was updated successfully, but these errors were encountered: