The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
snActivatePlugin
: SN: Activate pluginsnApplyChanges
: SN: Apply changessnBatchInstall
: SN: Batch installsnBatchRollback
: SN: Batch rollbacksnInstallApp
: SN: Install applicationsnInstanceScan
: SN: Instance scansnPublishApp
: SN: Publish applicationsnRollbackApp
: SN: Roll back applicationsnRollbackPlugin
: SN: Roll back pluginsnRunTestSuite
: SN: Run test suite with resultssnActivatePlugin
: SN: Activate plugincredentialsId : String
(optional)
apiVersion : String
(optional)
pluginId : String
(optional)
url : String
(optional)
snApplyChanges
: SN: Apply changescredentialsId : String
(optional)
apiVersion : String
(optional)
appScope : String
(optional)
application system ID
is not specified. The scope name of the application for which to apply the changes, such as x_aah_custom_app. You can locate this value in the scope field in the Custom Application [sys_app] table.
appSysId : String
(optional)
application scope
is not specified. The system id of the application for which to apply the changes. You can locate this value in the Sys ID field in the Custom Application [sys_app] table.
branchName : String
(optional)
url : String
(optional)
snBatchInstall
: SN: Batch installcredentialsId : String
(optional)
apiVersion : String
(optional)
batchName : String
(optional)
file : String
(optional)
The field is required if Use file is checked. If the field is not changed default value will be used: now_batch_manifest.json
.
notes : String
(optional)
Default: null
packages : String
(optional)
[{
"id": "String",
"load_demo_data": Boolean,
"notes": "String",
"requested_customized_version": "String",
"requested_version": "String",
"type": "String"
}]
id | Required. Sys_id of the application or identifier of the plugin to install. |
---|---|
load_demo_data | Flag that indicates whether demo data is loaded when installing the package.
Valid values: true : Demo data should be loaded.
false : Demo data should not be loaded.
Default: false |
notes | User specified notes about the package.
Default: null |
requested_customized_version | Only applicable when packages.type is set to application. Version of the store application customization package to install, such as 1.0.2 or 2.3. |
requested_customized_version | Only applicable when packages.type is set to application. Version of the store application customization package to install, such as 1.0.2 or 2.3.
Default: None. If this is not set, then the system does not look for customizations for the application. |
requested_version | Required if type is set to application; ignored if set to plugin. Version of the package to install, such as 1.0.2 or 2.3. |
type | Required. Type of package.
Valid values:
|
url : String
(optional)
useFile : boolean
(optional)
Default: false
snBatchRollback
: SN: Batch rollbackcredentialsId : String
(optional)
apiVersion : String
(optional)
rollbackId : String
(optional)
sys_id
) of the rollback installed before.
url : String
(optional)
If ServiceNow Parameters are used, then the URL of installation instance will be used.
snInstallApp
: SN: Install applicationcredentialsId : String
(optional)
apiVersion : String
(optional)
appScope : String
(optional)
application system ID
is not specified. The scope name of the application for which to apply the changes, such as x_aah_custom_app. You can locate this value in the scope field in the Custom Application [sys_app] table.
appSysId : String
(optional)
application scope
is not specified. The system id of the application for which to apply the changes. You can locate this value in the Sys ID field in the Custom Application [sys_app] table.
appVersion : String
(optional)
baseAppAutoUpgrade : boolean
(optional)
Valid values:
Data type: Boolean
Default: false
baseAppVersion : String
(optional)
Data type: String
Default: If the version field in the associated Custom Application [sys_app] or Store Application [sys_store_app] table is set, then that value is used. If the version field is not set.
url : String
(optional)
snInstanceScan
: SN: Instance scancredentialsId : String
(optional)
apiVersion : String
(optional)
comboSysId : String
(optional)
requestBody : String
(optional)
scanType : String
(optional)
suiteSysId : String
(optional)
targetRecordSysId : String
(optional)
targetTable : String
(optional)
url : String
(optional)
snPublishApp
: SN: Publish applicationcredentialsId : String
(optional)
apiVersion : String
(optional)
appScope : String
(optional)
application system ID
is not specified. The scope name of the application for which to apply the changes, such as x_aah_custom_app. You can locate this value in the scope field in the Custom Application [sys_app] table.
appSysId : String
(optional)
application scope
is not specified. The system id of the application for which to apply the changes. You can locate this value in the Sys ID field in the Custom Application [sys_app] table.
appVersion : String
(optional)
devNotes : String
(optional)
incrementBy : int
(optional)
isAppCustomization : boolean
(optional)
obtainVersionAutomatically : boolean
(optional)
url : String
(optional)
snRollbackApp
: SN: Roll back applicationcredentialsId : String
(optional)
apiVersion : String
(optional)
appScope : String
(optional)
application system ID
is not specified. The scope name of the application for which to apply the changes, such as x_aah_custom_app. You can locate this value in the scope field in the Custom Application [sys_app] table.
appSysId : String
(optional)
application scope
is not specified. The system id of the application for which to apply the changes. You can locate this value in the Sys ID field in the Custom Application [sys_app] table.
rollbackAppVersion : String
(optional)
url : String
(optional)
snRollbackPlugin
: SN: Roll back plugincredentialsId : String
(optional)
apiVersion : String
(optional)
pluginId : String
(optional)
url : String
(optional)
snRunTestSuite
: SN: Run test suite with resultscredentialsId : String
(optional)
apiVersion : String
(optional)
browserName : String
(optional)
Valid values:
browserVersion : String
(optional)
osName : String
(optional)
osVersion : String
(optional)
responseBodyFormat : String
(optional)
testSuiteName : String
(optional)
testSuiteSysId : String
(optional)
sys_id
of the test suite to run. This value is located in the Test [sys_atf_test_suite] table.
url : String
(optional)
withResults : boolean
(optional)
Please submit your feedback about this page through this quick form.
Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?
See existing feedback here.