Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48095

pipeline steps from a jenkins plugin do not show any default values in the form

XMLWordPrintable

    • Blue Ocean - Candidates

      I've created a jenkins plugin with a bunch of pipeline steps for use in either scripted or declarative pipelines. They show up in the regular Pipeline Syntax UI in Jenkins along with the Blue Ocean Pipeline editor.

      In the Pipeline Syntax UI the default values appear in the form (due to the `default="foo"` in the jelly config.xml files) however in the Blue Ocean pipeline editor the forms are always blank.

      Is this a known bug with Blue Ocean pipeline editor; or is there some alternative way to specify default values for the form in the plugin so that the pipeline editor can find them?

       

      If you want to try out the plugin yourself there's a snapshot plugin here:

      https://github.com/fabric8-jenkins/fabric8-declarative-pipeline-step-functions-plugin#building

        1. pipeline-Editor.png
          127 kB
          James Strachan
        2. pipline-syntax-snippet-generator.png
          226 kB
          James Strachan

            Unassigned Unassigned
            jstrachan James Strachan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: