-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
rc1
I understand the BlueOcean Pipeline editor will rearrange Jenkinsfile contents as it sees fit, but where possible it should not result in data loss, this includes comments. One of the advantages of Pipeline as code over Jenkins Freestyle jobs is the ability to add helpful comments.
- is related to
-
JENKINS-38864 Add support for preserving comments and formatting for Jenkinsfile roundtrip
-
- Open
-
- relates to
-
JENKINS-43006 Round trip should add/retain file header including groovy she-bang ("#!groovy")
-
- Closed
-
bitwiseman a reasonable ask but I believe technically hard to do (ask abayer). Declarative has an API that exposes the Jenkinsfile model to us and allows us to roundtrip - this is a declarative ask.