Add doxygen deployment script

This commit is contained in:
Dan Hawkins 2020-09-05 23:02:33 +01:00
commit 9c81da3e19

View file

@ -34,34 +34,34 @@ pipeline {
buildstampprefix = doxygenmeta.buildstampinfo.buildstampprefix
echo "Doyxgen imported for product: ${productname} and build stamp prefix: ${buildstampprefix}"
pathonserver = "${ROOT_PATH_ON_SERVER}/${productname}/${buildstampprefix}"
}
}
}
/*
stage('Clean exports') {
stage('Clean destination') {
steps {
script {
env.DOXYGEN = "api_docs"
cleanfolders = [
API_DOCS,
pathonserver,
]
cleaner = load("${autobuilder.commonscripts()}/clean/clean.groovy")
cleaner.clean(cleanfolders)
}
}
}
stage('Copy api docs') {
stage('Copy doxygen to server') {
steps {
script {
dir("${SOURCEDIR}/documents/api/public") {
fileOperations([fileCopyOperation(targetLocation: "${WORKSPACE}/${API_DOCS}", includes: '*.docx,*.pptx')])
doxygensource = "${DOXYGEN}/${DOXYGEN ARTIFACT_PATH_TO_DOXYGEN_ROOT)"
echo "Copying from ${doxygensource} to ${pathonserver}"
dir(doxygensource {
fileOperations([fileCopyOperation(targetLocation: pathonserver)])
}
}
}
}
*/
}
post {
always {