Skip to content

Commit

Permalink
HV-2023 Add a step to build pdf documentation to the nightly CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-bekhta committed Dec 18, 2024
1 parent 4f5f423 commit d95ec5e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions jenkins/nightly/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,26 @@ pipeline {
}
}
}
stage('Build documentation PDF') {
agent {
label 'Worker&&Containers'
}
steps {
// The timeout cannot be in stage options, because that would
// include the time needed to provision a node.
timeout(time: 15, unit: 'MINUTES') {
withMavenWorkspace {
echo "Generate documentation and distribution packages."
sh """mvn clean install \
-Pdocumentation-pdf \
-DskipTests \
--fail-at-end \
-Dscan=false -Dno-build-cache
"""
}
}
}
}
}
}
}
Expand Down

0 comments on commit d95ec5e

Please sign in to comment.