diff --git a/jenkins/aps_build b/jenkins/aps_build new file mode 100644 index 0000000..c293d56 --- /dev/null +++ b/jenkins/aps_build @@ -0,0 +1,29 @@ +# pvData C++ implementation +# Jenkins @ APS build script +# +# Jenkins invokes scripts with the "-ex" option. So the build is considered a failure +# if any of the commands exits with a non-zero exit code. +# +# Author: Ralph Lange and Andrew Johnson +# Copyright (C) 2013 Helmholtz-Zentrum Berlin für Materialien und Energie GmbH +# All rights reserved. Use is subject to license terms. + +########################################### +# Build + +export EPICS_BASE=${HOME}/jobs/epics-base-3.14/workspace +export EPICS_HOST_ARCH=$(${EPICS_BASE}/startup/EpicsHostArch) + +cat > configure/RELEASE.local << EOF +PVCOMMON=${HOME}/jobs/epics-pvCommon/workspace +EPICS_BASE=${EPICS_BASE} +EOF + +make distclean all + +########################################### +# Test + +for t in bin/linux-x86_64/test*; do +$t +done