Code Pipeline CLI (IspwCLI.bat)
The Code Pipeline CLI synchronizes source from Git to Code Pipeline. The following are the available parameters:
| Parameter | Description | 
|---|---|
| -assignmentPrefix | The prefix used to create the Code Pipeline assignment. | 
| -gitBranch <arg> | The target Git branch name | 
| -gitCommit <arg> | The Git commit hash (long or short) or a colon-delimited list of file paths in the workspace | 
| -gitFromHash <arg> | A Git hash to start syncing a list of commits which is not included in the sync, or -1 for multibranch project support | 
| -gitLocalPath <arg> | The location of the local Git repository | 
| -gitPassword <arg> | Git password | 
| -gitRepoUrl <arg> | Git Repository URL | 
| -gitUsername <arg> | Git user name | 
| -ispwCheckoutLevel <arg> | The test level to check components out to | 
| -ispwContainerCreation <arg> | The option to indicate how often to create a new Code Pipeline container | 
| -ispwContainerDescription <arg> | The custom description to be used for the Code Pipeline container | 
| -ispwServerApp <arg> | The Code Pipeline application | 
| -ispwServerConfig <arg> | The Code Pipeline server config | 
| -ispwServerStream <arg> | The Code Pipeline stream name | 
| -operation <arg> | The Code Pipeline operation to perform | 
| -targetFolder <arg> | The target folder where the output of the operation will be saved | 
For an example of using the CLI (the plugin to be precise), refer to the Git to Code Pipeline Integration - A Tutorial.
Code Pipeline property settings
The following are the property settings required by the CLI parameters:
| Property | Sync Git to Code Pipeline | Load operation | 
|---|---|---|
| stream | CLI parameter | ispwconfig.yml | 
| application | CLI parameter | ispwconfig.yml | 
| subAppl | CLI parameter | ispwconfig.yml | 
| assignmentPrefix | CLI parameter | ispwconfig.yml | 
| host | CLI parameter | ispwconfig.yml | 
| port | CLI parameter | ispwconfig.yml | 
| hostCodePage | CLI parameter | VSCode Settings (If it exists as a CLI parameter then it is overwritten by default) | 
| readWriteTimeout | CLI parameter | VSCode Settings (If it exists as a CLI parameter then it is overwritten by default) | 
| encryptionProtocol | CLI parameter | VSCode Settings (If it exists as a CLI parameter then it is overwritten by default) | 
| runtimeConfig | CLI parameter | ispwconfig.yml | 
Examples of CLI using certificate authentication
The following are few sample certificates used by IspwCLI.bat:
With ID and Password
With keystore
With certificate base-64 string
