Skip to content

Instantly share code, notes, and snippets.

@jmarcos-cano
Created June 9, 2017 05:27
Show Gist options
  • Save jmarcos-cano/c661e2a2ed273c842949174b94dcc05c to your computer and use it in GitHub Desktop.
Save jmarcos-cano/c661e2a2ed273c842949174b94dcc05c to your computer and use it in GitHub Desktop.
Jenkins file for Doke
node {
wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'gnome-terminal']) {
stage ("Clone"){
git '[email protected]:jmarcos-cano/go-demo.git'
}
stage ("Clean" ){
sh "make clean"
}
stage ("Unit Tests & Build Build Docker image"){
sh "make docker"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment