AusweisApp2/resources/jenkins/dsl/Reviews/Review_Docs.groovy

32 lines
744 B
Groovy
Raw Normal View History

2017-07-03 09:30:10 +02:00
import common.Review
def j = new Review
(
name: 'Docs',
label: 'Docs',
artifacts: 'build/docs/**/*.pdf,build/docs/**/*.tar.xz,build/docs/notes/singlehtml/**/appcast.html'
).generate(this)
j.with
{
2017-12-20 14:54:05 +01:00
concurrentBuild()
2017-07-03 09:30:10 +02:00
steps
{
shell('cd source; python resources/jenkins/import.py')
2017-12-20 14:54:05 +01:00
shell('cd build; cmake -Werror=dev ../source -DCMAKE_BUILD_TYPE=release -Dtools.only=true')
2017-07-03 09:30:10 +02:00
shell('cd build; make notes')
shell('cd build; make notes.latex.pdf')
shell('cd build/docs/notes/html; cmake -E tar cfJ ../AusweisApp2_ReleaseNotes.tar.xz .')
shell('cd build; make sdk')
shell('cd build; make sdk.latex.pdf')
shell('cd build/docs/sdk/html; cmake -E tar cfJ ../AusweisApp2_SDK.tar.xz .')
shell('cd build; make doc8')
}
}