Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe Commits: e08aa859 by Tony CHEMIT at 2017-06-08T10:18:26+02:00 improve builds - - - - - 1 changed file: - .gitlab-ci.yml Changes: ===================================== .gitlab-ci.yml ===================================== --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,21 +45,22 @@ stages: .deploy_site: &deploy_site script: - - mvn clean install site -DperformRelease scm-publish:publish-scm + - wget -q -O - https://gitlab.com/ultreiaio/pom/raw/master/bin/execute-maven.sh | sed 's/$1/clean install site -DperformRelease scm-publish:publish-scm/' | bash .deploy_demo_latest: &deploy_demo_latest stage: Test script: - - mvn -Padd-git-commit-id-to-project-version -N - - mvn install -am -pl application-web -DskipTests -Pdeploy-demo -Dclassifier=latest + - wget -q -O - https://gitlab.com/ultreiaio/pom/raw/master/bin/execute-maven.sh | sed 's/$1/-Padd-git-commit-id-to-project-version -N/' | bash + - wget -q -O - https://gitlab.com/ultreiaio/pom/raw/master/bin/execute-maven.sh | sed 's/$1/install -am -pl application-web -DskipTests -Pdeploy-demo -Dclassifier=latest/' | bash build: stage: Build <<: *before_script_default script: - - mvn clean verify + - wget -q -O - https://gitlab.com/ultreiaio/pom/raw/master/bin/execute-maven.sh | sed 's/$1/verify/' | bash only: - develop + - develop-5.x - develop-7.x - feature/* except: @@ -70,6 +71,7 @@ build: <<: *before_script_default only: - develop + - develop-5.x - develop-7.x except: - triggers @@ -87,6 +89,14 @@ stage: - wget -O - https://gitlab.com/ultreiaio/pom/raw/master/bin/create-milestone.sh | bash - wget -O - https://gitlab.com/ultreiaio/pom/raw/master/bin/close-stage.sh | sed 's/$1/frirdobserve/' | bash +deploy-snapshot: + <<: *env_staging + <<: *test_manual + <<: *before_script_clone + script: + - apt-get update -y && apt-get install libc6-i386 libx32stdc++6 -y + - wget -q -O - https://gitlab.com/ultreiaio/pom/raw/master/bin/execute-maven.sh | sed 's/$1/deploy -DperformRelease/' | bash + latest-site: <<: *env_test <<: *test_manual @@ -107,7 +117,7 @@ nightly-build: <<: *nightly script: - apt-get update -y && apt-get install libc6-i386 libx32stdc++6 -y - - mvn clean verify -DperformRelease + - wget -q -O - https://gitlab.com/ultreiaio/pom/raw/master/bin/execute-maven.sh | sed 's/$1/verify -DperformRelease/' | bash nightly-site: stage: Test @@ -131,7 +141,7 @@ nightly-demo: staging-demo: <<: *staging script: - - mvn install -am -pl application-web -DskipTests -Pdeploy-demo -DperformRelease + - wget -q -O - https://gitlab.com/ultreiaio/pom/raw/master/bin/execute-maven.sh | sed 's/$1/install -am -pl application-web -DskipTests -Pdeploy-demo -DperformRelease/' | bash staging-site: <<: *staging View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/e08aa8594b1cda6a04ac727db757... --- View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/e08aa8594b1cda6a04ac727db757... You're receiving this email because of your account on gitlab.com.