I'm getting StackOverflowException when trying to open the folder of my multibranch pipeline job, see below for first part of the stacktrace.
The pipeline is defined in declarative job dsl and has worked fine so far. This SOE occurred now after I've changed in my pipeline from
pipeline {
agent any
[...]
}
to
pipeline {
agent {
label 'test'
}
[...]
}
So my guess is that this must somehow have triggered the SOE? I've now reverted the pipeline script to 'agent any' but still getting the SOE below.
My jenkins instance: Jenkins 2.64 with latest pipeline plugins. The other build agent (with label 'test') is a remote ssh agent and has successfully built other (freestyle) projects. This was my first attempt to build a pipeline on that agent.
Any permission that I need to set, or any other ideas what could be wrong? I can file a jira issue, but trying to understand what's happening first.
java.lang.StackOverflowError
at org.jenkinsci.plugins.workflow.multibranch.BranchJobProperty$1.hasPermission(BranchJobProperty.java:77)
at org.jenkinsci.plugins.workflow.multibranch.BranchJobProperty$1.hasPermission(BranchJobProperty.java:77)
at org.jenkinsci.plugins.workflow.multibranch.BranchJobProperty$1.hasPermission(BranchJobProperty.java:77)
at org.jenkinsci.plugins.workflow.multibranch.BranchJobProperty$1.hasPermission(BranchJobProperty.java:77)
at org.jenkinsci.plugins.workflow.multibranch.BranchJobProperty$1.hasPermission(BranchJobProperty.java:77)
at org.jenkinsci.plugins.workflow.multibranch.BranchJobProperty$1.hasPermission(BranchJobProperty.java:77)
at org.jenkinsci.plugins.workflow.multibranch.BranchJobProperty$1.hasPermission(BranchJobProperty.java:77)
at org.jenkinsci.plugins.workflow.multibranch.BranchJobProperty$1.hasPermission(BranchJobProperty.java:77)
at org.jenkinsci.plugins.workflow.multibranch.BranchJobProperty$1.hasPermission(BranchJobProperty.java:77)
at org.jenkinsci.plugins.workflow.multibranch.BranchJobProperty$1.hasPermission(BranchJobProperty.java:77)
at org.jenkinsci.plugins.workflow.multibranch.BranchJobProperty$1.hasPermission(BranchJobProperty.java:77)
at org.jenkinsci.plugins.workflow.multibranch.BranchJobProperty$1.hasPermission(BranchJobProperty.java:77)