From b30dfce2ecc0254f3459da29a1af8aa4d72bade6 Mon Sep 17 00:00:00 2001 From: Damien Coraboeuf Date: Wed, 21 Mar 2018 20:28:27 +0100 Subject: [PATCH] Pipeline: correction of JSON --- Jenkinsfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c3e4140..77e6311 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -95,7 +95,7 @@ echo "Creating tag ${VERSION} for ${GIT_COMMIT}" curl -X POST "https://api.github.com/repos/nemerosa/versioning/releases" \\ --fail \\ - --data "{\"target_commitish\":\"${GIT_COMMIT}\",\"tag_name\":\"${VERSION}\",\"name\":\"${VERSION}\"}" \\ + --data "{\\"target_commitish\\":\\"${GIT_COMMIT}\\",\\"tag_name\\":\\"${VERSION}\\",\\"name\\":\\"${VERSION}\\"}" \\ --user "${GITHUB}" ''' } @@ -114,8 +114,6 @@ curl -X POST "https://api.github.com/repos/nemerosa/versioning/releases" \\ set -e ./gradlew \\ - versionDisplay \\ - versionFile \\ publishPluginToBintray \\ -x test \\ --stacktrace \\