Skip to content

Commit

Permalink
need to set the github branch before the run to pull the correct vari…
Browse files Browse the repository at this point in the history
…ables when passed
  • Loading branch information
thelamer committed Dec 3, 2018
1 parent 84f0a5a commit e4ce041
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
pre_tasks:
- set_fact:
container_name: "{{ lookup('env', 'CONTAINER_NAME' ) | ternary (lookup('env', 'CONTAINER_NAME' ), omit) }}"
- set_fact:
github_branch: "{{ lookup('env', 'GITHUB_BRANCH' ) | ternary (lookup('env', 'GITHUB_BRANCH' ), omit) }}"
roles:
- { role: roles/generate-jenkins }

0 comments on commit e4ce041

Please sign in to comment.