From 6681da605e36cb48a4e92d78932da808cbe783dc Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Sun, 26 Feb 2023 01:30:07 +1000 Subject: [PATCH] Remove extra debug --- Jenkinsfile | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1e39e999..002ba63f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -111,17 +111,11 @@ pipeline { always { // Dumps to analyze later sh 'mkdir -p debug' - sh 'docker-compose cp fullstack:/data/logs/acme.sh.log debug/acme.sh.log' - sh 'docker logs $(docker-compose ps -q fullstack) > debug/docker_fullstack.log' - sh 'docker-compose logs fullstack > debug/docker_compose_fullstack.log' - sh 'docker logs $(docker-compose ps -q stepca) > debug/docker_stepca.log' - sh 'docker-compose logs stepca > debug/docker_compose_stepca.log' - sh 'docker logs $(docker-compose ps -q pdns) > debug/docker_pdns.log' - sh 'docker-compose logs pdns > debug/docker_compose_pdns.log' - sh 'docker logs $(docker-compose ps -q pdns-db) > debug/docker_pdns-db.log' - sh 'docker-compose logs pdns-db > debug/docker_compose_pdns-db.log' - sh 'docker logs $(docker-compose ps -q dnsrouter) > debug/docker_dnsrouter.log' - sh 'docker-compose logs dnsrouter > debug/docker_compose_dnsrouter.log' + sh 'docker logs $(docker-compose ps -q fullstack) > debug/docker_fullstack.log 2>&1' + sh 'docker logs $(docker-compose ps -q stepca) > debug/docker_stepca.log 2>&1' + sh 'docker logs $(docker-compose ps -q pdns) > debug/docker_pdns.log 2>&1' + sh 'docker logs $(docker-compose ps -q pdns-db) > debug/docker_pdns-db.log 2>&1' + sh 'docker logs $(docker-compose ps -q dnsrouter) > debug/docker_dnsrouter.log 2>&1' junit 'test/results/junit/*' } }