Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For example, creating a boost pipeline (declarative) with the same configuration as above would be:

Code Block
languagegroovy
titleExample of pipeline
pipeline {

...


    agent any

...


    stages {

...


        stage('Test'){

...


            steps {

...


                sh "run_tests.bash"

...


            }
        }
    }
    post {
        always{
            step(xunit(
                thresholds: [ skipped(failureThreshold: '0'), failed(failureThreshold: '0') ],

...


...

 

...

 

...

 

...

             tools: [

...

 BoostTest(pattern: 'boost/*.xml') ]

...

)

...


            )
        }
    }

...


 }

 

 

 

Releases

Version 2.0.0

Improvements

...