Dockerfile

This commit is contained in:
Mateusz 2024-04-01 16:27:23 +02:00
parent 6fe6c064c6
commit 41bf6d158a

8
Jenkinsfile vendored
View File

@ -1,9 +1,5 @@
pipeline {
agent {
dockerfile {
filename 'Dockerfile'
}
}
agent any
parameters {
string (
@ -23,7 +19,7 @@ pipeline {
stage('Run create-dataset script') {
steps {
withEnv (["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
sh 'rm -rf ~/.kaggle'
sh 'ls -al'
sh 'chmod +x create-dataset.py'
sh 'python3 ./create-dataset.py'
}