Browse Source

try to set the yarn version in jenkins

tilalx 1 year ago
parent
commit
4c906283df
1 changed files with 15 additions and 0 deletions
  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 {