Commit 940beb97 authored by Денис Шумеков's avatar Денис Шумеков
Browse files

Update .gitlab-ci.yml

parent 31095e5a
Pipeline #6810 canceled with stage
stages:
- build
- test
image: openjdk:8
build-code-job:
stage: build
pages: # название таски
stage: deploy
script:
- echo "Check the ruby version, then build some Ruby project files:"
- ruby -v
- rake
test-code-job1:
stage: test
script:
- echo "If the files are built successfully, test some files with one command:"
- rake test1
test-code-job2:
stage: test
script:
- echo "If the files are built successfully, test other files with a different command:"
- rake test2
\ No newline at end of file
- ./gradlew bundle
- mkdir .public
- cp -r src/main/web/* .public
- cp -r build/bundle/* .public
- mv .public public
artifacts: # необходимый артефакт
paths:
- public
only: # собирать только из ветки мастера
- master
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment