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
|
deploy_url: demos.xlii.si:/var/www/test1234 # TODO: not implemented yet
|
||||||
bar:
|
bar:
|
||||||
repository_url: ssh://git@code.example.net:2020/bar
|
repository_url: ssh://git@code.example.net:2020/bar
|
||||||
|
branch_spec: '*/develop'
|
||||||
|
baz:
|
||||||
vars:
|
vars:
|
||||||
# If you want this playbook to only install Jenkins and let
|
# If you want this playbook to only install Jenkins and let
|
||||||
# him be managed by other means thereafter, you can change this
|
# 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_keyid: deploykey1
|
||||||
jenkins_credential_keydesc: Deploy key n.1
|
jenkins_credential_keydesc: Deploy key n.1
|
||||||
|
|
||||||
|
# Default branch for git clone/pull in the job configuration
|
||||||
|
branch_spec: "*/master"
|
||||||
|
|
||||||
jenkins_plugins:
|
jenkins_plugins:
|
||||||
- credentials
|
- credentials
|
||||||
- git-client
|
- git-client
|
||||||
|
|
Reference in a new issue