summaryrefslogtreecommitdiffstats
path: root/jjb/apex
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-03-14 12:49:35 -0400
committerDan Radez <dradez@redhat.com>2016-03-17 10:40:22 -0400
commita6594716c24a58f48c968a41bc8dfe72e4bb2a63 (patch)
treed4965f86a2fd25d900d1ec16705968699f0ba1d1 /jjb/apex
parent3e1340047508bc0589bdd4569974b20d26319a39 (diff)
Apex: clean out extra args to deploy and update cleaning
Change-Id: Ic705c17fe70653ebcbfdef4fcd277b266272c671 Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'jjb/apex')
-rw-r--r--jjb/apex/apex.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml
index b304f2270..6f2f441af 100644
--- a/jjb/apex/apex.yml
+++ b/jjb/apex/apex.yml
@@ -15,7 +15,7 @@
branch: 'master'
gs-pathname: ''
block-stream: 'brahmaputra'
- slave: 'opnfv-jump-1'
+ slave: 'intel-pod7'
- brahmaputra:
branch: 'stable/brahmaputra'
gs-pathname: '/brahmaputra'
@@ -167,7 +167,7 @@
- trigger-builds:
- project: 'apex-deploy-{platform}-{scenario}-{stream}'
predefined-parameters:
- OPNFV_CLEAN='yes'
+ OPNFV_CLEAN=yes
git-revision: false
block: true
- trigger-builds:
@@ -229,8 +229,9 @@
- 'apex-build'
- trigger-builds:
- project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream}'
- predefined-parameters:
+ predefined-parameters: |
BUILD_DIRECTORY=apex-build-{stream}/build_output
+ OPNFV_CLEAN=yes
git-revision: false
block: true
- 'apex-upload-artifact'
@@ -502,9 +503,11 @@
else
export OPNFV_ARTIFACT_VERSION=${ARTIFACT_VERSION}
fi
+ # clean for stable but doesn't matter for master
+ sudo opnfv-clean || echo ""
# start the build
cd $WORKSPACE/ci
- ./build.sh -v $OPNFV_ARTIFACT_VERSION $BUILD_ARGS
+ ./build.sh $BUILD_ARGS
RPM_VERSION=$(grep Version $BUILD_DIRECTORY/../build/opnfv-apex.spec | awk '{ print $2 }')-$(echo $OPNFV_ARTIFACT_VERSION | tr -d '_-')
# list the contents of BUILD_OUTPUT directory
ls -al $BUILD_DIRECTORY