1
0
Fork 0

Add a conclusion/todo-list

+ more generic on the gitea username
+ several corrections
This commit is contained in:
Chl 2020-01-18 23:48:17 +01:00
parent 12d4943e45
commit 8e132c1633
9 changed files with 62 additions and 17 deletions

View file

@ -26,3 +26,9 @@
- name: Reload the job
shell: "{{ jenkins_cli_command }} reload-job {{ job.key | quote }}"
when: jobconfig.changed
- name : Add info for the manual todo list at the end
set_fact:
jenkins_post_install: |-
{{ jenkins_post_install|default([]) + [ "- in project '" + job.key + "', add webhook '" + nginx_vhost_ssl|ternary('https', 'http') + '://' + giteaUsername + ':' + giteaPassword + '@' + nginx_vhost_main_hostname + '/git/notifyCommit?url=' + job.value.repository_url ] }}
when: job.value.repository_url is defined