Hi Jason,
From what I understand, DeployProduction is a manual pipeline and so you trigger it manually. Is that right? Triggering manually will always force the pipeline to pick the latest (successful) revision of all its dependencies and that's why you're seeing what you're seeing.
One approach could be to use "Trigger With Options" to pick the correct revision of DeployTest and the repo material. However, that's tedious and needs you to know the right revisions. Another (better) approach is detailed below. It's from an article, coming up soon, which talks about patterns of modeling pipelines. Here's an excerpt from it, which is related to your question:
----------------
Instead of making the first stage of a pipeline manual, it’s often more convenient to have a dummy first stage and a gate (manual stage) after it. This prevents a user from having to trigger with options and make a mistake in choosing the available upstream dependencies. More importantly, the pipeline history page in GoCD can then be used to see all available builds and choose one to take further. In the configuration, it can look like this:
In the pipeline history page in GoCD, it will look like this:
--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It's much easier for me to show her "go to this page and click this 'play' button" than it is "go find the pipeline, click it, then find the manual stage and click it to run". I guess I can build a UI that uses the REST API and hides that from here but that might be something that could be addressed in a future GoCD build.
It's much easier for me to show her "go to this page and click this 'play' button" than it is "go find the pipeline, click it, then find the manual stage and click it to run". I guess I can build a UI that uses the REST API and hides that from here but that might be something that could be addressed in a future GoCD build.
--
I agree. Sounds like exactly what I would want to build. I look forward to cloning the repo and trying it myself :)
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "go-cd" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/go-cd/1H5My9VP-Ng/unsubscribe.
To unsubscribe from this group and all its topics, send an email to go-cd+un...@googlegroups.com.