docker-v2
This commit is contained in:
parent
7f7f14fd9e
commit
2f00ff49b3
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -18,6 +18,7 @@ node {
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
stage('Two') {
|
stage('Two') {
|
||||||
|
|
||||||
|
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) {
|
"KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) {
|
||||||
@ -25,8 +26,12 @@ 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']]])
|
||||||
|
|
||||||
|
def image = docker.build("image")
|
||||||
sh 'python3 ./skrypt_download.py'
|
testImage.inside {
|
||||||
|
sh 'python3 ./skrypt_download.py'
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user