Browse Source

added Jenkinsfile

master
Adam Hunter 10 years ago
parent
commit
f4c575eb36
  1. 18
      Jenkinsfile

18
Jenkinsfile

@ -0,0 +1,18 @@
#!groovy
node {
stage 'Checkout'
checkout scm
stage 'Build'
echo "Branch is: ${env.BRANCH_NAME}"
echo "Build is: ${env.BUILD_NUMBER}"
env.DOCKER_USE_HUB = 1
withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'dockerbot',
usernameVariable: 'DOCKER_USERNAME',
passwordVariable: 'DOCKER_PASSWORD']]) {
wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'XTerm']) {
sh './build.sh'
}
}
}
Loading…
Cancel
Save