-
Bug
-
Resolution: Not A Defect
-
Major
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
- duplicates
-
JENKINS-54559 Build result regression since pipeline-maven 3.5.15 for failing tests (UNSTABLE)
-
- Closed
-
[JENKINS-54718] Claim plugin does not allow to claim unstable builds with declarative pipeline
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 |
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 |
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 |
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 |
Link |
New:
This issue duplicates |
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
This issue was caused by another issue of the pipeline-maven-plugin version 3.5.15, which does not set the build status correctly (to UNSTABLE) when tests are failing (see
JENKINS-54559).