Skip to main content

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 Deepcrawl Automate.

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('Deepcrawl Automate 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.