diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-01-02 01:43:09 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-01-02 01:50:34 +0100 |
commit | f022b470e2828520e7179001c97dbecb449241c2 (patch) | |
tree | 175f3f53bd3036c2d81055cb2d9eb5c0aa5fff56 /jjb | |
parent | 9341d2e37026c0d65ede57cd417e91db93ea2e03 (diff) |
Fix Xtesting workspace
It completes "Publish Xtesting daily jobs" [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/66131/
Change-Id: I82cd92f8ad3fd777868eba9875793846662cfddf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/functest/xtesting.yaml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/jjb/functest/xtesting.yaml b/jjb/functest/xtesting.yaml index 0a0e60514..85a008c7d 100644 --- a/jjb/functest/xtesting.yaml +++ b/jjb/functest/xtesting.yaml @@ -15,7 +15,7 @@ parameters: - label: name: slave - default: opnfv-build-ubuntu + default: lf-build2 - job-template: name: '{repo}-{container}-{tag}-pull' @@ -62,20 +62,19 @@ builders: - shell: | set +ex - rm -rf /var/jenkins_home/workspace/$JOB_NAME/* + rm -rf /var/lib/jenkins/workspace/$JOB_NAME/* if [ "{port}" = "None" ]; then image={repo}/{container}:{tag} else image={repo}:{port}/{container}:{tag} fi sudo docker run --rm \ - --link testapi:testapi \ - -v /data/jenkins/workspace/$JOB_NAME/results:/var/lib/xtesting/results \ + -v /var/lib/jenkins/workspace/$JOB_NAME/results:/var/lib/xtesting/results \ $image run_tests -t {test} res=$? - gsutil -m cp -r /var/jenkins_home/workspace/$JOB_NAME/ \ + gsutil -m cp -r /var/lib/jenkins/workspace/$JOB_NAME/ \ gs://artifacts.opnfv.org/xtesting/$JOB_NAME-$BUILD_ID > /dev/null - find /var/jenkins_home/workspace/$JOB_NAME/ -type f \ + find /var/lib/jenkins/workspace/$JOB_NAME/ -type f \ -printf \ "http://artifacts.opnfv.org/xtesting/$JOB_NAME-$BUILD_ID/%P\n" exit $res |