branch_spec in inventory
This commit is contained in:
parent
9b9a503fbf
commit
bf1fb4870d
2 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,8 @@ all:
|
|||
deploy_url: demos.xlii.si:/var/www/test1234 # TODO: not implemented yet
|
||||
bar:
|
||||
repository_url: ssh://git@code.example.net:2020/bar
|
||||
branch_spec: '*/develop'
|
||||
baz:
|
||||
vars:
|
||||
# If you want this playbook to only install Jenkins and let
|
||||
# him be managed by other means thereafter, you can change this
|
||||
|
|
|
@ -10,6 +10,9 @@ jenkins_cli_command: java -jar "{{ jenkins_cli_jar_location }}" -s http://localh
|
|||
jenkins_credential_keyid: deploykey1
|
||||
jenkins_credential_keydesc: Deploy key n.1
|
||||
|
||||
# Default branch for git clone/pull in the job configuration
|
||||
branch_spec: "*/master"
|
||||
|
||||
jenkins_plugins:
|
||||
- credentials
|
||||
- git-client
|
||||
|
|
Reference in a new issue