Skip to content
Permalink
80e4134cad
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
21 lines (13 sloc) 363 Bytes
node {
stage 'Checkout'
checkout scm
stage 'Base'
sh './build_image.sh'
stage 'Tests'
sh '/usr/local/bin/bats tests/base.bats'
stage 'Push'
docker.withRegistry('https://registry.hub.docker.com/', 'dockerhub-bigfleet') {
def baseImg = docker.build('bigfleet/centos7base')
baseImg.push('latest')
}
}