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

Pipeline step "stash" hangs after plugin upgrade

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None

      Hello,

      After upgrading all plugins to latest version we saw that the stash step suddenly hangs. I am able to recreate it with this simple pipeline:

      node('master') {
          stage('stash') {
              bat "echo hello > test.txt"
              stash includes: 'test.txt', name: 'st'
          }
      }

      The job simply hangs, no output and I cannot find anything in the logs.

      This is what is shown in Console Output:

      Started by user admin
      [Pipeline] node
      Running on Jenkins in C:\Users\peter.walls\jenkins\workspace\teststash
      [Pipeline] {
      [Pipeline] stage
      [Pipeline] { (stash)
      [Pipeline] bat
      [teststash] Running batch script

      C:\Users\peter.walls\jenkins\workspace\teststash>echo hello  1>test.txt
      [Pipeline] stash

       

            Unassigned Unassigned
            peterwalls974 Peter Walls
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: