You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This pipeline will be triggered when the pipline A is completed and in this pipeline, B, want to test if it can be built with the latest commit of A (which is just pass the pipeline A).
At this time, A/main will be checked out that is not what we want.
It would be nice if we can:
steps:
- ...# It will checkout to A@$(resources.pipeline.A-CI.sourceCommit)
- checkout: A-CIpath: external/Acondition: eq(variables['Build.Reason'], 'ResourceTrigger')
Alternatively, we can check out to the commit we want to by manual:
But this requires to the credential be remain after checkout using checkout.persistCredentials and it does not work with the submodules at this time. #4295#4114
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Assuome the repo
B
depending on the repoA
as a submodule atexternal/A
.Consider following
pipelines.yaml
:This pipeline will be triggered when the pipline
A
is completed and in this pipeline,B
, want to test if it can be built with the latest commit ofA
(which is just pass the pipelineA
).At this time,
A/main
will be checked out that is not what we want.It would be nice if we can:
Alternatively, we can check out to the commit we want to by manual:
But this requires to the credential be remain after checkout using
checkout.persistCredentials
and it does not work with the submodules at this time. #4295 #4114Beta Was this translation helpful? Give feedback.
All reactions