-
Notifications
You must be signed in to change notification settings - Fork 170
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
Validator to provide error message when a job in a stage is triggered by jobs outside of the stage #3102
Labels
Milestone
Comments
verified in this build: https://beta.cd.screwdriver.cd/pipelines/17908/builds/167161/steps/config-parse-error
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened:
A stage can be initiated by a job outside a stage, allowing a setup job within the stage to be externally triggered. However, a job included in a stage can only be triggered by other jobs within that same stage. Currently, if a user configures a job within the stage to be triggered externally, the validator does not flag an error.
What you expected to happen:
The validator should generate an error when users configure a job within a stage to be triggered by jobs outside of that stage.
How to reproduce it:
When configuring a stage with a job triggered by other jobs outside of the stage, no error is raised for the user until a pipeline execution is initiated.
The text was updated successfully, but these errors were encountered: