From 04bd07248280ae9c3420d14972aeffe5899578d2 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Apr 12 2018 18:33:03 +0000 Subject: [PATCH 1/2] add exports --- diff --git a/.cico.pipeline b/.cico.pipeline index e1e24ce..748a6ba 100644 --- a/.cico.pipeline +++ b/.cico.pipeline @@ -1,7 +1,7 @@ def onmyduffynode(script){ ansiColor('xterm'){ timestamps{ - sh 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -l root ${DUFFY_NODE}.ci.centos.org -t \"REPO=${REPO} BRANCH=${BRANCH}\" "' + script + '"' + sh 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -l root ${DUFFY_NODE}.ci.centos.org -t \"export REPO=${REPO}; export BRANCH=${BRANCH};\" "' + script + '"' } } } From 8da98fbbece92056b344ef6b3f57d96b20df251f Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Apr 12 2018 18:33:56 +0000 Subject: [PATCH 2/2] run_ci_tests from the pagure checkout --- diff --git a/.cico.pipeline b/.cico.pipeline index 748a6ba..c973f78 100644 --- a/.cico.pipeline +++ b/.cico.pipeline @@ -43,7 +43,7 @@ node('pagure') { stage('Run Test Suite') { timeout(time: 6, unit: 'HOURS') { - onmyduffynode 'sh ./pagure/run_ci_tests.sh' + onmyduffynode 'cd pagure && sh ./pagure/run_ci_tests.sh' } }