浏览代码

Re-order post testing steps

Jamie Curnow 5 年之前
父节点
当前提交
3ddd3b49fd
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      Jenkinsfile

+ 4 - 4
Jenkinsfile

@@ -93,14 +93,14 @@ pipeline {
 			}
 			post {
 				always {
-					junit 'test/results/junit/*'
+					// Dumps to analyze later
+					sh 'mkdir -p debug'
+					sh 'docker-compose logs fullstack | gzip > debug/docker_fullstack.log.gz'
 					// Cypress videos and screenshot artifacts
 					dir(path: 'test/results') {
 						archiveArtifacts allowEmptyArchive: true, artifacts: '**/*', excludes: '**/*.xml'
 					}
-					// Dumps to analyze later
-					sh 'mkdir -p debug'
-					sh 'docker-compose logs fullstack | gzip > debug/docker_fullstack.log.gz'
+					junit 'test/results/junit/*'
 				}
 			}
 		}