test:add docs ci in jenkinsfile2

This commit is contained in:
chenhaoran 2024-11-12 21:47:07 +08:00
parent ef367c8f8f
commit dcdf098878
2 changed files with 6 additions and 3 deletions

View File

@ -73,6 +73,9 @@ def check_docs(){
''',
returnStdout: true
).trim()
echo "file_zh_changed: ${file_zh_changed}"
echo "file_en_changed: ${file_en_changed}"
echo "file_no_doc_changed: ${file_no_doc_changed}"
}
}
@ -434,7 +437,7 @@ pipeline {
expression { env.CHANGE_BRANCH =~ /(?i)doc.*/ || file_zh_changed != '' || file_en_changed != '' }
}
parallel {
stage('Build zh Docs') {
stage('build zh docs') {
agent{label "doc_build_0_30"}
when {
expression { file_zh_changed != '' }
@ -443,7 +446,7 @@ pipeline {
build_zh_docs()
}
}
stage('Build en Docs') {
stage('build en docs') {
agent{label "doc_build_0_30"}
when {
expression { file_en_changed != '' }

View File

@ -25,7 +25,7 @@ import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
<table width="100%">
<tr align="center">
<td style={{padding:'1em 3em',border:0}}><img src={xiaot_new} alt="小 T 的二维码 width="200" /></td>
<td style={{padding:'1em 3em',border:0}}><img src={xiaot_new} alt="小 T 的二维码" width="200" /></td>
<td style={{padding:'1em 3em',border:0}}><img src={channel} alt="TDengine 微信视频号" width="200" /></td>
<td style={{padding:'1em 3em',border:0}}><img src={official_account} alt="TDengine 微信公众号" width="200" /></td>
</tr>