Fix Jenkinsfile
This commit is contained in:
parent
1ff097323d
commit
2e58b878a9
@ -145,6 +145,7 @@ vcs.xml
|
|||||||
*.idx
|
*.idx
|
||||||
*.lof
|
*.lof
|
||||||
*.lot
|
*.lot
|
||||||
|
*.brf
|
||||||
/auto
|
/auto
|
||||||
{{cookiecutter.thesis_surname}}.pdf
|
{{cookiecutter.thesis_surname}}.pdf
|
||||||
{{cookiecutter.thesis_surname}}.zip
|
{{cookiecutter.thesis_surname}}.zip
|
||||||
|
@ -1,13 +1,23 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
|
|
||||||
node ('tau2013z') {
|
agent { label 'tau2013z' }
|
||||||
|
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'autozoil']], submoduleCfg: [], userRemoteConfigs: [[url: 'https://gitlab.com/filipg/autozoil.git']]])
|
stages {
|
||||||
|
|
||||||
|
stage ('get-autozoil') {
|
||||||
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'autozoil']], submoduleCfg: [], userRemoteConfigs: [[url: 'https://gitlab.com/filipg/autozoil.git']]])
|
||||||
|
}
|
||||||
|
|
||||||
stage ('build-pdf') {
|
stage ('build-pdf') {
|
||||||
sh """
|
sh """
|
||||||
bash build.sh
|
bash build.sh
|
||||||
"""
|
"""
|
||||||
|
post {
|
||||||
|
always {
|
||||||
|
archiveArtifacts artifacts: '{{cookiecutter.thesis_surname}}.pdf', fingerprint: true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stage ('autozoil') {
|
stage ('autozoil') {
|
||||||
@ -16,10 +26,5 @@ AUTOZOIL_DIR=autozoil bash check.sh
|
|||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|
||||||
post {
|
|
||||||
always {
|
|
||||||
archiveArtifacts artifacts: '{{cookiecutter.thesis_surname}}.pdf', fingerprint: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user