paper-cutter/Jenkinsfile
2021-11-29 11:14:21 +01:00

19 lines
545 B
Groovy

pipeline {
agent any
stages {
stage('Test') {
steps {
script {
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'
}
}
}
}
}
}
}