-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
-
Blue Ocean - Candidates
I get the following message in the log:
--: reference to Bitbucket/cvltk/PR-4 #9 being saved from unexpected /var/lib/jenkins/jobs/Bitbucket/jobs/cvltk/branches/PR-4/builds/9/workflow/4-parallel-synthetic.xmlJENKINS-45892
I'm doing some tricks to build in parallel on multiple different nodes, maybe that is the cause. Condensed example Jenkinsfile:
platforms = [ "gcc4.8-linux64": [nodeMatcher: 'linux64', config: "linux-gcc4.8"], ] @NonCPS def generateBuilds() { def builds = [:] for (p in platforms) { def name = p.key def platform = p.value builds[p.key] = { build(name, platform) } } return builds } def build(name, platform) { node(platform.nodeMatcher) { stage("Build ${name}") { echo "Hello, World for ${platform.config}!" } } } parallel generateBuilds()
- is related to
-
JENKINS-45892 Forbid nested references to model objects
-
- Resolved
-
- relates to
-
JENKINS-47736 JEP-200: Switch Remoting/XStream blacklist to a whitelist
-
- Resolved
-
- links to
- mentioned in
-
Page Failed to load
vivek yes it is! You are creating and saving anonymous inner FlowNode subclasses. Trivially reproducible by running 2.77, adding blueocean-web + blueocean-pipeline-rest-impl, creating
and running it and opening the result in BO. You will see tons of errors. jobs/…/builds/1/workflow/5-parallel-synthetic.xml contains all sorts of crazy stuff, for example:
<node class="io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeGraphVisitor$3" plugin="blueocean-pipeline-api-impl@1.2.4">
or
(the origin of the warnings)
or (eeek!)
etc.