jenkins pipeline falsely reports "no changes" in the build following a failure

Bug #2067627 reported by Caio Volpato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
In Progress
Undecided
Unassigned

Bug Description

## Brief Description:

After a failed Jenkins pipeline, the next build wrongly reports as "no changes", skipping the build as if the failed pipeline was successful.

## Severity

Major: It's still possible to force the pipeline to trigger the build as a workaround

## Steps to Reproduce

1. Trigger a pipeline that fails
2. After the previous pipeline finishes, trigger a new build

The build is skipped, reporting "no changes"

## Expected Behavior

"no changes" should only be applied if the build was successful.

## Actual Behavior

"no changes" are reported after a failed pipeline

## Reproducibility

100%: considering the Jenkins pipelines repository.

## Commit

this issue was last tested at master on https://opendev.org/starlingx/jenkins-pipelines/commit/cdf247f4d69ecb257c44b40783a491c838120e7d

## Workaround

As a workaround the pipeline can be triggered with force so it always run, even if the last pipeline failed

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to jenkins-pipelines (master)
Changed in starlingx:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.