提交 10ac32f8 编写于 作者: D dingbo

test: Jekinsfile2 add build docs stage

上级 77395f7c
...@@ -171,6 +171,25 @@ pipeline { ...@@ -171,6 +171,25 @@ pipeline {
''' '''
} }
} }
stage ('build docs') {
when {
allOf {
changeRequest()
{ expression { env.CHANGE_BRANCH =~ /docs\// }}
}
}
agent {label "docusaurus"}
steps {
timeout(time: 5, unit: 'MINUTES') {
sync_source()
script {
sh '''
echo hello
'''
}
}
}
}
stage ('Parallel build stage') { stage ('Parallel build stage') {
//only build pr //only build pr
options { skipDefaultCheckout() } options { skipDefaultCheckout() }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册