A quality gate for your configuration data.
SWEAGLE is a SaaS or On-Premise platform for managing, consolidating & continuously validating all kinds of configuration data which is crucial to your CI/CD pipeline. This plugin allows for uploading config data into SWEAGLE so it can be versioned, validated, and made consumable in many different formats. More info about SWEAGLE can be found at https://www.sweagle.com/.
For more information about the SWEAGLE API, register for an account at https://support.sweagle.expert.
The SWEAGLE plugin for Jenkins supports Jenkins Pipeline. See an example pipeline script here:https://wiki.jenkins.io/display/JENKINS/SWEAGLE+pipeline+example
The plugin supports 4 types of Jenkins build steps for stages of a config data lifecycle.
Upload --> Validate --> Snapshot --> Export
Global Config
SWEAGLE API Key | API key from API type user with appropriate permissions required for automating SWEAGLE tasks |
SWEAGLE Tenant URL | SaaS or On-Premise URL of your SWEAGLE instance |
All actions have an Action Name parameter and a Show API responses parameter that provide more context for the action in the Jenkins console log.
Action Name | Give each action a descriptive name to precede the job's output in the console. |
Show API Responses in Console Log | If checked, SWEAGLE REST API responses will be displayed in the job console. |
Upload Build Step
File Location | Location of the file in the workspace to be uploaded. |
Node Path | Enter the path where the data should be uploaded to. seperate the nodenames in the path with a comma. In case the nodes do not yet exist, they will be created automatically. |
File format | json | yaml | xml | txt | properties | ini Any of the supported formats |
Validate Build Step
MDS Name | The exact name of the incoming metadata set which should be validated. |
Fail build on validate errors | A threshold used to determine if the build should be failed based on the number of validation errors or warnings. Use -1 to ignore either threshold. |
Snapshot Build Step
MDS Name | Exact name of pending metadata set for which the snapshot should be taken |
Description | Description of the snapshot |
Tag | A single string as TAG for that snapshot - cannot contain spaces but can utilize Jenkins variable4s ex "release1.2.${BUILD_ID}" |
Fail Build on Snapshot | If the snapshot should fail for any reason, fail the build. |
Get Config Build Step
MDS Name | The stored Metadata set to use for retrieving the config data. |
File Location | The location and filename in the Jenkins workspace to save the retrieved config data. |
Exporter | The SWEAGLE exporter to use when retrieving the config data. |
Attachments:
export.png (image/png)
globalConfigure.png (image/png)
snapshot.png (image/png)
upload.png (image/png)
validate.png (image/png)
globalConfigure.png (image/png)
image2019-7-16_10-51-15.png (image/png)
image2019-7-16_12-52-54.png (image/png)
image2019-7-16_13-32-56.png (image/png)
image2019-7-16_13-35-1.png (image/png)
image2019-7-16_15-51-57.png (image/png)