-1

So I have a Groovy PipeLine Script

pipeline {
    agent any
    stages {
        stage('Build') {
            script {
               build job: AWSINTparamsexp
               build job: params.OPTIONS
            }
        }
    }
} 

Insight

  • Here the params.OPTIONS is used to access the Parameter from the Jekins Job (Where I am using the Extended Choice params to get the build with Parameter )
  • And the Job AWSINTparamsexp is a simple hello world pipeline where the original pipeline will be replcaed with

Requirement -Using this params.options i can access the param but it'll only run a pipeline

  • I want the parameter i'm getting that cucumber.OPTIONS a cucumber test Tag to be executed as well with the above job in this pipeline is it possible if so How to approach
Isaac
  • 99
  • 2
  • 5

0 Answers0