Skip to content

Commit daa2069

Browse files
Pogrebnyak, SergeiPogrebnyak, Sergei
authored andcommitted
Jenkins update
1 parent 1125e69 commit daa2069

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Jenkinsfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)