Description
This plugin allows :
- To launch a test campaign on Cerberus
- To wait Cerberus executes it
- To display a report on console. Fail if a test is ko, else sucess.
What is cerberus ?
Cerberus is an open source, user friendly, automated testing sofware. See website for more information
Get started
On Jenkins
- To add a campaign Cerberus execution on a job, add a new build step "Execute Cerberus Campaign", and set parameters :
On Jenkinsfile
- Just call
executeCerberusCampaign
function with parameters :campaignName
: Campaign name to executeplatform
: Platform to execute (define into Cerberus)environment
: Environment to execute (define into Cerberus)browser
: Browser executed by Cerberus to test application. Ifbrowser
is empty, use global settings of Cerberus plugin.browserVersion
: Browser version executed by Cerberus to test application. IfbrowserVersion
is empty, use global settings of Cerberus plugin.
pipeline {
...
stages {
...
stage('cerberus Test') {
steps {
executeCerberusCampaign campaignName : "Test_campaign" , platform : "", environment : "QA", browser : "firefox", browserVersion : "47"
}
}
...
}
}