Skip to content

Commit

Permalink
fixes widdix#82
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Jul 17, 2017
1 parent 1cc09a4 commit bb877b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jenkins/jenkins2-ha-agents.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ Resources:
command: 'until $(curl -s -m 60 -o /dev/null -I -f -u "admin:$(cat /var/lib/jenkins/secrets/initialAdminPassword)" http://localhost:8080/cli/); do printf "."; sleep 1; done'
test: '[ ! -f /var/lib/jenkins/setup_done.txt ]'
'f_install_plugins':
command: 'while read -r plugin; do java -jar /var/cache/jenkins/war/WEB-INF/jenkins-cli.jar -s "http://localhost:8080/" -auth "admin:$(cat /var/lib/jenkins/secrets/initialAdminPassword)" install-plugin "$plugin"; done < /root/plugins.txt'
command: 'java -jar /var/cache/jenkins/war/WEB-INF/jenkins-cli.jar -s "http://localhost:8080/" -auth "admin:$(cat /var/lib/jenkins/secrets/initialAdminPassword)" install-plugin $(cat /root/plugins.txt | tr '\n' ' ')'
test: '[ ! -f /var/lib/jenkins/setup_done.txt ]'
'g_restart_jenkins':
command: 'service jenkins restart'
Expand Down
2 changes: 1 addition & 1 deletion jenkins/jenkins2-ha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ Resources:
command: 'until $(curl -s -m 60 -o /dev/null -I -f -u "admin:$(cat /var/lib/jenkins/secrets/initialAdminPassword)" http://localhost:8080/cli/); do printf "."; sleep 1; done'
test: '[ ! -f /var/lib/jenkins/setup_done.txt ]'
'f_install_plugins':
command: 'while read -r plugin; do java -jar /var/cache/jenkins/war/WEB-INF/jenkins-cli.jar -s "http://localhost:8080/" -auth "admin:$(cat /var/lib/jenkins/secrets/initialAdminPassword)" install-plugin "$plugin"; done < /root/plugins.txt'
command: 'java -jar /var/cache/jenkins/war/WEB-INF/jenkins-cli.jar -s "http://localhost:8080/" -auth "admin:$(cat /var/lib/jenkins/secrets/initialAdminPassword)" install-plugin $(cat /root/plugins.txt | tr '\n' ' ')'
test: '[ ! -f /var/lib/jenkins/setup_done.txt ]'
'g_restart_jenkins':
command: 'service jenkins restart'
Expand Down

0 comments on commit bb877b0

Please sign in to comment.