make sure the dir exists before we continue
This commit is contained in:
parent
e916fad549
commit
9a32c715c9
1 changed files with 5 additions and 0 deletions
|
@ -115,6 +115,11 @@
|
||||||
- name: start jenkins itself
|
- name: start jenkins itself
|
||||||
action: service name=jenkins state=running
|
action: service name=jenkins state=running
|
||||||
|
|
||||||
|
- name: wait for a dir to exist - this is just ugly
|
||||||
|
shell: while `true`; do [ -d /var/lib/jenkins/plugins/openid/WEB-INF/lib/ ] && break; sleep 5; done
|
||||||
|
async: 1800
|
||||||
|
poll: 20
|
||||||
|
|
||||||
- name: jenkins hotfix big file
|
- name: jenkins hotfix big file
|
||||||
copy: src=$item dest=/var/lib/jenkins/plugins/openid/WEB-INF/lib/ group=jenkins mode=655
|
copy: src=$item dest=/var/lib/jenkins/plugins/openid/WEB-INF/lib/ group=jenkins mode=655
|
||||||
with_fileglob: $bigfiles/hotfixes/jenkins/openid/*.jar
|
with_fileglob: $bigfiles/hotfixes/jenkins/openid/*.jar
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue