Skip to content

Commit 6604168

Browse files
committed
DEVOPS-219 remove tsdb update
1 parent 696f24a commit 6604168

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

Jenkinsfile

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ spec:
6464
container('jnlp') {
6565
TAG_VERSION = github.get_tag_version(TAG_NAME, '^v[\\.0-9]*.*-v[\\.0-9]*\$')
6666
DOCKER_TAG_VERSION = github.get_docker_tag_version(TAG_NAME, '^v[\\.0-9]*.*-v[\\.0-9]*\$')
67-
PUBLISHED_BEFORE = github.get_tag_published_before(git_project, git_project_user, "v${TAG_VERSION}", GIT_TOKEN)
67+
PUBLISHED_BEFORE = github.get_tag_published_before(git_project, git_project_user, "${TAG_VERSION}", GIT_TOKEN)
6868

6969
echo "$TAG_VERSION"
7070
echo "$PUBLISHED_BEFORE"
@@ -74,21 +74,9 @@ spec:
7474
if (TAG_VERSION != null && TAG_VERSION.length() > 0 && PUBLISHED_BEFORE < expired) {
7575
stage('prepare sources') {
7676
container('jnlp') {
77-
V3IO_TSDB_VERSION = sh(
78-
script: "echo ${TAG_VERSION} | awk -F '-v' '{print \"v\"\$2}'",
79-
returnStdout: true
80-
).trim()
81-
8277
dir("${BUILD_FOLDER}/src/github.com/${git_project}/${git_project}") {
8378
git(changelog: false, credentialsId: git_deploy_user_private_key, poll: false, url: "git@github.com:${git_project_user}/${git_project}.git")
8479
sh("git checkout ${TAG_VERSION}")
85-
sh("rm -rf vendor/github.com/v3io/v3io-tsdb/")
86-
}
87-
88-
dir("${BUILD_FOLDER}/src/github.com/${git_project}/${git_project}/vendor/github.com/v3io/v3io-tsdb") {
89-
git(changelog: false, credentialsId: git_deploy_user_private_key, poll: false, url: "git@github.com:${git_project_user}/v3io-tsdb.git")
90-
sh("git checkout ${V3IO_TSDB_VERSION}")
91-
sh("rm -rf vendor/github.com/${git_project}")
9280
}
9381
}
9482
}

0 commit comments

Comments
 (0)