This commit is contained in:
Wojciech Lidwin 2023-04-04 15:12:51 +02:00
parent 3af321fdee
commit 1f365aa38b

4
Jenkinsfile vendored
View File

@ -26,9 +26,11 @@ node {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's487197', url: 'https://git.wmi.amu.edu.pl/s487197/ium_487197']]])
}
stage('Dockerfile'){
def testImage = docker.image("test-image")
def testImage = docker.image("ium")
sh "chmod u+x ${env.WORKSPACE}"
testImage.inside("""-w=${WORKSPACE} """){
sh 'echo "Tests passed"'
sh 'python3'
stage('Shell Script') {
// Run the maven build
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",