Skip to content
Permalink
e4b4887541
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
Latest commit 80e4134 Jul 14, 2016 History
0 contributors

Users who have contributed to this file

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')
}
}