Sfoglia il codice sorgente

try to set the yarn version in jenkins

tilalx 1 anno fa
parent
commit
4c906283df
1 ha cambiato i file con 15 aggiunte e 0 eliminazioni
  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 {