docker-v3

This commit is contained in:
s434732 2021-04-10 16:00:15 +02:00
parent 1af7085e79
commit 70707b18e4

3
Jenkinsfile vendored
View File

@ -27,8 +27,9 @@ node {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434732/ium_434732']]]) checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434732/ium_434732']]])
checkout scm checkout scm
def image = docker.build("image") def image = docker.build("image")
image.inside { image.inside('-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY}' {
sh 'python3 ./skrypt_download.py' sh 'python3 ./skrypt_download.py'
} }