Here is my jenkinsfile:
pipeline {
agent any
options {
skipDefaultCheckout()
}
parameters {
choice(
name: 'MyParam',
choices: 'One\nTwo\nThree',
description: 'slkfjlsdfjlsdjflksdjf')
}
stages {
stage('Checkout') {
steps {
echo '========= Checkout stage =========='
deleteDir()
checkout scm
}
}
stage('Build') {
steps {
echo '========= Build stage =========='
}
}
stage('Deploy') {
steps {
echo '========= Deploy stage =========='
}
}
}
}
So I create a new pipeline with it but I don't see a run button:
But if I create a regular jenkins job in the old GUI and then view it in blue ocean I DO see the run button:
Or maybe Im misunderstanding how pipelines work. When I create a new pipeline from blue ocean it looks like its creating a "multi branch" pipeline. Perhaps this kind of pipeline doesn't have a parameter choice??