zadanie doker
This commit is contained in:
parent
b91cfeb0ef
commit
fb4da55cd4
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -1,5 +1,8 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent { dockerfile true }
|
agent { dockerfile {
|
||||||
|
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} --build-arg CUTOFF=${params.CUTOFF} -t ium"
|
||||||
|
}
|
||||||
|
}
|
||||||
parameters {
|
parameters {
|
||||||
string(
|
string(
|
||||||
defaultValue: 'szymonjadczak',
|
defaultValue: 'szymonjadczak',
|
||||||
@ -28,10 +31,8 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
echo 'Hello world!!!'
|
echo 'Hello world!!!'
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s444386/ium_444386']]])
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s444386/ium_444386']]])
|
||||||
sh "chmod u+x ./dataset_download.sh"
|
|
||||||
sh "KAGGLE_USERNAME=${KAGGLE_USERNAME} KAGGLE_KEY=${KAGGLE_KEY} CUTOFF=${CUTOFF} ./dataset_download.sh"
|
|
||||||
archiveArtifacts 'data.csv'
|
|
||||||
sh "python3 kagle.py"
|
sh "python3 kagle.py"
|
||||||
|
archiveArtifacts 'Steam-200k.csv'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user