I have a pipeline job which run with below pipeline groovy script,
pipeline { parameters{ string(name: 'Unique_Number', defaultValue: '', description: 'Enter Unique Number') } stages { stage('Build') { agent { node { label 'Build' } } steps { script { sh build.sh } } stage('Deploy') { agent { node { label 'Deploy' } } steps { script { sh deploy.sh } } stage('Test') { agent { node { label 'Test' } } steps { script { sh test.sh } } } } I just trigger this job multiple times with different unique ID number as input parameter. So as a result i will have multiple run/build for this job at different stages.
With this, i need to trigger a multiple run/build to be promote to next stage (i.e., from build to deploy or from deploy to test) in this pipeline job as a one single build instead of triggering each and every single run/build to next stage. Is there any possibility?