zadanie doker

This commit is contained in:
szymonj98 2022-04-03 14:25:06 +02:00
parent 3726cdb317
commit cceda43fb9
2 changed files with 2 additions and 3 deletions

View File

@ -4,3 +4,4 @@ FROM python:3.9
RUN pip install --user kaggle
RUN pip install --user pandas
CMD python kagle.py

4
Jenkinsfile vendored
View File

@ -27,9 +27,7 @@ pipeline {
stage('Stage 1') {
steps {
echo 'Hello world!!!'
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s444386/ium_444386']]])
sh "chmod u+x ./kagle.py"
sh "python3 kagle.py"
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s444386/ium_444386']]])
archiveArtifacts 'data.csv'
}
}