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

Declarative environment hangs on overwriting self with existing env.value

    Details

    • Similar Issues:

      Description

      After upgrading from v1.1.9 to v1.2.2 (and even v1.2.3 as of yesterday), our pipelines started to hang.  This seems to be related to JENKINS-45198.  Showing the pipeline steps was the key to figure this out  as it was stuck in "Set environment variables" (See attachment)

      BlueOcean would say: Queued Waiting for run to start

      Console would say:

      [Pipeline] { (Declarative: Checkout SCM)
      [Pipeline] checkout
       > git rev-parse --is-inside-work-tree # timeout=10
      Fetching changes from the remote Git repository
       > git config remote.origin.url ... # timeout=10
      Fetching without tags
      Fetching upstream changes from ...
       > git --version # timeout=10
      using GIT_ASKPASS to set credentials Jenkins Github password
       > git fetch --no-tags --progress ...
      Checking out Revision d6a063e9118ab507621bdf42ce9baa67fc07d5f4 (master)
       > git config core.sparsecheckout # timeout=10
       > git checkout -f d6a063e9118ab507621bdf42ce9baa67fc07d5f4
      Commit message: "v2.0.65 changelog"
       > git rev-list d6a063e9118ab507621bdf42ce9baa67fc07d5f4 # timeout=10
      [Pipeline] }
      [Pipeline] // stage
      [Pipeline] withEnv
      [Pipeline] {

      This is with all plugins and jenkins up to date as of today.

      Jenkinsfile attached

      Many thanks for any help/light you can shine on this

        Attachments

          Issue Links

            Activity

            adrianbridgett Adrian Bridgett created issue -
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Summary unable to run pipelines with v1.2.x Declarative environment hangs on either overwriting self value or overwriting parameter
            abayer Andrew Bayer made changes -
            Summary Declarative environment hangs on either overwriting self value or overwriting parameter Declarative environment hangs on overwriting self with existing value
            abayer Andrew Bayer made changes -
            Summary Declarative environment hangs on overwriting self with existing value Declarative environment hangs on overwriting self with existing env.value
            abayer Andrew Bayer made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            abayer Andrew Bayer made changes -
            Remote Link This issue links to "PR #211 (Web Link)" [ 17930 ]
            abayer Andrew Bayer made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            abayer Andrew Bayer made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            bitwiseman Liam Newman made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                adrianbridgett Adrian Bridgett
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: