CI: Final check if new CI works 08/8008/1
authorpeusterm <manuel.peuster@uni-paderborn.de>
Tue, 1 Oct 2019 14:52:13 +0000 (16:52 +0200)
committerpeusterm <manuel.peuster@uni-paderborn.de>
Tue, 1 Oct 2019 14:52:13 +0000 (16:52 +0200)
Change-Id: I4cac43812087b15be9ac4ad792f0a8515cb5f524
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
Jenkinsfile

index 0001b09..36156a7 100644 (file)
@@ -56,6 +56,8 @@ node('docker') {
                            docker_args)
 
     // custom test stage that executes vim-emu's unit tests as root
                            docker_args)
 
     // custom test stage that executes vim-emu's unit tests as root
+    // we cannot do this as part of the normal stage 2 since it would create
+    // files owned by root that could not be cleaned up.
     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"
     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"