From: peusterm Date: Tue, 1 Oct 2019 14:20:50 +0000 (+0200) Subject: CI: Test run that should fail during the unit tests X-Git-Tag: v7.0.0rc1~7 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=a45a24c06bd14d3fc9d360d8e1c59654c66b5734;p=osm%2Fvim-emu.git CI: Test run that should fail during the unit tests Change-Id: Iaf9deee312de6d7be221ae460bf90f0fc0285fe5 Signed-off-by: peusterm --- diff --git a/Jenkinsfile b/Jenkinsfile index 31e1f63..0001b09 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,6 +37,7 @@ def devops_checkout() { } } + node('docker') { checkout scm devops_checkout() @@ -58,7 +59,7 @@ node('docker') { stage("Post-Test") { sh "docker images" sh "docker run --rm --privileged --pid='host' -v /var/run/docker.sock:/var/run/docker.sock -u 0:0 osm/vim-emu-master pytest -v" - sh "docker run --rm --privileged --pid='host' -v /var/run/docker.sock:/var/run/docker.sock -u 0:0 osm/vim-emu-master flake8 --exclude=.eggs,devopsi,build,examples/charms --ignore=E501,W605,W504 ." + sh "docker run --rm --privileged --pid='host' -v /var/run/docker.sock:/var/run/docker.sock -u 0:0 osm/vim-emu-master flake8 --exclude=.eggs,devops,build,examples/charms --ignore=E501,W605,W504 ." sh "echo 'done'" } }