Second Step
This commit is contained in:
parent
14aba6cb17
commit
1dd3187a36
1 changed files with 19 additions and 4 deletions
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
|
@ -11,5 +11,20 @@ pipeline {
|
|||
sh 'python -m py_compile sources/add2vals.py sources/calc.py'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
agent {
|
||||
docker {
|
||||
image 'qnib/pytest'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'py.test --verbose --junit-xml test-reports/results.xml sources/test_calc.py'
|
||||
}
|
||||
post {
|
||||
always {
|
||||
junit 'test-reports/results.xml'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue