• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • claim-plugin
    • None

      hi team,

      I am new to Jenkins and I am trying to use Claims plugin to allow users to claim a build failure in a scripted pipeline.

      Please let me know how I can do it. 

      I understand in declarative pipeline i can use something like below.

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

      Jenkins version 2.121.2 

      Build Failure Analyzer 1.20.0

      Claim plugin version 2.15

      Also if you can let me know how I can find this information myself that will be more helpful.

          [JENKINS-58484] Using claim plugin in scripted pipeline

          I have the same problem. Once it was working, but now it's not working anymore. I don't know if it was a change of my scripted pipeline or an update of the plugin, that made it stop working.
          The time it worked I also uses step([$class: 'ClaimPublisher']). Now I also tried with allowBrokenBuildClaiming(). Do I have to put the call on a special position of my scripted pipeline?

          Matthias Kretschmar added a comment - I have the same problem. Once it was working, but now it's not working anymore. I don't know if it was a change of my scripted pipeline or an update of the plugin, that made it stop working. The time it worked I also uses step( [$class: 'ClaimPublisher'] ). Now I also tried with allowBrokenBuildClaiming(). Do I have to put the call on a special position of my scripted pipeline?

            greybird Arnaud TAMAILLON
            abhikomarla Abhijith Komarla
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: