Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot claim builds in jenkins

On our Jenkins (1.492) I have the Claim Plugin installed. Jenkins is configured to use LDAP using matrix authorization.

After installing the plugin and enabling the plugin in the configuration of each job the /claim view says "Welcome to the Hudson Claim Report. There are no failing builds. Excellent work!" and does not list any builds to claim.

I have both unstable and failed builds.

  • I have rebuilt the failing and unstable builds after installing the plugin and configuring the jobs.
  • I have also changed the default view back to "All" - I read somewhere that there may be a problem.
  • I did also restart Jenkins.
  • I am logged in with an LDAP user.
  • The claim view does not list anything.
  • I have no claim icon in the build history of the job.
  • I have no claim link on the build page beneathe "started by user".
  • I have added a "Claim" column to a custom view with failing tests - but it's empty.
  • But I can claim a single regression via the test report view on a unstable build.

What have I missed? How can I find the problem?

like image 587
jone Avatar asked Jan 15 '13 22:01

jone


People also ask

Why build is getting failed in Jenkins?

To troubleshoot Jenkins pipeline failure issues On the Console Output page, check the logs to find the reason for the failure. If required, update the parameters in the deployment input configuration file. Learn about deployment input configuration file parameters at Setting up the deployment input configuration file.

What is Jenkins claim?

The claim plugin is meant to allow users to claim failing builds and tests from Jenkins to signal they are taking responsibility in fixing them. Supported features. Claiming failed builds. Claiming failed tests.


1 Answers

In order to activate the Claim Plugin you must first add the 'Allow broken build claiming' action to the 'Post-build Action' section of one or more jobs. The next time the job fails after adding this step, it should be available to claim.

Configuring this on a large number of jobs is a bit of a pain but fortunately someone has contributed a Groovy script to allow broken build claiming on every job.

like image 102
Naishy Avatar answered Sep 30 '22 19:09

Naishy