run python in jenkins

This commit is contained in:
Adam Wojdyla 2022-04-02 02:56:55 +02:00
parent e42bacbdbd
commit 972e98c9e1
2 changed files with 3 additions and 8 deletions

View File

@ -16,11 +16,5 @@ COPY ./script.py ./
ARG KAGGLE_USERNAME=testKAGGLE_USERNAME
ARG KAGGLE_KEY=test1KAGGLE_KEY
RUN echo $KAGGLE_USERNAME
RUN echo $KAGGLE_KEY
RUN env
# RUN ./download.sh 117928
RUN python3 ./script.py
# RUN python3 ./script.py

View File

@ -26,7 +26,8 @@ pipeline {
stages {
stage('Prepare dataset') {
steps {
sh './download.sh $CUTOFF'
sh 'python3 ./script.py'
sh 'ls'
}
}
}