Commit 25a7270a authored by root's avatar root
Browse files

seperate stages of pipeline

parent 9a18b200
Pipeline #170804 failed with stages
in 44 seconds
......@@ -3,6 +3,12 @@ variables:
LOGIN: ieo119
API_KEY: 04f2ee5c-5db9-4f8d-8965-295006a946c1
stages:
- build
- test
- deploy-staging
- deploy
build-job:
stage: build
script:
......@@ -18,12 +24,12 @@ test-job:
- mvn test
deploy-test:
stage: deploy
stage: deploy-staging
script:
- echo "Deploy to staging envirnment."
- export PORT=$PORT_NO
- mvn package
#- screen -m -d sh target/bin/simplewebapp
- screen -m -d sh target/bin/simplewebapp
deploy-prod:
stage: deploy
......
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