aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Segundo2024-04-07 05:28:10 +0200
committerChristian Segundo2024-04-07 05:28:10 +0200
commit131f2246d766e1b893874f425753954b3c9aae19 (patch)
tree8a7e8ccb52638aacf94212dadefc61f24ef88cde
parentc555d9a7ba5da3b58742811c69e762f024974319 (diff)
parent84454bdd92f934e4de4a75dc2d6e8c4154227d49 (diff)
downloadlanguagetool-131f2246d766e1b893874f425753954b3c9aae19.tar.gz
Merge branch 'cs/goss-output'
-rw-r--r--.scripts.d/30-test.sh4
-rw-r--r--Jenkinsfile1
2 files changed, 4 insertions, 1 deletions
diff --git a/.scripts.d/30-test.sh b/.scripts.d/30-test.sh
index 4ec890d..26ad3f8 100644
--- a/.scripts.d/30-test.sh
+++ b/.scripts.d/30-test.sh
@@ -15,6 +15,7 @@ curl -fsSL https://goss.rocks/install | sh
export GOSS_SLEEP=${GOSS_SLEEP:-5}
export GOSS_VARS=${GOSS_VARS:-}
+export GOSS_OPTS="--format junit --no-color"
export CONTAINER_LOG_OUTPUT=${CONTAINER_LOG_OUTPUT:-}
# The default 'mount' strategy uses 'sleep infinity' to keep
@@ -27,4 +28,5 @@ fi
goss --gossfile goss.yaml render >goss-full.yaml
mv goss-full.yaml goss.yaml
-dgoss run "chn2guevara/languagetool:${BUILD_ID}"
+mkdir -p build/reports/
+dgoss run "chn2guevara/languagetool:${BUILD_ID}" > build/reports/goss.xml
diff --git a/Jenkinsfile b/Jenkinsfile
index e589dd4..ce6bb7f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -21,4 +21,5 @@ pipeline {
steps { sh 'bash .scripts.d/40-publish.sh' }
}
}
+ post { always { junit 'build/reports/*.xml' } }
}