I'm trying to implement a pipeline in which, depending on the choice of parameter, the user sees either text input or file input. I use Active Choices Parameter: First: First Parameter Second: First Parameter then i need to get this values in pipeline code for example:
pipeline {
agent any
stages {
stage('Demo Active Choices Parameter') {
steps {
echo "${services}"
}
}
}
}
with text input - it works how can i get the file in pipeline? thank you and sorry for english.