docker-v2
This commit is contained in:
parent
7f7f14fd9e
commit
2f00ff49b3
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -19,15 +19,20 @@ 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}" ]) {
|
||||||
|
|
||||||
|
|
||||||
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")
|
||||||
|
testImage.inside {
|
||||||
sh 'python3 ./skrypt_download.py'
|
sh 'python3 ./skrypt_download.py'
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
archiveArtifacts "valid"
|
archiveArtifacts "valid"
|
||||||
|
Loading…
Reference in New Issue
Block a user