Skip to content
Snippets Groups Projects
Commit ba15a33a authored by Abda Shaffan Diva's avatar Abda Shaffan Diva
Browse files

edit pipeline

parent 9fd163ef
2 merge requests!18Release/1.0,!17Feature/pipeline
Pipeline #20402 failed with stages
in 13 seconds
stages:
- clone
- clean
- build
- test
- undeploy
- deploy
cache:
paths:
- .m2/repository/
- target/
clone_repo:
stage: clone
script:
- pwd
- git clone git@gitlab.informatika.org:if3110-2019-02-k03-04/ws-bank.git
clean:
stage: clean
script:
- mvn clean
build:
stage: build
script:
- mvn compile
test:
stage: test
script:
- mvn test
stop_domain:
stage: undeploy
script:
- sudo /opt/glassfish5/glassfish/bin/asadmin stop-domain
allow_failure: true
only:
- dev
- master
deploy:
stage: deploy
script:
- mvn glassfish:deploy
only:
- dev
- master
\ No newline at end of file
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