Skip to content

Commit

Permalink
Merge pull request jenkinsci#286 from dduportal/fix/jenkinscigh-285-r…
Browse files Browse the repository at this point in the history
…eview

chore(test) fix build argument tests by using an old version
  • Loading branch information
dduportal authored and lemeurherve committed Sep 29, 2022
1 parent 7e6f7ce commit 9bd6140
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/tests.bats
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,14 @@ SUT_IMAGE=$(get_sut_image)
@test "[${SUT_IMAGE}] use build args correctly" {
cd "${BATS_TEST_DIRNAME}"/.. || false

local ARG_TEST_VERSION
local TEST_VERSION="3063.v26e24490f041"
# Old version used to test overriding the build arguments.
# This old version must have the same tag suffixes as the ones defined in the docker-bake file (`-jdk17`, `jdk11`, etc.)
local TEST_VERSION="3046.v38db_38a_b_7a_86"
local DOCKER_AGENT_VERSION_SUFFIX="1"
local TEST_USER="root"

local ARG_TEST_VERSION="${TEST_VERSION}-${DOCKER_AGENT_VERSION_SUFFIX}"
local TEST_USER="root"


local FOLDER=$(get_dockerfile_directory)

Expand Down

0 comments on commit 9bd6140

Please sign in to comment.