Browse Source

Fix jenkinsfile after messy merge

Jamie Curnow 1 năm trước cách đây
mục cha
commit
33c867895c
1 tập tin đã thay đổi với 1 bổ sung14 xóa
  1. 1 14
      Jenkinsfile

+ 1 - 14
Jenkinsfile

@@ -89,6 +89,7 @@ pipeline {
 				stage('Docs') {
 					steps {
 						dir(path: 'docs') {
+							sh 'yarn set version berry'
 							sh 'yarn install'
 							sh 'yarn build'
 						}
@@ -143,20 +144,6 @@ pipeline {
 					}
 					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 {
 						// Bring up a stack