-
Story
-
Resolution: Fixed
-
Minor
-
None
When this Jenkinsfile is roundtripped:
pipeline { agent { docker 'java' } stages { stage ('Build') { steps { sh 'mvn clean source:jar package' } } } post { always { junit '**/target/surefire-reports/TEST-*.xml' archive '**/target/*.jar' } } }
Is formatted as:
pipeline { agent { docker 'java'} stages { stage('Build') { steps { sh('mvn clean source:jar package') } } } post { always { junit('**/target/surefire-reports/TEST-*.xml') archive('**/target/*.jar') } } }
It would be good to avoid extra new lines and consistently write out brace locations
- links to