Dockerfile

This commit is contained in:
Mateusz 2024-04-01 16:24:55 +02:00
parent ab20b9c0de
commit 6fe6c064c6

2
Jenkinsfile vendored
View File

@ -2,7 +2,6 @@ pipeline {
agent {
dockerfile {
filename 'Dockerfile'
args '-u root'
}
}
@ -24,6 +23,7 @@ pipeline {
stage('Run create-dataset script') {
steps {
withEnv (["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
sh 'rm -rf ~/.kaggle'
sh 'chmod +x create-dataset.py'
sh 'python3 ./create-dataset.py'
}