Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F140388
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
900 B
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Jan 19, 7:09 PM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
55408
Default Alt Text
(900 B)
Attached To
Mode
rTESTTWO test2
Attached
Detach File
Event Timeline
Log In to Comment