Page MenuHomePhorge

No OneTemporary

Size
900 B
Referenced Files
None
Subscribers
None
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b66bf42..7259fb1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,28 +1,36 @@
stages:
- prepare
- build
prepare-env:
stage: prepare
script: |
tag="$CI_COMMIT_REF_SLUG"
echo "tag=$tag" >> prepare.env
echo "libkazvTag=servant" >> prepare.env
artifacts:
reports:
dotenv: prepare.env
build-debug:
stage: build
image:
name: 'ubuntu:21.04'
script: |
./script.sh
+ artifacts:
+ paths:
+ - testfile
+ expire_in: 1 week
another:
stage: build
image:
name: 'ubuntu:21.04'
script: |
export VAR=foo
./script.sh
+ artifacts:
+ paths:
+ - testfile
+ expire_in: 1 week
diff --git a/script.sh b/script.sh
index 3a64992..75bdea9 100755
--- a/script.sh
+++ b/script.sh
@@ -1,3 +1,5 @@
#!/bin/bash
echo 'test job'
+
+echo "$VAR" > testfile

File Metadata

Mime Type
text/x-diff
Expires
Sun, Jan 19, 7:09 PM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
55408
Default Alt Text
(900 B)

Event Timeline