run pytest
This commit is contained in:
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@@ -12,21 +12,28 @@ pipeline {
|
|||||||
steps{
|
steps{
|
||||||
script {
|
script {
|
||||||
// app = docker.build("docker.triton2.fet.at/dev_theia", "--no-cache .")
|
// app = docker.build("docker.triton2.fet.at/dev_theia", "--no-cache .")
|
||||||
app = docker.build("doc2020app", ".")
|
app = docker.build("doc2020apptest", ".")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
stage('Test Inside') {
|
stage('Test Inside') {
|
||||||
steps{
|
steps{
|
||||||
script {
|
script {
|
||||||
app.inside("-u root:root") {
|
testapp.inside("-u root:root") {
|
||||||
sh '/usr/local/openresty/bin/openresty -t'
|
sh 'pytest -v'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
stage('rebuild') {
|
||||||
|
steps{
|
||||||
|
script {
|
||||||
|
// app = docker.build("docker.triton2.fet.at/dev_theia", "--no-cache .")
|
||||||
|
app = docker.build("doc2020app", ".")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Deploy Image') {
|
stage('Deploy Image') {
|
||||||
steps{
|
steps{
|
||||||
|
|||||||
Reference in New Issue
Block a user