From 3ddd3b49fd13131a90bde1373fbd3fe56f0867f4 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Fri, 6 Mar 2020 13:11:04 +1000 Subject: [PATCH] Re-order post testing steps --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d8921cd..fbb769c 100644 --- a/Jenkinsfile +++ b/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/*' } } }