Run publish outside of docker container
Change-Id: I0ac8ee583f305efc7e27155624cfb11e2df8085f Reviewed-on: https://forge.frm2.tum.de/review/19616 Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de> Reviewed-by: Jens Krueger <jens.krueger@frm2.tum.de> Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de> Reviewed-by: Bjoern Pedersen <bjoern.pedersen@frm2.tum.de>
This commit is contained in:
parent
335db5f7e1
commit
c0f7034b30
16
ci/Jenkinsfile
vendored
16
ci/Jenkinsfile
vendored
@ -190,14 +190,6 @@ def run_docs() {
|
|||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('publish') {
|
|
||||||
if (GERRIT_EVENT_TYPE == 'change-merged')
|
|
||||||
{
|
|
||||||
sh '''
|
|
||||||
rsync -rlv doc/_build/* /share/ictrl/public/doc/secop
|
|
||||||
'''
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -252,6 +244,14 @@ node("master") {
|
|||||||
img = docker.image('secop_docs:latest')
|
img = docker.image('secop_docs:latest')
|
||||||
img.inside {
|
img.inside {
|
||||||
run_docs()
|
run_docs()
|
||||||
|
}
|
||||||
|
stage('publish') {
|
||||||
|
if (GERRIT_EVENT_TYPE == 'change-merged')
|
||||||
|
{
|
||||||
|
sh '''
|
||||||
|
rsync -rlv doc/_build/* /share/ictrl/public/doc/secop
|
||||||
|
'''
|
||||||
|
}
|
||||||
}}
|
}}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user