Skip to content
Snippets Groups Projects
Commit ae10ee52 authored by Joao Esteves Marcal's avatar Joao Esteves Marcal
Browse files

Merge branch 'fix-ci' into 'master'

Fixed CI

See merge request !2
parents 0f41a0e5 545aafe4
No related branches found
No related tags found
1 merge request!2Fixed CI
Pipeline #1997382 failed
# This variable can be defined here or, if it needs to be hidden, as a secure variable of the project # This variable can be defined here or, if it needs to be hidden, as a secure variable of the project
variables: variables:
EOS_PATH: "/eos/home-o/okdtests/webeos-tests" EOS_PATH: "/eos/home-o/okdtests/webeos-tests"
CI_OUTPUT_DIR: "/tmp/public"
stages: stages:
- copy - copy
...@@ -12,16 +11,16 @@ copy: ...@@ -12,16 +11,16 @@ copy:
stage: copy stage: copy
script: script:
# Create a directory where to move the output generated # Create a directory where to move the output generated
- mkdir /tmp/public - mkdir public
# This is an important step as it allows the artifact to NOT # This is an important step as it allows the artifact to NOT
# include the .git subfolder from the directory where project # include the .git subfolder from the directory where project
# was checked out by CI runners, since cp * will skip the .git folder. # was checked out by CI runners, since cp * will skip the .git folder.
- cp -r * /tmp/public - rsync -a --exclude 'public' --exclude '.git' * public/
artifacts: artifacts:
paths: paths:
# Upload as an artifact the folder where the output has been generated # Upload as an artifact the folder where the output has been generated
# This will attach to the job the output. It can be browsed or downloaded # This will attach to the job the output. It can be browsed or downloaded
- /tmp/public - public
# Make it vanish in 1 hour # Make it vanish in 1 hour
expire_in: 1 hour expire_in: 1 hour
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment