Skip to content

Commit

Permalink
variable to use from environement in args
Browse files Browse the repository at this point in the history
  • Loading branch information
smerle33 committed Sep 8, 2023
1 parent 240800b commit 747f833
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions resources/io/jenkins/infra/docker/jenkinsinfrabakefile.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,19 @@ variable "IMAGE_DIR" {
default = "."
}

variable "GIT_COMMIT_REV" {
default = "${GIT_COMMIT_REV}"
}
variable "GIT_SCM_URL" {
default = "${GIT_SCM_URL}"
}
variable "BUILD_DATE" {
default = "${BUILD_DATE}"
}
variable "SCM_URI" {
default = "${SCM_URI}"
}

# return the full image name
function "full_image_name" {
params = [tag]
Expand Down

0 comments on commit 747f833

Please sign in to comment.