diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d1155a17757c853a1e28b9be15f72910e6c770e5..9d0cec6ed7345f89618a33aab44135b5e3c57a2f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,10 +7,15 @@ stages: build: stage: build script: - - "pushd .." - - "if [ -d RiseClipseDeveloper ]; then cd RiseClipseDeveloper ; git pull ; else git clone https://gitlab.centralesupelec.fr/RiseClipseGroup/RiseClipseDeveloper.git ; fi" - - "popd" - - "mvn clean install" + - "mvn clean package" + tags: + - riseclipse + +# deploy is not restricted to master because of dependencies beween plug-ins +deploy: + stage: deploy + script: + - "mvn deploy" tags: - riseclipse