The pipelines page states that steps and scripts are executed in the order they appear in the file.
But it does not say anything about the order that each pipeline is executed in.
If I have the following, will develop steps always be executed after default steps?
pipelines default branches develop
Also, will develop steps only be executed when commits are pushed or merged to develop, or will they now execute every time?
The default pipeline is optional and the fall back pipeline used when no branch pipeline is defined.
In your scenario, the develop pipeline will run whenever the branch develop changes. For all other branches changed, the default pipeline will run.
Hope that helps!
- Josh
So if the develop branch changes, only the develop pipeline runs?
So if I want develop to include the same steps/scripts as default, I have to repeat them?
Is there any way to not repeat steps/scripts?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.