-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Cherry-pick to 6.8: Use google storage to keep artifact (#21910)(#22220)(#22297) #22376
Conversation
# Conflicts: # Jenkinsfile
} catch(err) { | ||
// Upload the generated files ONLY if the step failed. This will avoid any overhead with Google Storage | ||
upload = true | ||
error("Error '${err.toString()}'") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't the single quotes here break interpolation of the variable? I would have thought this would have been printed literally as ${err.toString()}
but perhaps not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The whole string is in double quotes, so groovy interpolation happens before the cosmetic '
Backports the following commits to 6.8: