Skip to content

Commit

Permalink
adding unit time to container name
Browse files Browse the repository at this point in the history
  • Loading branch information
maknop committed Oct 24, 2023
1 parent 476dbdb commit acd32b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pipeline {
CICD_URL="https://raw.githubusercontent.com/RedHatInsights/cicd-tools/alternative-cicd-tools"
HELPER_FUNCTIONS="${CICD_URL}/helpers/general.sh"
BOOTSTRAP_FUNCTIONS="${CICD_URL}/src/bootstrap.sh"

CURR_TIME=sh(script: "date +%s", returnStdout: true).trim()
}

stages {
Expand All @@ -54,7 +54,7 @@ pipeline {
parallel {
stage('Unit Tests') {
environment {
TEST_CONTAINER="clowder-ci-unit-tests-${IMAGE_TAG}"
TEST_CONTAINER="clowder-ci-unit-tests-${IMAGE_TAG}-${CURR_TIME}"
}
steps {
withVault([configuration: configuration, vaultSecrets: secrets]) {
Expand All @@ -71,7 +71,7 @@ pipeline {

stage('Minikube E2E Tests') {
environment {
CONTAINER_NAME="clowder-ci-minikube-e2e-tests-${IMAGE_TAG}"
CONTAINER_NAME="clowder-ci-minikube-e2e-tests-${IMAGE_TAG}-${CURR_TIME}"
}
steps {
withVault([configuration: configuration, vaultSecrets: secrets]) {
Expand Down

0 comments on commit acd32b7

Please sign in to comment.