I create a lot of pipelines where I specify the parameters inside the pipeline like this:
pipeline {
agent any;
parameters {
string(defaultValue: 'master',
description: 'Portworx docker tag',
name: 'BRANCH')
}
stages {
stage("Do stuff") {
steps {
sh "echo blah"
}
}
}
}
It would be very handy if: 1. There was a way to invoke the linter for a Pipeline from the classic UI and the blueocean UI. Right now, this method is a bit clunky to use: https://jenkins.io/doc/book/pipeline/development/#linter 2. It would be good if there was an option in the classic UI and blueocean UI to Reload or Update a pipeline. If this option could lint the pipeline, and update the parameters from the pipeline into the job, that would be very useful. |