I have a "Jenkins declarative pipeline". I understand from explanation here that I could pass choices like below in my Jenkinsfile.
parameters {
choice(name: 'TYPE_OF_DEPLOYMENT',
choices: ['Android', 'iOS', 'macOS'],
description: 'Select a platform to deploy build to')
}
Above works well to give 3 selections in a drop down.
Question:
But what if I want to intake a number or a string which is manually typed rather than selected from a drop down?
Is it possible to take a number input into the pipeline from the Jenkins page before starting a parameterised build?