Skip to content

Commit d95ec5e

Browse files
committed
HV-2023 Add a step to build pdf documentation to the nightly CI job
1 parent 4f5f423 commit d95ec5e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

jenkins/nightly/Jenkinsfile

+20
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,26 @@ pipeline {
9090
}
9191
}
9292
}
93+
stage('Build documentation PDF') {
94+
agent {
95+
label 'Worker&&Containers'
96+
}
97+
steps {
98+
// The timeout cannot be in stage options, because that would
99+
// include the time needed to provision a node.
100+
timeout(time: 15, unit: 'MINUTES') {
101+
withMavenWorkspace {
102+
echo "Generate documentation and distribution packages."
103+
sh """mvn clean install \
104+
-Pdocumentation-pdf \
105+
-DskipTests \
106+
--fail-at-end \
107+
-Dscan=false -Dno-build-cache
108+
"""
109+
}
110+
}
111+
}
112+
}
93113
}
94114
}
95115
}

0 commit comments

Comments
 (0)