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

Claim plugin does not allow to claim unstable builds with declarative pipeline

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • claim-plugin

      We're not able to claim unstable builds any more (with declarative pipeline). For failed builds, it still works. I'm pretty sure it worked for unstable builds as well so I guess this is a regression.

      The plugin is called in post section, independant of build result:

      post {
        always {
          step([$class: 'ClaimPublisher'])
        }
      } 
      

       We're currently using:

      • Jenkins 2.138.3
      • Claim Plugin 2.15

       

          [JENKINS-54718] Claim plugin does not allow to claim unstable builds with declarative pipeline

          Christoph Amshoff created issue -
          Christoph Amshoff made changes -
          Description Original: We're not able to claim unstable builds any more (with declarative pipeline). For failed builds, it still works. I'm pretty sure it worked for unstable builds as well so I guess this is a regression.

          The plugin is called in post section, independant of build result:

          {{ post {}}
          {{  always {}}
          {{    step([$class: 'ClaimPublisher'])}}
          {{  }}}
          {{ }}}

          We're currently using:
           * Jenkins 2.138.3
           * Claim Plugin 2.15

           
          New: We're not able to claim unstable builds any more (with declarative pipeline). For failed builds, it still works. I'm pretty sure it worked for unstable builds as well so I guess this is a regression.

          The plugin is called in post section, independant of build result:

          {{post {}}
          {{  {{always {}}}}
          {{ {{   step([$class: 'ClaimPublisher'])}}}}
          {{  }}}
          {{}}}

          We're currently using:
           * Jenkins 2.138.3
           * Claim Plugin 2.15

           
          Christoph Amshoff made changes -
          Description Original: We're not able to claim unstable builds any more (with declarative pipeline). For failed builds, it still works. I'm pretty sure it worked for unstable builds as well so I guess this is a regression.

          The plugin is called in post section, independant of build result:

          {{post {}}
          {{  {{always {}}}}
          {{ {{   step([$class: 'ClaimPublisher'])}}}}
          {{  }}}
          {{}}}

          We're currently using:
           * Jenkins 2.138.3
           * Claim Plugin 2.15

           
          New: We're not able to claim unstable builds any more (with declarative pipeline). For failed builds, it still works. I'm pretty sure it worked for unstable builds as well so I guess this is a regression.

          The plugin is called in post section, independant of build result:
          {quote}post {
              always {
                  step([$class: 'ClaimPublisher'])
              }
           }
          {quote}
          We're currently using:
           * Jenkins 2.138.3
           * Claim Plugin 2.15

           
          Christoph Amshoff made changes -
          Description Original: We're not able to claim unstable builds any more (with declarative pipeline). For failed builds, it still works. I'm pretty sure it worked for unstable builds as well so I guess this is a regression.

          The plugin is called in post section, independant of build result:
          {quote}post {
              always {
                  step([$class: 'ClaimPublisher'])
              }
           }
          {quote}
          We're currently using:
           * Jenkins 2.138.3
           * Claim Plugin 2.15

           
          New: We're not able to claim unstable builds any more (with declarative pipeline). For failed builds, it still works. I'm pretty sure it worked for unstable builds as well so I guess this is a regression.

          The plugin is called in post section, independant of build result:

           

           

          We're currently using:
           * Jenkins 2.138.3
           * Claim Plugin 2.15

           
          Christoph Amshoff made changes -
          Description Original: We're not able to claim unstable builds any more (with declarative pipeline). For failed builds, it still works. I'm pretty sure it worked for unstable builds as well so I guess this is a regression.

          The plugin is called in post section, independant of build result:

           

           

          We're currently using:
           * Jenkins 2.138.3
           * Claim Plugin 2.15

           
          New: We're not able to claim unstable builds any more (with declarative pipeline). For failed builds, it still works. I'm pretty sure it worked for unstable builds as well so I guess this is a regression.

          The plugin is called in post section, independant of build result:

          {code:java}
          post {
            always {
              step([$class: 'ClaimPublisher'])
            }
          }
          {code}

           We're currently using:
           * Jenkins 2.138.3
           * Claim Plugin 2.15

           
          Christoph Amshoff made changes -
          Link New: This issue duplicates JENKINS-54559 [ JENKINS-54559 ]
          Christoph Amshoff made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            ki82 Christian Bremer
            chamshoff Christoph Amshoff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: