Skip to content
Snippets Groups Projects
Commit 242409be authored by LECORDIER-MAURIES Marlon's avatar LECORDIER-MAURIES Marlon
Browse files

Test-GitLab-ci

parent 8b818e62
Branches
No related tags found
No related merge requests found
Pipeline #42906 passed
stages:
- build
- test
- package
build-job:
stage: build
script:
- echo "Hello " | tr -d "\n" > file1.txt
- echo "world" > file2.txt
- cat file1.txt file2.txt > compiled.txt
artifacts:
paths:
- compiled.txt
test:
stage: test
script: cat compiled.txt | grep -q 'Hello world'
test-existence:
stage: test
script: test -f compiled.txt
package:
stage: package
script: cat compiled.txt | gzip > packaged.gz
artifacts:
paths:
- packaged.gz
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment