Add doxygen deployment script
This commit is contained in:
parent
1e9b5afaf0
commit
c473cfbb6e
1 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ pipeline {
|
|||
script {
|
||||
doxygensource = "${DOXYGEN}/${ARTIFACT_PATH_TO_DOXYGEN_ROOT}"
|
||||
pathonserver = "${ROOT_PATH_ON_SERVER.trim()}/${productname}/${buildstampprefix}"
|
||||
echo "Moving from ${doxygensource} to ${pathonserver}"
|
||||
echo "Copying from ${doxygensource} to ${pathonserver}"
|
||||
if (isUnix()) {
|
||||
sh """#!/bin/bash
|
||||
rm -rfv "${pathonserver}"
|
||||
|
|
@ -51,7 +51,7 @@ pipeline {
|
|||
mkdir -pv "${pathonserver}"
|
||||
if [ \$? -ne 0 ]; then exit 1; fi
|
||||
|
||||
mv -v "${doxygensource}"/* "${pathonserver}"
|
||||
cp -rv "${doxygensource}"/* "${pathonserver}"
|
||||
if [ \$? -ne 0 ]; then exit 1; fi
|
||||
"""
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue