浏览代码

try to set the yarn version in jenkins

tilalx 1 年之前
父节点
当前提交
4c906283df
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. 15 0
      Jenkinsfile

+ 15 - 0
Jenkinsfile

@@ -141,6 +141,21 @@ pipeline {
 							junit 'test/results-sqlite/junit/*'
 						}
 					}
+					junit 'test/results/junit/*'
+				}
+			}
+		}
+		stage('Docs') {
+			when {
+				not {
+					equals expected: 'UNSTABLE', actual: currentBuild.result
+				}
+			}
+			steps {
+				dir(path: 'docs') {
+					sh 'yarn set version berry'
+					sh 'yarn install'
+					sh 'yarn build'
 				}
 				stage('Mysql') {
 					steps {