Skip to content

Commit

Permalink
Merge pull request #3 from darkn3rd/jenkinsfile
Browse files Browse the repository at this point in the history
Added Jeninsfile
  • Loading branch information
darkn3rd authored Feb 18, 2019
2 parents a526440 + 4beaaf0 commit ddbd444
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
pipeline {
agent { docker { image 'python:3.7.2' } }
stages {
stage('build') {
steps {
sh 'pip install -r requirements.txt'
}
}
stage('test') {
steps {
sh 'python test.py'
}
post {
always {
junit 'test-reports/*.xml'
}
}
}
}
}

0 comments on commit ddbd444

Please sign in to comment.