/
Jenkins Plugin
Jenkins Plugin
Download feature files before test run
Filter features to download based on mode (automated/manual/both), or/and JQL
Upload cucumber/karate json after the run to AssertThat - BDD & Cucumber for Jira plugin
Create credentials
Usage in Job
Download feature files:
Upload reports:
Usage in pipeline Job
pipeline {
agent any
stages {
stage('Features') {
steps {
//Download feature files
assertthatBddFeatures credentialsId: '10005',
jiraServerUrl: 'https://assertthat-jira.com',
jql: "project = DEMO AND key in ('DEMO-2')",
mode: 'both',
tags: '(@smoke or @ui) and (not @slow)',
outputFolder: 'features',
projectId: '10005',
proxyPassword: '',
proxyURI: '',
proxyUsername: ''
}
}
stage('Run tests') {
steps {
//Run tests here
}
}
}
post{
always{
//Upload test results
assertthatBddReport(credentialsId: '10005', jiraServerUrl: '', jsonReportFolder: 'report', jsonReportIncludePattern: '**/*.json', projectId: '10005', runName: 'Smoke test run', type: 'karate')
}
}
, multiple selections available,
Related content
REST API for Jira Cloud V1
REST API for Jira Cloud V1
Read with this
Features / Scenarios Count gadget
Features / Scenarios Count gadget
Read with this
SpecFlow integration
SpecFlow integration
Read with this
Automated Runs Statistics for Project gadget
Automated Runs Statistics for Project gadget
Read with this
View automated test runs summary and test details
View automated test runs summary and test details
Read with this