Skip to content

Commit b30dfce

Browse files
committed
Pipeline: correction of JSON
1 parent e39a7e6 commit b30dfce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Jenkinsfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ echo "Creating tag ${VERSION} for ${GIT_COMMIT}"
9595
9696
curl -X POST "https://api.github.com/repos/nemerosa/versioning/releases" \\
9797
--fail \\
98-
--data "{\"target_commitish\":\"${GIT_COMMIT}\",\"tag_name\":\"${VERSION}\",\"name\":\"${VERSION}\"}" \\
98+
--data "{\\"target_commitish\\":\\"${GIT_COMMIT}\\",\\"tag_name\\":\\"${VERSION}\\",\\"name\\":\\"${VERSION}\\"}" \\
9999
--user "${GITHUB}"
100100
'''
101101
}
@@ -114,8 +114,6 @@ curl -X POST "https://api.github.com/repos/nemerosa/versioning/releases" \\
114114
set -e
115115
116116
./gradlew \\
117-
versionDisplay \\
118-
versionFile \\
119117
publishPluginToBintray \\
120118
-x test \\
121119
--stacktrace \\

0 commit comments

Comments
 (0)