Skip to content
Permalink
Browse files

CMK_VERSION was ment to be CMK_VERS

Change-Id: Id1dfc84660dbf31fa9041bb9158d3521db762501
  • Loading branch information...
Alex Zurhake
Alex Zurhake committed Jun 12, 2019
1 parent 79fc5aa commit e8a0ebd54c3d803764eaab8ee3101a68f98020c3
Showing with 4 additions and 4 deletions.
  1. +4 −4 buildscripts/scripts/nightly-build.jenkins
@@ -30,13 +30,13 @@ def DOCKER_BUILDS = [:]
def dateFormat = new SimpleDateFormat("yyyy.MM.dd")
def date = new Date()
def BRANCH = scm.branches[0].name.replaceAll("/","-")
def CMK_VERSION = ''
def CMK_VERS = ''
if(BRANCH == 'master' && VERSION == 'daily') {
CMK_VERSION = dateFormat.format(date)
CMK_VERS = dateFormat.format(date)
} else if (VERSION == 'daily') {
CMK_VERSION = BRANCH + '-' + dateFormat.format(date)
CMK_VERS = BRANCH + '-' + dateFormat.format(date)
} else {
CMK_VERSION = VERSION
CMK_VERS = VERSION
}

def PACKAGE_DIR = '/bauwelt/download'

0 comments on commit e8a0ebd

Please sign in to comment.
You can’t perform that action at this time.