Test
This commit is contained in:
parent
268f621d58
commit
d6e8852e03
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user