Explorar o código

Re-order post testing steps

Jamie Curnow %!s(int64=5) %!d(string=hai) anos
pai
achega
3ddd3b49fd
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  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/*'
 				}
 			}
 		}