--- title: Jenkins pipeline actions description: Use these actions in your Jenkins pipeline to interact with the DevOps Config data model. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-service-management/devops-family/devops-config-jenkins-integration.html release: australia product: DevOps \(Family\) classification: devops-family topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 14 breadcrumb: [Integrating your pipeline in DevOps Config, DevOps Config, IT Service Management] --- # Jenkins pipeline actions Use these actions in your Jenkins pipeline to interact with the DevOps Config data model. **Important:** Starting with the Washington D.C. release, DevOps Config is being prepared for future deprecation. It will be hidden and no longer activated on new instances but will continue to be supported. Jenkins scripted and declarative piplines are supported. These actions are provided to create a specific pipeline definition to achieve your goal. Add a command to your Jenkins file to perform these actions. - snDevOpsConfig Combined action to upload, validate, and publish config data. - snDevOpsConfigUpload Upload config data to DevOps Config via Agent Job. - snDevOpsConfigGetSnapshots Retrieve snapshots for a specific deployable, or all impacted deployables. - snDevOpsConfigPublish Publish a snapshot for the given application and deployable. - snDevOpsConfigExport Export a snapshot for a given application and deployable. - snDevOpsConfigRegisterPipeline Tie a changeset and/or snapshot to a pipeline execution. - snDevOpsConfigValidate Validate config data against your organization policies. - snDevOpsChange Create a change request with associated snapshot attached. ## snDevOpsConfig Upload, validate, and publish config data changes in one step. This action combines snDevOpsConfigUpload, snDevOpsConfigGetSnapshots, and snDevOpsConfigRegisterPipeline actions into one action, rather than having to execute each action separately. - **Input variables**
| configFile | Specifies the configuration data file to upload to the component or deployable path in the data model. |
| applicationName | Specifies the application to where config data will be uploaded. |
| target | Specifies the data model target to where config data will be uploaded \(for example, `component`, `collection`, `deployable`\). |
| collectionName | \(Optional\) Name of the collection to upload to \(required if target is collection\). |
| deployableName | \(Optional\) Name of the deployable to upload to \(required if target is deployable\). |
| namePath | Specifies the name path in the data model to where config data will be uploaded. **Note:** When uploading to a vars folder, you must start the name path with "vars/" to specifiy the variable folder path. |
| dataFormat | Specifies the data format of the config file \(for example, `JSON`, `YAML`, `XML`, etc.\) |
| autoCommit | Specifies whether to commit configuration data after upload \(true/false\). Default is true. |
| autoValidate | Specifies whether to validate configuration data during commit \(true/false\). Default is true. |
| autoPublish | Specifies whether to publish the configuration data after validation \(true/false\). Default is true. |
| changesetNumber | \(Optional\) Specifies the \(open\) changeset to which this upload activity is associated. If not provided, a new changeset is created. **Note:** Only used for multiple upload scenarios. |
| markFailed | \(Optional\) Fail the pipeline in the event that the validation attempt failed \(due to a backend issue\). |
| showResults | \(Optional\) Show validation results in the Jenkins job console log. |
| continueWithLatest | \(Optional\) Specifies whether to return the latest snapshot per the `applicatioName`-`deployableName`-`changesetNumber` combination if no snapshots are generated \(true/false\). Default is false. |
| configFile | Specifies the configuration data file to upload to the component or deployable path in the data model. |
| applicationName | Specifies the application to where config data will be uploaded. |
| target | Specifies the data model target to where config data will be uploaded \(for example, `component`, `collection`, `deployable`\). |
| collectionName | \(Optional\) Name of the collection to upload to \(required if target is collection\). |
| deployableName | Name of the deployable to upload to \(required if target is deployable\). |
| namePath | Specifies the name path in the data model to where config data will be uploaded. **Note:** When uploading to a vars folder, you must start the name path with "vars/" to specifiy the variable folder path. |
| dataFormat | Specifies the data format of the config file \(for example, `JSON`, `YAML`, `XML`, etc.\) |
| convertPath | \(Optional\) Specifies whether to preserve the directory structure of configuration files \(with respect to the workspace\) and convert the directory to paths within the data model. |
| changesetNumber | \(Optional\) Specifies the \(open\) changeset to which this upload activity is associated. If not provided, a new changeset is created. **Note:** Only used for multiple upload scenarios. |
| autoCommit | Specifies whether to commit configuration data after upload \(true/false\). Default is false. |
| autoValidate | Specifies whether to validate configuration data during commit \(true/false\). Default is false. |
| changesetNumber | \(Optional\) Specifies the \(open\) changeset to which this upload activity is associated. If a changeset number is not provided, a new changeset is created. |
| applicationName | Specifies the application to upload config data to or export data from. |
| deployableName | \(Optional\) Specifies the deployable for the application on which to get the latest snapshot data. |
| changesetNumber | \(Optional\) Specifies the changeset ID for the set of config changes the user is interested in. |
| isValidated | \(Optional\) Specifies whether to return only snapshots that are passed, or passed with exception \(true/false\). Default is true. |
| continueWithLatest | \(Optional\) Specifies whether to return the latest snapshot per the `applicatioName`-`deployableName`-`changesetNumber` combination if no snapshots are generated \(true/false\). Default is false. |
| applicationName | Specifies the application from which to publish config data. |
| deployableName | Specifies the deployable for the application from which to publish config data. |
| snapshotName | Specifies the name of the snapshot to publish. |
| applicationName | Specifies the application from which to export data. |
| deployableName | Specifies the config deployable for the application from which to export data. |
| snapshotName | \(Optional\) Specifies snapshot from which to export data. If a snapshot is not specified, the latest snapshot for the deployable is used. |
| exporterName | Specifies the exporter to apply to the snapshot \(for example, `UniqueCDIs`\). |
| exporterArgs | \(Optional\) Specifies arguments to be used along with the exporter. |
| exportFormat | Specifies the format to export the snapshot data \(For example, `INI`, `YAML`, `PROPS`\). |
| fileName | Specifies the file to export data to \(assumed to be in the workspace\). If a filename is not specified, a concatenation of application name and deployable name \(plus file extension\) is used by default. |
| applicationName | Specifies the name of the application. |
| changesetNumber | \(Optional\) Specifies the changeset to associate with the pipeline execution. **Note:** Specify either changesetNumber or snapshotName, but not both. |
| snapshotName | \(Optional\) Specifies the name of the snapshot to associate to the pipeline execution. **Note:** Specify either changesetNumber or snapshotName, but not both. |
| applicationName | Application to validate. |
| deployableName | Deployable for the application to validate. |
| snapshotName | \(Optional\) Name of the snapshot to validate. |
| markFailed | \(Optional\) Fail the pipeline in the event that the validation attempt failed \(due to a backend issue\). |
| showResults | \(Optional\) Show validation results in the Jenkins job console log. |
| applicationName | Specifies the name of the application. |
| snapshotName | Specifies the name of the snapshot to associate with the change request. |