From c79f5aba7f94b74b7464fc2ce98e3cbd58d7eb73 Mon Sep 17 00:00:00 2001 From: Neshura Date: Sun, 26 Feb 2023 23:21:44 +0100 Subject: [PATCH] Add Job ID --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a266a7c..d91ae44 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,9 +27,14 @@ build: - cargo build -r - echo "Compile complete." + after_script: + - echo JOB_ID=&CI_JOB_ID >> job.env + artifacts: paths: - /builds/Neshura/cloudflare-dns-updater + reports: + dotenv: job.env rules: - !reference [.deploy, rules] @@ -43,7 +48,7 @@ Tag Release: rules: - !reference [.deploy, rules] script: - - echo "running release job" + - echo "running Release Job, attaching Artifact from Job $JOB_ID" release: tag_name: '$CI_COMMIT_TAG' description: '$CI_COMMIT_TAG'