Created
November 6, 2018 15:29
-
-
Save dasgoll/f6fdbbfe37b4f47cc630054dd2817619 to your computer and use it in GitHub Desktop.
execute a Jenkins job from inside another job - Pass parameters
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
execute a job from inside another job | |
Add build step -> Trigger/call builds on other projects | |
Check "Block until the triggered projects finish their builds" | |
Add Parameters -> Predefined parameters | |
in "Predefined parameters": | |
GIT_REPO=$git_repo <-- this $git_repo is a defined paramter in the calling job | |
GIT_OUTPUT=/opt/policyengine | |
CHEF_JSON=policyengine.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment