This commit is contained in:
ulaniuk 2022-04-03 21:39:52 +02:00
parent 289c5e1eff
commit a8e9968a1d
2 changed files with 6 additions and 9 deletions

10
Jenkinsfile vendored
View File

@ -33,19 +33,17 @@ pipeline {
}
}
}
stage("Build Docker") {
steps {
sh 'docker build -t ium_478855 .'
}
}
stage("Dara Preparation") {
agent {
dockerfile true
dockerfile {
additionalBuildArgs '-t ium'
}
}
steps {
sh 'echo "PREPARATION"'
sh "chmod u+x ./preparation.sh"
sh "./preparation.sh"
sh "python create_data.py"
archiveArtifacts 'KaggleV2-May-2016.csv'
}
}

View File

@ -1,4 +1,3 @@
echo "Preparation inner"
docker ps
docker run ium_478855
python create_data.py
kaggle datasets download -d AnalyzeBoston/crimes-in-boston --force
unzip -o crimes-in-boston.zip