Add support for preserving comments and formatting for Jenkinsfile roundtrip

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

XMLWordPrintable

      Support for comment preservation is not actively being worked on

      Many users have asked for preservation of comments, formatting and "shebang"s when loading and saving a Jenkinsfile through features like the Pipeline Editor. Due to technical and time constraints, this is infeasible to do in the short term without a high level of engineering investment.

      Problem
      Would be nice to have support for comments in the ModelAST. TBD whether the comments are required to be fully round-trip aware, but for anyone using the ModelAST classes to generate a groovy pipeline definition the ability to inject comments into the generated groovy would be incredibly useful.

            Assignee:
            Unassigned
            Reporter:
            Stephen Connolly
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: