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

    • 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

          [JENKINS-48095] pipeline steps from a jenkins plugin do not show any default values in the form

          James Strachan created issue -
          James Strachan made changes -
          Attachment New: pipline-syntax-snippet-generator.png [ 40422 ]
          James Strachan made changes -
          Attachment New: pipeline-Editor.png [ 40423 ]
          James Dumay made changes -
          Epic Link New: JENKINS-36291 [ 172300 ]
          James Dumay made changes -
          Sprint New: Blue Ocean 1.4 - beta 3 [ 416 ]
          James Dumay made changes -
          Assignee New: Cliff Meyers [ cliffmeyers ]
          Karl Shultz made changes -
          Labels New: testing-notes-reviewed
          Michael Neale made changes -
          Sprint Original: Blue Ocean 1.4 - beta 3 [ 416 ]
          Michael Neale made changes -
          Sprint New: Blue Ocean 1.4 - beta 4 [ 441 ]
          Michael Neale made changes -
          Rank New: Ranked higher
          Cliff Meyers made changes -
          Assignee Original: Cliff Meyers [ cliffmeyers ]

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

              Created:
              Updated: