docker-v2

This commit is contained in:
s434732 2021-04-10 15:20:02 +02:00
parent 7f7f14fd9e
commit 2f00ff49b3

7
Jenkinsfile vendored
View File

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