| ... |
... |
@@ -45,21 +45,22 @@ stages: |
|
45
|
45
|
|
|
46
|
46
|
.deploy_site: &deploy_site
|
|
47
|
47
|
script:
|
|
48
|
|
- - mvn clean install site -DperformRelease scm-publish:publish-scm
|
|
|
48
|
+ - 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
|
|
49
|
49
|
|
|
50
|
50
|
.deploy_demo_latest: &deploy_demo_latest
|
|
51
|
51
|
stage: Test
|
|
52
|
52
|
script:
|
|
53
|
|
- - mvn -Padd-git-commit-id-to-project-version -N
|
|
54
|
|
- - mvn install -am -pl application-web -DskipTests -Pdeploy-demo -Dclassifier=latest
|
|
|
53
|
+ - 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
|
|
|
54
|
+ - 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
|
|
55
|
55
|
|
|
56
|
56
|
build:
|
|
57
|
57
|
stage: Build
|
|
58
|
58
|
<<: *before_script_default
|
|
59
|
59
|
script:
|
|
60
|
|
- - mvn clean verify
|
|
|
60
|
+ - wget -q -O - https://gitlab.com/ultreiaio/pom/raw/master/bin/execute-maven.sh | sed 's/$1/verify/' | bash
|
|
61
|
61
|
only:
|
|
62
|
62
|
- develop
|
|
|
63
|
+ - develop-5.x
|
|
63
|
64
|
- develop-7.x
|
|
64
|
65
|
- feature/*
|
|
65
|
66
|
except:
|
| ... |
... |
@@ -70,6 +71,7 @@ build: |
|
70
|
71
|
<<: *before_script_default
|
|
71
|
72
|
only:
|
|
72
|
73
|
- develop
|
|
|
74
|
+ - develop-5.x
|
|
73
|
75
|
- develop-7.x
|
|
74
|
76
|
except:
|
|
75
|
77
|
- triggers
|
| ... |
... |
@@ -87,6 +89,14 @@ stage: |
|
87
|
89
|
- wget -O - https://gitlab.com/ultreiaio/pom/raw/master/bin/create-milestone.sh | bash
|
|
88
|
90
|
- wget -O - https://gitlab.com/ultreiaio/pom/raw/master/bin/close-stage.sh | sed 's/$1/frirdobserve/' | bash
|
|
89
|
91
|
|
|
|
92
|
+deploy-snapshot:
|
|
|
93
|
+ <<: *env_staging
|
|
|
94
|
+ <<: *test_manual
|
|
|
95
|
+ <<: *before_script_clone
|
|
|
96
|
+ script:
|
|
|
97
|
+ - apt-get update -y && apt-get install libc6-i386 libx32stdc++6 -y
|
|
|
98
|
+ - wget -q -O - https://gitlab.com/ultreiaio/pom/raw/master/bin/execute-maven.sh | sed 's/$1/deploy -DperformRelease/' | bash
|
|
|
99
|
+
|
|
90
|
100
|
latest-site:
|
|
91
|
101
|
<<: *env_test
|
|
92
|
102
|
<<: *test_manual
|
| ... |
... |
@@ -107,7 +117,7 @@ nightly-build: |
|
107
|
117
|
<<: *nightly
|
|
108
|
118
|
script:
|
|
109
|
119
|
- apt-get update -y && apt-get install libc6-i386 libx32stdc++6 -y
|
|
110
|
|
- - mvn clean verify -DperformRelease
|
|
|
120
|
+ - wget -q -O - https://gitlab.com/ultreiaio/pom/raw/master/bin/execute-maven.sh | sed 's/$1/verify -DperformRelease/' | bash
|
|
111
|
121
|
|
|
112
|
122
|
nightly-site:
|
|
113
|
123
|
stage: Test
|
| ... |
... |
@@ -131,7 +141,7 @@ nightly-demo: |
|
131
|
141
|
staging-demo:
|
|
132
|
142
|
<<: *staging
|
|
133
|
143
|
script:
|
|
134
|
|
- - mvn install -am -pl application-web -DskipTests -Pdeploy-demo -DperformRelease
|
|
|
144
|
+ - 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
|
|
135
|
145
|
|
|
136
|
146
|
staging-site:
|
|
137
|
147
|
<<: *staging
|