Use resources.pipeline.pipleine.sourceBranch in stage run condition
I have a multi stage pipeline that has a trigger from another pipeline. If the triggering pipeline is not in the “main” branch I want to skip all prod stages, for example:
I have a multi stage pipeline that has a trigger from another pipeline. If the triggering pipeline is not in the “main” branch I want to skip all prod stages, for example: