From: peusterm Date: Tue, 1 Oct 2019 14:03:08 +0000 (+0200) Subject: CI: Fix of Jenkins file X-Git-Tag: v7.0.0rc1~9 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=baeab7bcd1a8d65301d44c84e091845090010de5;p=osm%2Fvim-emu.git CI: Fix of Jenkins file Change-Id: Ide6a3f4c67b737c19264dd9ed894ede4865e0284 Signed-off-by: peusterm --- diff --git a/Jenkinsfile b/Jenkinsfile index a599ef1..dd118e5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,6 +37,7 @@ def devops_checkout() { } } + node('docker') { checkout scm devops_checkout() @@ -56,11 +57,10 @@ node('docker') { // custom test stage that executes vim-emu's unit tests as root stage("Post-Test") { - sh "Running post-test stage" 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' -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 "echo 'done'" } }