Add doxygen deployment script
This commit is contained in:
parent
bbbd7b6af6
commit
9c81da3e19
1 changed files with 10 additions and 10 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue