Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed downstream jobs with # number fail to rebuild by upstream job that was manually triggered #8859

Open
Asgarzadeh457 opened this issue Nov 28, 2023 · 1 comment
Labels

Comments

@Asgarzadeh457
Copy link

Asgarzadeh457 commented Nov 28, 2023

Summary

Based on discussion 7518, I am unable to rebuild downstream jobs by manually triggering the upstream job

Steps to reproduce

I have pipeline A, B , C that are triggered by a launcher pipeline D upon its completion with SUCCESS
Trigger add to each pipleineJob section in Yaml file is :

pipelineJob('A') {
    triggers {
        upstream('D', 'SUCCESS')
    }
}

When pipeline A, B and C are marked SUCCESS or FAILED while associated with a build version (i.e v2023.x.x.x) , the automatic trigger via pipeline D works correctly
However, if downstream job fails and marked failed with build number # , the automatic trigger via pipeline D does not re-start build despite the SUCCESS status of pipeline D unless I manually rebuild downstream jobs separately
image

Type of error that caused the downstream job to fail in this case is a checkout failure to git repo
image

Expected results

When triggering pipeline D and upon completion with SUCCESS : downstream jobs A, B and C should be triggered and start build despite having failed before

Actual results

When triggering pipeline D and upon completion with SUCCESS : downstream jobs A, B and C are not triggered

Additional context

@taylorsilva
Copy link
Member

Is there a yaml pipeline you can share? From the discussion thread you linked there's plenty of examples there that you could probably use to help us build a reproducible case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants