jenkinsci / jenkinsci/release-plugin
[JENKINS-31702] Post successful build steps are executed when build fails
- Dominant language
- Java
- Stars
- 24
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
First build step was to copy artifacts from another job. This build step failed.
Configured post successful build steps of the release plugin are executed anyway. But they should not be executed in my eyes when some build step fails.
Do you have any hints how to debug this?
---
Originally reported by kleini, imported from: Post successful build steps are executed when build fails
petehayes
Raw content of original issue
First build step was to copy artifacts from another job. This build step failed.
Configured post successful build steps of the release plugin are executed anyway. But they should not be executed in my eyes when some build step fails.
Do you have any hints how to debug this?
- environment:
Standalone Jenkins 1.638 with release plugin 2.5.4
Contributor guide
Research direction
Reproduce the failure with standalone Jenkins 1.638 and release plugin 2.5.4, using a failed artifact-copy build step followed by configured post-success steps. Trace the release plugin's build-result handling; done means post-success steps are not executed after any failed build step.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devops, release
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100