version 1.4, 2025/01/22 03:58:43
|
version 1.5, 2025/03/05 17:23:59
|
Line 95 do
|
Line 95 do
|
|
|
mkdir -p "${JOBDIR}" |
mkdir -p "${JOBDIR}" |
cd "${JOBDIR}" |
cd "${JOBDIR}" |
|
|
|
echo "Coherent Logic Development BuildMan" >> "${JLOG}" |
|
echo "Build agent is running job ID ${JOBID} for project ${PROJECT} on node ${THOST}" >> "${JLOG}" |
|
|
echo "${JOBID}" > "${HOSTDIR}/build-running" |
echo "${JOBID}" > "${HOSTDIR}/build-running" |
echo "${JOBID}" > "${JOBDIR}/running" |
echo "${JOBID}" > "${JOBDIR}/running" |
Line 102 do
|
Line 105 do
|
if [ -f "${JSCR}" ] |
if [ -f "${JSCR}" ] |
then |
then |
echo "$PROGN: running build script ${JSCR} for project ${PROJECT} [job id ${JOBID}]" |
echo "$PROGN: running build script ${JSCR} for project ${PROJECT} [job id ${JOBID}]" |
sh "${JSCR}" > ${JLOG} |
sh "${JSCR}" >> ${JLOG} |
RETCODE=$? |
RETCODE=$? |
|
|
rm -f "${HOSTDIR}/build-running" |
rm -f "${HOSTDIR}/build-running" |
rm -f "${JOBDIR}/running" |
rm -f "${JOBDIR}/running" |
|
|
|
rm -f "${HOSTDIR}/build-failing" |
|
rm -f "${HOSTDIR}/build-passing" |
|
|
case $RETCODE in |
case $RETCODE in |
|
|
0) |
0) |