diff --git a/Dockerfile b/Dockerfile index 49be593..028a248 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,3 +4,4 @@ FROM python:3.9 RUN pip install --user kaggle RUN pip install --user pandas +CMD python kagle.py \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile index 92a96ab..9ebba5d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' } }