Professional Documents
Culture Documents
Agenda
• Starter exercise
• Why do we need CI?
• CI Demo
• Questions
• Exercises
Starter exercise (15 minutes)
• Login to Gitlab
• Create GitlabCIDemo project (Create a blank project
and clone/push or use the Gitlab import from url:
https://git.fhict.nl/I872209/simplejavaunittestapp.git)
Demo
stages:
- build
- test
build:
stage: build
script:
- ./gradlew build -x test
- ./gradlew.bat --stop
test:
stage: test
script:
- ./gradlew test
- ./gradlew.bat –stop
after_script:
- echo "End CI“
- exit
Explain yaml file
• See Canvas