From 53bb3f024ca3579c1f6a403fb7516c6b49c227d7 Mon Sep 17 00:00:00 2001 From: jenkinsci Date: Mon, 18 Sep 2017 15:41:12 +0000 Subject: [PATCH 1/2] Development version increased: 0.0.4-SNAPSHOT --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index b8bc4297..34768acf 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.0.3-SNAPSHOT \ No newline at end of file +0.0.4-SNAPSHOT \ No newline at end of file From fbd4a32f344949f08c5a09f3ce5ac2945fd269cc Mon Sep 17 00:00:00 2001 From: Zajs Date: Mon, 18 Sep 2017 18:50:03 +0300 Subject: [PATCH 2/2] fixed artifact name in GitHub --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 60dba415..3cc4e895 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -73,7 +73,7 @@ def createReleaseInGithub(gitCredentialId, organization, repository, releaseVers def uploadRelease(gitCredentialId, organization, repository, releaseVersion, releaseId, releaseFile){ withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: gitCredentialId, usernameVariable: 'GIT_USERNAME', passwordVariable: 'GIT_PASSWORD']]) { - sh """curl --data-binary @"${releaseFile}" -H "Authorization: token ${GIT_PASSWORD}" -H "Content-Type: application/zip" https://uploads.github.com/repos/${organization}/${repository}/releases/${releaseId}/assets?name=release-${releaseVersion}""" + sh """curl --data-binary @"${releaseFile}" -H "Authorization: token ${GIT_PASSWORD}" -H "Content-Type: application/zip" https://uploads.github.com/repos/${organization}/${repository}/releases/${releaseId}/assets?name=release-${releaseVersion}.zip""" } }