Add doxygen deployment script

This commit is contained in:
Dan Hawkins 2020-09-06 08:28:58 +01:00
commit 226ac59162

View file

@ -43,7 +43,7 @@ pipeline {
doxygensource = "${DOXYGEN}/${ARTIFACT_PATH_TO_DOXYGEN_ROOT}"
pathonserver = "${ROOT_PATH_ON_SERVER.trim()}/${productname}/${buildstampprefix}"
echo "Moving from ${doxygensource} to ${pathonserver}"
if isUnix() {
if (isUnix()) {
sh """#!/bin/bash
rm -rfv "${pathonserver}"
if [ \$? -ne 0 ]; then exit 1; fi