Skip to content

Commit

Permalink
DEVOPS-196 update PUBLISHED_BEFORE to minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
gkirok committed Dec 5, 2018
1 parent 25490e2 commit e109f6d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
def label = "${UUID.randomUUID().toString()}"
def BUILD_FOLDER = '/go'
def BUILD_FOLDER = "/go"
def github_user = "gkirok"
def docker_user = "gallziguazio"
def git_project = 'iguazio_api_examples'
def git_project = "iguazio_api_examples"

properties([pipelineTriggers([[$class: 'PeriodicFolderTrigger', interval: '2m']])])
podTemplate(label: "${git_project}-${label}", yaml: """
Expand Down Expand Up @@ -65,6 +65,7 @@ spec:
).trim()

sh "curl -v -H \"Authorization: token ${GIT_TOKEN}\" https://api.github.com/repos/gkirok/${git_project}/releases/tags/v${TAG_VERSION} > ~/tag_version"

AUTO_TAG = sh(
script: "cat ~/tag_version | python -c 'import json,sys;obj=json.load(sys.stdin);print obj[\"body\"]'",
returnStdout: true
Expand Down

0 comments on commit e109f6d

Please sign in to comment.