From 004e543cc213148197754cdf920cd77d9ede2e36 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Wed, 3 Jul 2019 11:09:49 -0700 Subject: [PATCH] Jenkins: run EON test first --- Jenkinsfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0a861a5fa1ae2c..0b43b341a54b0c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,22 +20,22 @@ pipeline { } } } - stage('Test Dev Build') { + stage('Test EON Build') { steps { lock(resource: "Pandas", inversePrecedence: true, quantity:1){ timeout(time: 60, unit: 'MINUTES') { - sh "docker run --name ${env.DOCKER_NAME} --privileged --volume /dev/bus/usb:/dev/bus/usb --volume /var/run/dbus:/var/run/dbus --net host ${env.DOCKER_IMAGE_TAG} bash -c 'cd /tmp/panda; ./run_automated_tests.sh '" + sh "docker cp ${env.DOCKER_NAME}:/tmp/panda/nosetests.xml test_results_dev.xml" + sh "touch EON && docker cp EON ${env.DOCKER_NAME}:/EON" + sh "docker start -a ${env.DOCKER_NAME}" } } } } - stage('Test EON Build') { + stage('Test Dev Build') { steps { lock(resource: "Pandas", inversePrecedence: true, quantity:1){ timeout(time: 60, unit: 'MINUTES') { - sh "docker cp ${env.DOCKER_NAME}:/tmp/panda/nosetests.xml test_results_dev.xml" - sh "touch EON && docker cp EON ${env.DOCKER_NAME}:/EON" - sh "docker start -a ${env.DOCKER_NAME}" + sh "docker run --name ${env.DOCKER_NAME} --privileged --volume /dev/bus/usb:/dev/bus/usb --volume /var/run/dbus:/var/run/dbus --net host ${env.DOCKER_IMAGE_TAG} bash -c 'cd /tmp/panda; ./run_automated_tests.sh '" } } }