File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -104,8 +104,9 @@ Install_Jenkins_Plugins () {
104
104
----- INSTALL JENKINS PLUGINS
105
105
# python $MYHOME/python_dir/version.py "$PASS"
106
106
curl -o jenkins-cli.jar http://127.0.0.1:8080/jnlpJars/jenkins-cli.jar
107
- curl -H " $CRUMB " --data-urlencode -d script=" $( < $MYHOME /groovy_dir/all_jobs.gsh) " http://127.0.0.1:8080/scriptText
107
+ # curl -H "$CRUMB" --data-urlencode -d script="$(<$MYHOME/groovy_dir/all_jobs.gsh)" http://127.0.0.1:8080/scriptText
108
108
sudo xargs java -jar ./jenkins-cli.jar -auth " admin:$PASS " -s http://127.0.0.1:8080 install-plugin < $MYHOME /jenkins_dir/plugins.list
109
+ sudo java -jar ./jenkins-cli.jar -auth " admin:$PASS " -s http://127.0.0.1:8080 build seed
109
110
}
110
111
111
112
Install_Initial_Jenkins_Jobs () {
You can’t perform that action at this time.
0 commit comments