This commit is contained in:
Filip Gralinski 2021-11-29 11:14:21 +01:00
parent 268f621d58
commit d6e8852e03
2 changed files with 3 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -7,6 +7,8 @@ pipeline {
def customImage = docker.build("paper-cutter:${env.BUILD_ID}") def customImage = docker.build("paper-cutter:${env.BUILD_ID}")
customImage.inside() { customImage.inside() {
dir('test') { 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' sh 'bash run_tests.sh'
} }
} }

View File

@ -12,8 +12,7 @@ check()
echo "*** TESTING $config_file" echo "*** TESTING $config_file"
echo "=========================================================================================" echo "========================================================================================="
rm -rf "$PAPER_DIR" rm -rf "$PAPER_DIR"
echo "TESTTTTTTTTTTTTTTTTTTT" cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --config-file "$config_file" --no-input --checkout master
cookiecutter https://gitlab.com/filipg/paper-cutter --config-file "$config_file" --no-input --checkout master
cd "$PAPER_DIR" cd "$PAPER_DIR"
make clean make clean
make make