fix(ci): backslash-escape multi-line shell command
@@ -89,11 +89,11 @@ pipeline {
withCredentials([usernamePassword(credentialsId: 'artifactory-gooey', \
usernameVariable: 'artifactoryUser', \
passwordVariable: 'artifactoryPass')]) {
- sh '''./gradlew
- --console=plain
- -Dorg.gradle.internal.publish.checksums.insecure=true
- publish
- -PmavenUser=${artifactoryUser}
+ sh '''./gradlew \\
+ --console=plain \\
+ -Dorg.gradle.internal.publish.checksums.insecure=true \\
+ publish \\
+ -PmavenUser=${artifactoryUser} \\
-PmavenPass=${artifactoryPass}
'''
}
