CI: Pre-test stage 00/8000/1
authorpeusterm <manuel.peuster@uni-paderborn.de>
Tue, 1 Oct 2019 11:33:42 +0000 (13:33 +0200)
committerpeusterm <manuel.peuster@uni-paderborn.de>
Tue, 1 Oct 2019 11:33:42 +0000 (13:33 +0200)
Change-Id: Ib75ec0d031fc31df9616219611351a4a8d5723f0
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
Jenkinsfile

index c314ea1..6bb190f 100644 (file)
@@ -39,12 +39,16 @@ def devops_checkout() {
 
 node('docker') {
     checkout scm
 
 node('docker') {
     checkout scm
+
+    stage("Pre-Test") {
+        sh "docker build -t osm/vim-emu-pre-test ."
+    }
+    
     devops_checkout()
 
     // vim-emu: We need to use privileged mode, docker.sock, and host pids for the container
     // to test the emulator. Also needs -u 0:0 (root user inside container).
     //docker_args = "--privileged --pid='host' -v /var/run/docker.sock:/var/run/docker.sock -u 0:0"
     devops_checkout()
 
     // vim-emu: We need to use privileged mode, docker.sock, and host pids for the container
     // to test the emulator. Also needs -u 0:0 (root user inside container).
     //docker_args = "--privileged --pid='host' -v /var/run/docker.sock:/var/run/docker.sock -u 0:0"
-    # TODO run the custom tests here
 
 
     // call the normal OSM devops jobs (without root rights)
 
 
     // call the normal OSM devops jobs (without root rights)