saada commented on issue #6000:
URL: 
https://github.com/apache/incubator-devlake/issues/6000#issuecomment-1702577699

   Given a jenkinsfile like this
   
   ```groovy
   
   pipeline {
       agent any
       parameters {
           string(name: 'PERSON', defaultValue: 'Mr Jenkins', description: 'Who 
should I say hello to?')
           text(name: 'RELEASE_TAG', defaultValue: '', description: 'Enter git 
ref for web app repo')
           choice(name: 'CLUSTER', choices: ['qa', 'prof'], description: 'Pick 
cluster')
       }
       stages {
           stage('deploy to cluster') {
               steps {
                   echo "Deploying ${params.RELEASE_TAG} TO ${params.CLUSTER}"
   
                  ...
               }
           }
       }
   }
   ```
   
   The parameter in this case is called "RELEASE_TAG". But in another job it 
could be called TAG or GIT_REF. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to