@@ -15,6 +15,7 @@ From `Home>Overview` on the Merlin dashboard, launch the `IBM i CI/CD` applicati
15
15
<!-- panels:end -->
16
16
17
17
---
18
+ ### Define ARCAD Build
18
19
19
20
<!-- panels:start -->
20
21
@@ -66,7 +67,7 @@ Uncheck `Upload source code`. Check `Select build server (template)` and choose
66
67
67
68
<!-- div:right-panel -->
68
69
69
- ![ ] ( 06/cicd_e .png )
70
+ ![ ] ( 06/cicd_g .png )
70
71
71
72
<!-- panels:end -->
72
73
@@ -86,20 +87,6 @@ Click `Add Build Actions>Run an ARCAD-Builder build`
86
87
<!-- panels:end -->
87
88
88
89
89
- ---
90
-
91
- <!-- panels:start -->
92
-
93
- <!-- div:left-panel -->
94
-
95
- Uncheck ` Upload source code ` . Check ` Select build server (template) ` and choose the existing template
96
-
97
- <!-- div:right-panel -->
98
-
99
- ![ ] ( 06/cicd_g.png )
100
-
101
- <!-- panels:end -->
102
-
103
90
---
104
91
105
92
<!-- panels:start -->
@@ -157,6 +144,7 @@ Click `Yes` to save the task
157
144
<!-- panels:end -->
158
145
159
146
---
147
+ ### Run ARCAD Build
160
148
161
149
<!-- panels:start -->
162
150
@@ -228,3 +216,181 @@ The Build results show the final status. Additional details are provided by che
228
216
229
217
<!-- panels:end -->
230
218
219
+ ---
220
+
221
+ ### Define CL Command
222
+
223
+ <!-- panels:start -->
224
+
225
+ <!-- div:left-panel -->
226
+
227
+ From ` Task Management>Create New Task ` tab, enter a job name, e.g. ` User1_job2 ` . Click ` Next ` :
228
+
229
+ <!-- div:right-panel -->
230
+
231
+ ![ ] ( 06/cicd_b.png )
232
+
233
+ <!-- panels:end -->
234
+
235
+ ---
236
+
237
+ <!-- panels:start -->
238
+
239
+ <!-- div:left-panel -->
240
+
241
+ Click ` Next ` (no git repository needs to be specified)
242
+
243
+ <!-- div:right-panel -->
244
+
245
+ ![ ] ( 06/cicd_c.png )
246
+
247
+ <!-- panels:end -->
248
+
249
+ ---
250
+
251
+ <!-- panels:start -->
252
+
253
+ <!-- div:left-panel -->
254
+
255
+ Click ` Add Build Actions>Add Build Server `
256
+
257
+ <!-- div:right-panel -->
258
+
259
+ ![ ] ( 06/cicd_d.png )
260
+
261
+ <!-- panels:end -->
262
+
263
+ ---
264
+
265
+ <!-- panels:start -->
266
+
267
+ <!-- div:left-panel -->
268
+
269
+ Check ` Select build server (template) ` and choose the existing build server.
270
+ * Note: to select from multiple IBM i servers, add Inventory and Templates in Merlin under Connections,
271
+
272
+ Optionally, specify ` Work directory ` of ` /home/USERxx/cicd ` where ` USERxx ` is your userid on the IBM i.
273
+
274
+
275
+ <!-- div:right-panel -->
276
+
277
+ ![ ] ( 06/cicd_r.png )
278
+
279
+ <!-- panels:end -->
280
+
281
+
282
+ ---
283
+
284
+ <!-- panels:start -->
285
+
286
+ <!-- div:left-panel -->
287
+
288
+ Click ` Add Build Actions>Run CL Command `
289
+
290
+ <!-- div:right-panel -->
291
+
292
+ ![ ] ( 06/cicd_f.png )
293
+
294
+ <!-- panels:end -->
295
+
296
+ ---
297
+
298
+ <!-- panels:start -->
299
+
300
+ <!-- div:left-panel -->
301
+
302
+ Configure the CL command.
303
+
304
+ For ` Specify remote IBM i server ` , select the build server.
305
+
306
+ For ` CL command ` , specify commands to create a save file and save the ARCAD build library into it:
307
+
308
+ ```
309
+ CRTSAVF FILE(QGPL/USER16SAVF) TEXT('user 16 savf')
310
+ SAVLIB LIB(SCODSB0026) DEV(*SAVF) SAVF(QGPL/USER16SAVF)
311
+ ```
312
+
313
+ Then click ` Next ` .
314
+
315
+ <!-- div:right-panel -->
316
+
317
+ ![ ] ( 06/cicd_t.png )
318
+
319
+ <!-- panels:end -->
320
+
321
+ ---
322
+
323
+ <!-- panels:start -->
324
+
325
+ <!-- div:left-panel -->
326
+
327
+ No Deploy actions are required. Click ` Next `
328
+
329
+ <!-- div:right-panel -->
330
+
331
+ ![ ] ( 06/cicd_i.png )
332
+
333
+ <!-- panels:end -->
334
+
335
+ ---
336
+
337
+ <!-- panels:start -->
338
+
339
+ <!-- div:left-panel -->
340
+
341
+ Review the summary and click ` Finish `
342
+
343
+ <!-- div:right-panel -->
344
+
345
+ ![ ] ( 06/cicd_u.png )
346
+
347
+ <!-- panels:end -->
348
+
349
+ ---
350
+
351
+ <!-- panels:start -->
352
+
353
+ <!-- div:left-panel -->
354
+
355
+ Click ` Yes ` to save the task
356
+
357
+ <!-- div:right-panel -->
358
+
359
+ ![ ] ( 06/cicd_k.png )
360
+
361
+ <!-- panels:end -->
362
+
363
+ ---
364
+ ### Run CL Command
365
+
366
+ <!-- panels:start -->
367
+
368
+ <!-- div:left-panel -->
369
+
370
+ Under ` Task Management>Task Dashboard ` , select ` Run Task ` from the popup menu on the new task
371
+
372
+ Click ` Next ` on eash panel and update any values if desired.
373
+
374
+ Click ` Finish ` after reviewing the summary.
375
+
376
+ Click ` Yes ` to submit the job.
377
+
378
+ <!-- div:right-panel -->
379
+
380
+ ![ ] ( 06/cicd_o.png )
381
+
382
+ <!-- panels:end -->
383
+
384
+ ---
385
+
386
+ <!-- panels:start -->
387
+
388
+ <!-- div:left-panel -->
389
+
390
+ The Build results show the final status. Additional details are provided by checking the Jenkins information under ` Jenkins Configuration > Manage Jenkins Jobs `
391
+
392
+ <!-- div:right-panel -->
393
+
394
+ ![ ] ( 06/cicd_v.png )
395
+
396
+ <!-- panels:end -->
0 commit comments