Further fixes on envvar passthrough on packer scripts. Refs #21461
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 21 Feb 2024 22:46:48 +0000 (19:46 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 21 Feb 2024 22:46:48 +0000 (19:46 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

jenkins/packer-images/jenkins-image-arvados-tests.json

index 2dd1cae19adf3eef0fa84a8a34a9bc8bd85e17ba..609b21aff1ad3b1d77d39b42bfbb013b63ba5883 100644 (file)
@@ -28,6 +28,9 @@
     },
     {
       "type": "shell",
+      "environment_vars": [
+        "GIT_HASH={{ user `git_hash` }}"
+      ],
       "script": "./jenkins-image-arvados-tests.sh"
     }
   ]