Jenkins Integration
Marketplace | Github Repository
Introduction
In order to integrate with Jenkins, you need to use our Jenkins plugin:
Deepcrawl Automate is a Jenkins plugin that runs a build on Lumar Protect.
How to use
The plugin can be used by executing it as follows in your Jenkinsfile:
pipeline {
agent any
environment {
DEEPCRAWL_AUTOMATION_HUB_USER_KEY_ID = ''
DEEPCRAWL_AUTOMATION_HUB_USER_KEY_SECRET = credentials('automation-hub-user-key-secret')
}
stages {
stage('Lumar Protect Build') {
steps {
runAutomationHubBuild testSuiteId: ''
}
}
}
}
Note: You need to create a secret text named 'automation-hub-user-key-secret' using the Credentials Plugin in Jenkins.
It can also be configured as a Build Step using the Jenkins GUI.
tip
For more informations, please see: https://github.com/deepcrawl/deepcrawl-test/blob/develop/packages/test-cli/README.md.