Skip to content
Permalink
Newer
Older
100644 21 lines (13 sloc) 363 Bytes
1
node {
2
stage 'Checkout'
3
4
checkout scm
5
6
stage 'Base'
7
8
sh './build_image.sh'
9
10
stage 'Tests'
Jim Van Fleet
Jul 13, 2016
11
12
sh '/usr/local/bin/bats tests/base.bats'
13
14
stage 'Push'
15
16
docker.withRegistry('https://registry.hub.docker.com/', 'dockerhub-bigfleet') {
17
def baseImg = docker.build('bigfleet/centos7base')
18
baseImg.push('latest')
19
}
You can’t perform that action at this time.