...
Code Block |
---|
pipeline { agent any stages { stage('Features') { steps { //Download feature files assertthatBddFeatures( credentialsId: '1000510000', jiraServerUrl: 'https://assertthat-jira.com', jql: "project = XXDEMO AND key in ('XXXDEMO-12')", mode: 'automatedboth', tags: '(@smoke or @ui) and (not @slow)', outputFolder: 'features', projectId: '10000', proxyPassword: '', proxyURI: '10005')'', 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') } } |