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.
snDevOpsArtifact
: ServiceNow DevOps - Register Artifact stepsnDevOpsChange
: ServiceNow DevOps - Change Control stepsnDevOpsConfigExport
: ServiceNow DevOps - DevOps Configuration ExportsnDevOpsConfigGetSnapshots
: ServiceNow DevOps - Get latest and validated snapshotssnDevOpsConfigPublish
: ServiceNow DevOps - DevOps Configuration PublishsnDevOpsConfigRegisterPipeline
: ServiceNow DevOps - DevOps Configuration Register PipelinesnDevOpsConfigUpload
: ServiceNow DevOps - DevOps Configuration UploadsnDevOpsConfigValidate
: ServiceNow DevOps - DevOps Configuration ValidatesnDevOpsGetChangeNumber
: ServiceNow DevOps - get Change Number stepsnDevOpsPackage
: ServiceNow DevOps - Register Package stepsnDevOpsStep
: ServiceNow DevOps - Mapping stepsnDevOpsUpdateChangeInfo
: ServiceNow DevOps - Update Change Request Infostep([$class: 'DevOpsCreateArtifactPackageBuildStep'])
: ServiceNow DevOps - Register Package stepstep([$class: 'DevOpsRegisterArtifactBuildStep'])
: ServiceNow DevOps - Register Artifact stepsnDevOpsArtifact
: ServiceNow DevOps - Register Artifact step Artifact registration
Configure artifact registration in a scripted pipeline or freestyle job using th DevOps API/artifact/registration endpoint. Multiple artifact versions are supported.
artifactsPayload : String
(optional)
enabled : boolean
(optional)
ignoreErrors : boolean
(optional)
snDevOpsChange
: ServiceNow DevOps - Change Control stepsnDevOpsChange
Enables change control for each root-level stage that is mapped to a DevOps step.
applicationName : String
(optional)
changeRequestDetails : String
(optional)
{ "attributes": { "short_description": "Test description", "priority": "1", "start_date": "2021-02-05 08:00:00", "end_date": "2022-04-05 08:00:00", "justification": "test justification", "description": "test description", "cab_required": <true/false>, "comments": "This update for work notes is from jenkins file", "work_notes": "test work notes", "assignment_group": "<SYS_ID>" }, "setCloseCode": <true/false> }
enabled : boolean
(optional)
ignoreErrors : boolean
(optional)
snapshotName : String
(optional)
snDevOpsConfigExport
: ServiceNow DevOps - DevOps Configuration ExportapplicationName : String
(optional)
deployableName : String
(optional)
exporterName : String
(optional)
exporterFormat : String
(optional)
fileName : String
(optional)
enabled : boolean
(optional)
exporterArgs : String
(optional)
ignoreErrors : boolean
(optional)
markFailed : boolean
(optional)
showResults : boolean
(optional)
snapshotName : String
(optional)
snDevOpsConfigGetSnapshots
: ServiceNow DevOps - Get latest and validated snapshotsdeployableName : String
changesetNumber : String
applicationName : String
(optional)
enabled : boolean
(optional)
ignoreErrors : boolean
(optional)
isValidated : boolean
(optional)
markFailed : boolean
(optional)
outputFormat : String
(optional)
showResults : boolean
(optional)
snDevOpsConfigPublish
: ServiceNow DevOps - DevOps Configuration PublishapplicationName : String
deployableName : String
snapshotName : String
enabled : boolean
(optional)
ignoreErrors : boolean
(optional)
markFailed : boolean
(optional)
showResults : boolean
(optional)
snDevOpsConfigRegisterPipeline
: ServiceNow DevOps - DevOps Configuration Register PipelineapplicationName : String
(optional)
changesetNumber : String
(optional)
enabled : boolean
(optional)
ignoreErrors : boolean
(optional)
markFailed : boolean
(optional)
showResults : boolean
(optional)
snapshotName : String
(optional)
snDevOpsConfigUpload
: ServiceNow DevOps - DevOps Configuration UploadapplicationName : String
target : String
(optional)
namePath : String
(optional)
configFile : String
(optional)
autoCommit : boolean
(optional)
autoValidate : boolean
(optional)
dataFormat : String
(optional)
appliactionName : String
(optional)
changesetNumber : String
(optional)
collectionName : String
(optional)
convertPath : boolean
(optional)
deployableName : String
(optional)
enabled : boolean
(optional)
ignoreErrors : boolean
(optional)
markFailed : boolean
(optional)
showResults : boolean
(optional)
snDevOpsConfigValidate
: ServiceNow DevOps - DevOps Configuration ValidateapplicationName : String
(optional)
deployableName : String
(optional)
enabled : boolean
(optional)
ignoreErrors : boolean
(optional)
markFailed : boolean
(optional)
showResults : boolean
(optional)
snapshotName : String
(optional)
snDevOpsGetChangeNumber
: ServiceNow DevOps - get Change Number stepsnDevOpsGetChangeNumber
Returns the DevOps change request number based on the inputs provided.
For more information, see click here
changeDetails : String
(optional)
{ "pipeline_name": "Test Pipeline", "build_number": "1", "stage_name": "ChangeStage", "branch_name": "master" }
snDevOpsPackage
: ServiceNow DevOps - Register Package stepArtifact package creation
Configure artifact package creation in a scripted pipeline or freestyle job using the DevOps API /package/registration endpoint.
name : String
(optional)
artifactsPayload : String
(optional)
snDevOpsStep
: ServiceNow DevOps - Mapping stepenabled : boolean
(optional)
ignoreErrors : boolean
(optional)
snDevOpsUpdateChangeInfo
: ServiceNow DevOps - Update Change Request InfosnDevOpsUpdateChangeInfo
Updates the details of the DevOps change request number provided. Returns true/false based on the status of Update (true if update is successful, else false).
For more information, see click here
changeRequestDetails : String
(optional)
{ "short_description": "Test description", "priority": "1", "start_date": "2021-02-05 08:00:00", "end_date": "2022-04-05 08:00:00", "justification": "test justification", "description": "test description", "cab_required": <true/false>, "comments": "This update for work notes is from jenkins file", "work_notes": "test work notes", "assignment_group": "<SYS_ID>", "state":"<STATE_CODE>", "close_code":"<successful/successful_issues/unsuccessful>", "reason":"<As per Choice List>" }
changeRequestNumber : String
(optional)
step([$class: 'DevOpsCreateArtifactPackageBuildStep'])
: ServiceNow DevOps - Register Package stepname : String
(optional)
artifactsPayload : String
(optional)
step([$class: 'DevOpsRegisterArtifactBuildStep'])
: ServiceNow DevOps - Register Artifact stepartifactsPayload : String
(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.