Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47158

Warnings about workflow/*-parallel-synthetic.xml serializing WorkflowRun objects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • blueocean-plugin
    • None
    • Blue Ocean - Candidates

      I get the following message in the log:

      -JENKINS-45892-: 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.xml

      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()
      
      

            abayer Andrew Bayer
            estyrke Emil Styrke
            Votes:
            4 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: