Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weird indentation removal, also inconsistent space insertion with colon #13

Open
verdverm opened this issue Jan 24, 2023 · 0 comments
Open
Labels
can't reproduce Can't reproduce the error upstream Upstream package error

Comments

@verdverm
Copy link

This one has a lot around it removed, so maybe not enough to reproduce yet? let me know

after the first section, the remaining stages all have two spaces removed from them, the diff first looked like it was removing a curly, but then I realized it just unindented a bunch of stuff

pipeline {
  stages {
     stage('foo') {
       steps {
         sh "cd src/foo && make build"
-        sh "gsutil cp src/foo/bin/foo gs://bucket/foo-${BUILD_SUFFIX}"
-      }
+        sh "gsutil cp src/foo/bin/foo gs: //bucket/foo-${BUILD_SUFFIX}"     <<< space added
     }
-
-    stage('bar') {
-      steps {
-        sh "cd src/bar && make build"
-        sh "gsutil cp src/bar gs://bucket/bar-${BUILD_SUFFIX}"
-      }
+  }
+  stage('bar') {
+    steps {
+      sh "cd src/bar && make build"
+      sh "gsutil cp src/bar/bin/bar gs://bucket/bar-${BUILD_SUFFIX}"      <<< no space added
     }
} 
     ... more stages here, all lost indentation, but none had the space added in gs: //....
     
post {
  // go mods
  always {
    sh "sudo rm -rf $GOPATH/pkg/mod"
  }
}
}

^^^ notice the two curly braces at the same indentation here

@Airkro Airkro added upstream Upstream package error can't reproduce Can't reproduce the error labels Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can't reproduce Can't reproduce the error upstream Upstream package error
Development

No branches or pull requests

2 participants