File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,10 @@ Install_Jenkins_Plugins () {
106
106
curl -o jenkins-cli.jar http://127.0.0.1:8080/jnlpJars/jenkins-cli.jar
107
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
+
111
+ Run_Build () {
112
+ sudo java -jar ./jenkins-cli.jar -auth " admin:$PASS " -s http://127.0.0.1:8080 build seed -p URL=" $1 "
110
113
}
111
114
112
115
Install_Initial_Jenkins_Jobs () {
@@ -189,6 +192,6 @@ Install_Jenkins_Plugins
189
192
----- RUN THE BUILD
190
193
# ###################################
191
194
192
- # Run_Build
195
+ # Run_Build git_url
193
196
194
197
You can’t perform that action at this time.
0 commit comments