Skip to content

Commit

Permalink
Create Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cherrera2001 authored Jun 12, 2018
1 parent db56eed commit b47c489
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
podTemplate(label: 'maven', containers: [
containerTemplate(name: 'maven', image: 'maven:3.3.9-jdk-8-alpine', ttyEnabled: true, command: 'cat')
]) {

node('maven') {
stage('Build a Maven project') {
git 'https://github.com/hashmapinc/Tempus.git'
container('maven') {
sh 'mvn clean install'
}
}
}
}

0 comments on commit b47c489

Please sign in to comment.