From d6e8852e032ce3db8b59e9708f25df376418d57f Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Mon, 29 Nov 2021 11:14:21 +0100 Subject: [PATCH] Test --- Jenkinsfile | 2 ++ test/run_tests.sh | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1e8e134..d3a7128 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,6 +7,8 @@ pipeline { def customImage = docker.build("paper-cutter:${env.BUILD_ID}") customImage.inside() { dir('test') { + sh 'git clone https://git.wmi.amu.edu.pl/filipg/paper-cutter.git' + sh 'ls -l paper-cutter' sh 'bash run_tests.sh' } } diff --git a/test/run_tests.sh b/test/run_tests.sh index 8aae83a..fb512f4 100755 --- a/test/run_tests.sh +++ b/test/run_tests.sh @@ -12,8 +12,7 @@ check() echo "*** TESTING $config_file" echo "=========================================================================================" rm -rf "$PAPER_DIR" - echo "TESTTTTTTTTTTTTTTTTTTT" - cookiecutter https://gitlab.com/filipg/paper-cutter --config-file "$config_file" --no-input --checkout master + cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --config-file "$config_file" --no-input --checkout master cd "$PAPER_DIR" make clean make