Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Builds for all - except snapshots (branches) - as we would otherwise have 2x build run on merge_requests
- build:
- stage: build
- only:
- refs:
- - merge_requests
- - tags
- artifacts:
- paths:
- - build/
- script:
- - ./build/build.sh ${CI_JOB_ID}
- #EXACT copy of above - ONLY for snapshot builds
- build-snapshot:
- stage: build
- only:
- - branches
- except:
- - merge_requests
- - test
- artifacts:
- paths:
- - build/
- script:
- - ./build/build.sh ${CI_JOB_ID}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement