Created
March 6, 2012 22:11
-
-
Save manojlds/1989334 to your computer and use it in GitHub Desktop.
Go pipeline Templates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pipeline name="deploy-to-sandbox-master" template="deploy-template"> | |
<params> | |
<param name="BUILD_PIPELINE">build-master</param> | |
</params> | |
<materials> | |
<pipeline pipelineName="#{BUILD_PIPELINE}" stageName="build" /> | |
</materials> | |
</pipeline> | |
<pipeline name="deploy-to-sandbox-hotfix" template="deploy-template"> | |
<params> | |
<param name="BUILD_PIPELINE">build-hotfix</param> | |
</params> | |
<materials> | |
<pipeline pipelineName="#{BUILD_PIPELINE}" stageName="build" /> | |
</materials> | |
</pipeline> | |
<templates> | |
<pipeline name="deploy-template> | |
<stage name="deploy"> | |
<jobs> | |
<job name="deploy"> | |
<fetchartifact pipeline="#{BUILD_PIPELINE}" stage="build" job="job" srcdir="source"/> | |
</job> | |
<jobs> | |
</stage> | |
</pipeline> | |
</templates> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment