Skip to content

Commit

Permalink
chore(ci) adjust the version string format for our nightlies
Browse files Browse the repository at this point in the history
  • Loading branch information
hutchic committed May 11, 2022
1 parent d09c66b commit 22f4cb2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ pipeline {
DOCKER_CREDENTIALS = credentials('dockerhub')
DOCKER_USERNAME = "${env.DOCKER_CREDENTIALS_USR}"
DOCKER_PASSWORD = "${env.DOCKER_CREDENTIALS_PSW}"
KONG_PACKAGE_NAME = "kong"
DOCKER_CLI_EXPERIMENTAL = "enabled"
PULP_HOST_PROD = "https://api.pulp.konnect-prod.konghq.com"
PULP_PROD = credentials('PULP')
Expand Down Expand Up @@ -48,7 +47,6 @@ pipeline {
}
}
environment {
KONG_PACKAGE_NAME = "kong"
KONG_SOURCE_LOCATION = "${env.WORKSPACE}"
KONG_BUILD_TOOLS_LOCATION = "${env.WORKSPACE}/../kong-build-tools"
AWS_ACCESS_KEY = credentials('AWS_ACCESS_KEY')
Expand All @@ -63,7 +61,7 @@ pipeline {
steps {
sh 'echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin || true'
sh 'make setup-kong-build-tools'
sh 'KONG_VERSION=`git rev-parse --short HEAD` DOCKER_MACHINE_ARM64_NAME="jenkins-kong-"`cat /proc/sys/kernel/random/uuid` make release'
sh 'KONG_VERSION=`echo kong-*.rockspec | sed \'s,.*/,,\' | cut -d- -f2`-`git rev-parse --short HEAD` DOCKER_MACHINE_ARM64_NAME="jenkins-kong-"`cat /proc/sys/kernel/random/uuid` make release'
}
}
stage('Release') {
Expand Down

0 comments on commit 22f4cb2

Please sign in to comment.