@@ -96,45 +96,6 @@ pipeline {
9696 }
9797 }
9898 }
99- stage(' Checkstyle' ) {
100- parallel {
101- stage(' Service Lifecycle Manager' ) {
102- steps {
103- sh ' ./pipeline/checkstyle/servicelifecyclemanager_stylecheck.sh || true'
104- }
105- }
106- stage(' Function Lifecycle Manager' ) {
107- steps {
108- sh ' ./pipeline/checkstyle/functionlifecyclemanager_stylecheck.sh || true'
109- }
110- }
111- stage(' Plugin Manager' ) {
112- steps {
113- sh ' ./pipeline/checkstyle/pluginmanager_stylecheck.sh || true'
114- }
115- }
116- stage(' sonmanobase' ) {
117- steps {
118- sh ' ./pipeline/checkstyle/sonmanobase_stylecheck.sh || true'
119- }
120- }
121- stage(' Specifc Manager Registry' ) {
122- steps {
123- sh ' ./pipeline/checkstyle/specificmanagerregistry_stylecheck.sh || true'
124- }
125- }
126- stage(' Placement Executive' ) {
127- steps {
128- sh ' ./pipeline/checkstyle/placementexecutive_stylecheck.sh || true'
129- }
130- }
131- stage(' Placement Plugin' ) {
132- steps {
133- sh ' ./pipeline/checkstyle/placementplugin_stylecheck.sh || true'
134- }
135- }
136- }
137- }
13899 stage(' Publish to :latest' ) {
139100 parallel {
140101 stage(' Service Lifecycle Manager' ) {
@@ -181,79 +142,64 @@ pipeline {
181142 }
182143 }
183144 }
184- stage(' Deploying in pre-integration ' ) {
185- when{
186- not{
187- branch ' master'
188- }
189- }
190- steps {
191- sh ' rm -rf tng-devops || true'
192- sh ' git clone https://github.com/sonata-nfv/tng-devops.git'
193- dir(path : ' tng-devops' ) {
194- sh ' ansible-playbook roles/sp.yml -i environments -e "target=pre-int-sp component=mano-framework"'
195- }
196- }
197- }
198- stage(' Publishing to :int' ) {
145+ stage(' Publishing to :v4.0' ) {
199146 when{
200- branch ' master '
147+ branch ' v4.0 '
201148 }
202149 parallel {
203150 stage(' Service Lifecycle Manager' ) {
204151 steps {
205152 echo ' Publishing Service Lifecycle Manager container'
206- sh ' ./pipeline/publish/servicelifecyclemanagement.sh int '
153+ sh ' ./pipeline/publish/servicelifecyclemanagement.sh v4.0 '
207154 }
208155 }
209156 stage(' Function Lifecycle Manager' ) {
210157 steps {
211158 echo ' Publishing Function Lifecycle Manager container'
212- sh ' ./pipeline/publish/functionlifecyclemanagement.sh int '
159+ sh ' ./pipeline/publish/functionlifecyclemanagement.sh v4.0 '
213160 }
214161 }
215162 stage(' Plugin Manager' ) {
216163 steps {
217164 echo ' Publishing Plugin Manager container'
218- sh ' ./pipeline/publish/pluginmanager.sh int '
165+ sh ' ./pipeline/publish/pluginmanager.sh v4.0 '
219166 }
220167 }
221168 stage(' sonmanobase' ) {
222169 steps {
223170 echo ' Publishing sonmanobase container'
224- sh ' ./pipeline/publish/sonmanobase.sh int '
171+ sh ' ./pipeline/publish/sonmanobase.sh v4.0 '
225172 }
226173 }
227174 stage(' Specifc Manager Registry' ) {
228175 steps {
229176 echo ' Publishing Specific Manager Registry container'
230- sh ' ./pipeline/publish/specificmanagerregistry.sh int '
177+ sh ' ./pipeline/publish/specificmanagerregistry.sh v4.0 '
231178 }
232179 }
233180 stage(' Placement Executive' ) {
234181 steps {
235182 echo ' Publishing Placement Executive container'
236- sh ' ./pipeline/publish/placementexecutive.sh int '
183+ sh ' ./pipeline/publish/placementexecutive.sh v4.0 '
237184 }
238185 }
239186 stage(' Placement Plugin' ) {
240187 steps {
241188 echo ' Publishing Placement Plugin container'
242- sh ' ./pipeline/publish/placementplugin.sh int '
189+ sh ' ./pipeline/publish/placementplugin.sh v4.0 '
243190 }
244191 }
245192 }
246193 }
247- stage(' Deploying in integration ' ) {
194+ stage(' Deploying in staging ' ) {
248195 when{
249- branch ' master '
196+ branch ' v4.0 '
250197 }
251198 steps {
252- sh ' ./pipeline/publish/retag.sh'
253199 sh ' rm -rf tng-devops || true'
254200 sh ' git clone https://github.com/sonata-nfv/tng-devops.git'
255201 dir(path : ' tng-devops' ) {
256- sh ' ansible-playbook roles/sp.yml -i environments -e "target=int -sp component=mano-framework"'
202+ sh ' ansible-playbook roles/sp.yml -i environments -e "target=sta -sp-v4.0 component=mano-framework"'
257203 }
258204 }
259205 }
0 commit comments