Add a conclusion/todo-list
+ more generic on the gitea username + several corrections
This commit is contained in:
parent
12d4943e45
commit
8e132c1633
9 changed files with 62 additions and 17 deletions
|
@ -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
|
||||
|
|
Reference in a new issue