You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
654 B
34 lines
654 B
4 years ago
|
pipeline {
|
||
|
agent {
|
||
|
dockerfile true
|
||
|
}
|
||
|
stages {
|
||
|
stage('Checkout Source') {
|
||
|
steps {
|
||
|
git 'https://phab.lubuntu.me/source/manual.git'
|
||
|
}
|
||
|
}
|
||
|
stage('Clean Environment') {
|
||
|
steps {
|
||
|
sh 'make clean'
|
||
|
}
|
||
|
}
|
||
|
stage('Build The Manual As PDF') {
|
||
|
steps {
|
||
|
sh 'make latexpdf'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
post {
|
||
|
success {
|
||
|
publishHTML (target : [allowMissing: false,
|
||
|
alwaysLinkToLastBuild: true,
|
||
|
keepAll: true,
|
||
|
reportDir: 'build/latex',
|
||
|
reportFiles: 'LubuntuManual.pdf',
|
||
|
reportName: 'Lubuntu Manual',
|
||
|
reportTitles: 'Lubuntu Manual'])
|
||
|
}
|
||
|
}
|
||
|
}
|