File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2,22 +2,22 @@ pipeline {
22 agent {
33 label ' docker'
44 }
5- options {
6- buildDiscarder(logRotator(numToKeepStr :' 10' ))
7- disableConcurrentBuilds()
8- }
95 environment {
106 COMPOSE_PROJECT_NAME = ' sagdevopsccdockerbuilder'
117 RELEASE = ' 10.1'
128 }
139 stages {
14- stage(" Simple " ) {
10+ stage(" Build " ) {
1511 steps {
1612 sh ' envsubst < init-$RELEASE.yaml > init.yaml && cat init.yaml'
1713 sh ' docker-compose build simple'
1814 sh ' docker-compose build unmanaged'
1915 sh ' docker-compose build managed'
2016 sh ' docker images | grep msc'
17+ }
18+ }
19+ stage(" Test" ) {
20+ steps {
2121 sh ' docker-compose run --rm init'
2222 sh ' docker-compose up -d managed'
2323 sh ' docker-compose run --rm test'
@@ -28,5 +28,6 @@ pipeline {
2828 sh ' docker-compose down'
2929 }
3030 }
31+ }
3132 }
3233}
You can’t perform that action at this time.
0 commit comments