Skip to content

Commit 37beafb

Browse files
committed
[BUILD] Remove automatic publication of GitHub release
1 parent 42d98de commit 37beafb

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

ci/Jenkinsfile.groovy

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ ansiColor('xterm') {
135135
manager.addBadge("warning.gif", "Large tests required")
136136
}
137137

138-
stash includes: "CHANGELOG.md", name: 'CHANGELOG'
139138
final String dockerImageTag = sh(script: "make ${MAKE_OPTS} docker_image_tag", returnStdout: true).trim()
140139
docker.image("${X86_64_CENTOS_DOCKER_IMAGE_NAME}:${dockerImageTag}").inside {
141140
def dockerfileSHAsString = ""
@@ -680,7 +679,6 @@ ansiColor('xterm') {
680679
dumpInfo()
681680
dir(stageDir) {
682681
checkout scm
683-
unstash 'CHANGELOG'
684682
unstash 'VERSION'
685683
unstash 'x86_64_centos7-py37-whl'
686684
unstash 'x86_64_centos7-py36-whl'
@@ -716,26 +714,6 @@ ansiColor('xterm') {
716714
"""
717715
}
718716
}
719-
docker.image('harbor.h2o.ai/library/hub').inside("--init") {
720-
withCredentials([file(credentialsId: RSA_CRED_ID, variable: 'ID_RSA_PATH'), file(credentialsId: GITCONFIG_CRED_ID, variable: 'GITCONFIG_PATH'), string(credentialsId: CREDS_ID, variable: 'GITHUB_TOKEN')]) {
721-
final def releaseMsgFile = "release-msg.md"
722-
def releaseMsg = """v${versionText}
723-
724-
${project.getChangelogPartForVersion(versionText, "release/CHANGELOG.md")}
725-
---
726-
${project.getReleaseDownloadLinksText("release/dist", "${getHTTPSTargetUrl(versionText)}")}
727-
"""
728-
writeFile(file: "release/${releaseMsgFile}", text: releaseMsg)
729-
sh """
730-
mkdir -p ~/.ssh
731-
cp \${ID_RSA_PATH} ~/.ssh/id_rsa
732-
cp \${GITCONFIG_PATH} ~/.gitconfig
733-
cd release
734-
hub release create -f ${releaseMsgFile} \$(find dist/ \\( -name '*.whl' -o -name '*.tar.gz' \\) -exec echo -a {} \\;) "v${versionText}"
735-
"""
736-
echo readFile("release/${releaseMsgFile}").trim()
737-
}
738-
}
739717
}
740718
}
741719
}

0 commit comments

Comments
 (0)