Jenkins Pipeline project

  • Create a Jenkins Pipeline job

  • Select Pipeline script from SCM in the Pipeline section
  • Mention Jenkinsfile with the steps involved for pipeline project

  • Make sure the Jenkinsfile in the project repo
pipeline {

    agent any
    stages {
        stage('Build') {
            steps {
                sh 'pip install -r requirements.txt'
        stage('Test') {
            steps {
                echo 'Stage 2'
                sh 'behave -f allure_behave.formatter:AllureFormatter -o allure-results features/scenarios/**/*.feature'
        stage('Publish reports') {
           steps {
                script {
                        includeProperties: false,
                        jdk: '',
                        properties: [],
                        reportBuildPolicy: 'ALWAYS',
                        results: [[path: 'allure-results']]
  • Checkout dashboard after the job completion

  • Here is the Blue Ocean view

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s