Fix? Jenkinsfile

This commit is contained in:
Dragonnight56 2020-12-10 19:48:27 -08:00
parent ace62f3b13
commit efe26e6e28

60
jenkins/Jenkinsfile vendored
View file

@ -11,35 +11,35 @@ pipeline {
sh 'python -m py_compile sources/add2vals.py sources/calc.py' //4 sh 'python -m py_compile sources/add2vals.py sources/calc.py' //4
} }
} }
//stage('Test') { stage('Test') {
//agent { agent {
//docker { docker {
//image 'qnib/pytest' image 'qnib/pytest'
//} }
//} }
//steps { steps {
//sh 'py.test --verbose --junit-xml test-reports/results.xml sources/test_calc.py' sh 'py.test --verbose --junit-xml test-reports/results.xml sources/test_calc.py'
//} }
//post { post {
//always { always {
//junit 'test-reports/results.xml' junit 'test-reports/results.xml'
//} }
//} }
//} }
//stage('Deliver') { stage('Deliver') {
//agent { agent {
//docker { docker {
//image 'cdrx/pyinstaller-linux:python2' image 'cdrx/pyinstaller-linux:python2'
//} }
//} }
//steps { steps {
//sh 'pyinstaller --onefile sources/add2vals.py' sh 'pyinstaller --onefile sources/add2vals.py'
//} }
//post { post {
//success { success {
//archiveArtifacts 'dist/add2vals' archiveArtifacts 'dist/add2vals'
//} }
//} }
//} }
} }
} }