Blue Ocean Editor: Shared libraries using 'lib()' loses the argument string

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      On Blue Ocean 1.3.5, on the Blue Ocean Editor,, when you load a Jenkinsfile (declarative sytax) containing the new "libraries" syntax, the argument passed to the "lib()" function is cleared.

      Reproduction:

      Expected Result:

      I can load the pipeline, and save it without change. It should be idempotent.

      Current result:

      the pipeline is changed to (while we did not changed anything outside loading/saving on the editor):

      pipeline {
        agent any
        libraries {
          lib('')
        }
        stages {
          stage('Hello') {
            steps {
              echo 'Hello'
            }
          }
        }
      }
      

            Assignee:
            Unassigned
            Reporter:
            Damien Duportal
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: