You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+92-52Lines changed: 92 additions & 52 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,35 +6,35 @@ Jenkins plugin providing IBM i pipeline steps such as command execution, Db2 que
6
6
IFS transfers.
7
7
8
8
----
9
-
10
9
-[Configuration](#configuration)
11
10
-[Steps](#steps)
12
-
-[onIBMi](#onibmi)
13
-
-[ibmiCommand](#ibmicommand)
14
-
-[ibmiRunSQL](#ibmirunsql)
15
-
-[ibmiGetSAVF](#ibmigetsavf)
16
-
-[ibmiPutSAVF](#ibmiputsavf)
17
-
-[ibmiGetIFS](#ibmigetifs)
18
-
-[ibmiPutIFS](#ibmiputifs)
19
-
-[ibmiGetSPLF](#ibmigetsplf)
20
-
-[ibmiWaitJob](#ibmiwaitjob)
11
+
-[onIBMi](#onibmi)
12
+
-[ibmiCommand](#ibmicommand)
13
+
-[ibmiShellExec](#ibmishellexec)
14
+
-[ibmiRunSQL](#ibmirunsql)
15
+
-[ibmiGetSAVF](#ibmigetsavf)
16
+
-[ibmiPutSAVF](#ibmiputsavf)
17
+
-[ibmiGetIFS](#ibmigetifs)
18
+
-[ibmiPutIFS](#ibmiputifs)
19
+
-[ibmiGetSPLF](#ibmigetsplf)
20
+
-[ibmiWaitJob](#ibmiwaitjob)
21
21
-[Enumerations](#enumerations)
22
-
-[OnMSGW](#onmsgw)
22
+
-[OnMSGW](#onmsgw)
23
23
-[Returned objects](#returned-objects)
24
-
-[CallResult](#callresult)
25
-
-[IBMiMessage](#ibmimessage)
26
-
-[IBMiJob](#ibmijob)
27
-
-[SQLResult](#sqlresult)
28
-
-[SQLColumn](#sqlcolumn)
29
-
-[SQLRow](#sqlrow)
30
-
-[SaveFileContent](#savefilecontent)
31
-
-[SAVFEntry](#savfentry)
32
-
-[SpooledFiles](#spooledfiles)
33
-
-[SpooledFile](#spooledfile)
24
+
-[CallResult](#callresult)
25
+
-[IBMiMessage](#ibmimessage)
26
+
-[IBMiJob](#ibmijob)
27
+
-[SQLResult](#sqlresult)
28
+
-[SQLColumn](#sqlcolumn)
29
+
-[SQLRow](#sqlrow)
30
+
-[SaveFileContent](#savefilecontent)
31
+
-[SAVFEntry](#savfentry)
32
+
-[SpooledFiles](#spooledfiles)
33
+
-[SpooledFile](#spooledfile)
34
34
-[Examples](#examples)
35
-
-[Save a library, download the Save File and archive its content description](#save-a-library-download-the-save-file-and-archive-its-content-description)
36
-
-[Transfer a libray from one LPAR to another](#transfer-a-libray-from-one-lpar-to-another)
37
-
-[Submit a job and download the spooled files it generated](#submit-a-job-and-download-the-spooled-files-it-generated)
35
+
-[Save a library, download the Save File and archive its content description](#save-a-library-download-the-save-file-and-archive-its-content-description)
36
+
-[Transfer a libray from one LPAR to another](#transfer-a-libray-from-one-lpar-to-another)
37
+
-[Submit a job and download the spooled files it generated](#submit-a-job-and-download-the-spooled-files-it-generated)
38
38
39
39
## Configuration
40
40
@@ -61,13 +61,13 @@ related resources are freed and the `IBMI_` environment variables are removed.
61
61
62
62
This steps loads the following environment variables during its execution. These variables are accessible through the
| getMessages() |[`List`](https://docs.oracle.com/javase/8/docs/api/java/util/List.html)<[IBMiMessage](#ibmimessage)> | Returns the list of [IBMiMessage](#ibmimessage) generated during the command execution. |
354
-
| getMessage(`String` messageId) |[IBMiMessage](#ibmimessage)| Look for the first [IBMiMessage](#ibmimessage) whose ID is `messageId` and returns it. Returns `null` if not found. |
355
-
| getLastMessage() |[IBMiMessage](#ibmimessage)| Returns the last [IBMiMessage](#ibmimessage) generated by the command or `null` if there is no message. |
356
-
| getPrettyMessages() |`String`| Returns a `String` resulting from the concatenation of every [IBMiMessage](#ibmimessage) returned by the command, one per line, formatted using this pattern: `[{id}][{severity}] {text}`. |
357
-
| isSuccessful() |`boolean`| Returns `true ` if the command execution was successful, `false` otherwise. |
358
-
| getSubmittedJobs() |[`List`](https://docs.oracle.com/javase/8/docs/api/java/util/List.html)<[IBMiJob](#ibmijob)> | Returns a list of [IBMiJob](#ibmijob) found by browsing the `CPC1221` messages from the call result. |
| getMessages() |[`List`](https://docs.oracle.com/javase/8/docs/api/java/util/List.html)<[IBMiMessage](#ibmimessage)> | Returns the list of [IBMiMessage](#ibmimessage) generated during the command execution. |
384
+
| getMessage(`String` messageId) |[IBMiMessage](#ibmimessage)| Look for the first [IBMiMessage](#ibmimessage) whose ID is `messageId` and returns it. Returns `null` if not found. |
385
+
| getLastMessage() |[IBMiMessage](#ibmimessage)| Returns the last [IBMiMessage](#ibmimessage) generated by the command or `null` if there is no message. |
386
+
| getPrettyMessages() |`String`| Returns a `String` resulting from the concatenation of every [IBMiMessage](#ibmimessage) returned by the command, one per line, formatted using this pattern: `[{id}][{severity}] {text}`. |
387
+
| isSuccessful() |`boolean`| Returns `true ` if the command execution was successful, `false` otherwise. |
388
+
| getSubmittedJobs() |[`List`](https://docs.oracle.com/javase/8/docs/api/java/util/List.html)<[IBMiJob](#ibmijob)> | Returns a list of [IBMiJob](#ibmijob) found by browsing the `CPC1221` messages from the call result. |
| getSubstitutionDataAsString() |`String`| The AS400 message substitution data converted using current connection's [CharConverter](https://javadoc.io/doc/net.sf.jt400/jt400/latest/com/ibm/as400/access/CharConverter.html). |
403
+
| getSubstitutionDataAsString() | `String` | The AS400 message substitution data converted using current
0 commit comments