Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. # Builds for all - except snapshots (branches) - as we would otherwise have 2x build run on merge_requests
  2. build:
  3. stage: build
  4. only:
  5. refs:
  6. - merge_requests
  7. - tags
  8. artifacts:
  9. paths:
  10. - build/
  11. script:
  12. - ./build/build.sh ${CI_JOB_ID}
  13.  
  14. #EXACT copy of above - ONLY for snapshot builds
  15. build-snapshot:
  16. stage: build
  17. only:
  18. - branches
  19. except:
  20. - merge_requests
  21. - test
  22. artifacts:
  23. paths:
  24. - build/
  25. script:
  26. - ./build/build.sh ${CI_JOB_ID}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement