X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Fvim-emu.git;a=blobdiff_plain;f=Jenkinsfile;h=6bb190f6fbee0643fd462a14655084f6f052b992;hp=c314ea1075502e911dfb058b371e1fd0852b0b8c;hb=refs%2Fchanges%2F00%2F8000%2F1;hpb=04dfa0a56895f0b28cb449fe546733d6e3fa6be5 diff --git a/Jenkinsfile b/Jenkinsfile index c314ea1..6bb190f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,12 +39,16 @@ def devops_checkout() { 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" - # TODO run the custom tests here // call the normal OSM devops jobs (without root rights)