From: peusterm Date: Tue, 1 Oct 2019 14:13:42 +0000 (+0200) Subject: CI: Fix in Jenkins file X-Git-Tag: v7.0.0rc1~8 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F06%2F8006%2F2;p=osm%2Fvim-emu.git CI: Fix in Jenkins file Change-Id: Iac3103cca2259f29631795be6bced3e1f7fefff8 Signed-off-by: peusterm --- diff --git a/Jenkinsfile b/Jenkinsfile index dd118e5..31e1f63 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,7 +37,6 @@ def devops_checkout() { } } - node('docker') { checkout scm devops_checkout() @@ -58,9 +57,8 @@ node('docker') { // custom test stage that executes vim-emu's unit tests as root stage("Post-Test") { sh "docker images" - sh "docker run --rm osm/vim-emu-master ls -l" - sh "docker run --rm --privileged --pid='host' -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock osm/vim-emu-master pytest -v" - sh "docker run --rm --privileged --pid='host' -v /var/run/docker.sock:/var/run/docker.sock 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 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 "echo 'done'" } }