moved chngmod from jenkins to docker file
This commit is contained in:
parent
060b4f7a9d
commit
d3b67a5548
@ -13,7 +13,8 @@ RUN pip3 install pandas
|
||||
RUN pip3 install scikit-learn
|
||||
RUN pip3 install matplotlib
|
||||
RUN mkdir ~/.kaggle/
|
||||
RUN echo '{"username":"riraasaa","key":"1b1376b538ecd7da9e79b94d218ae3ec"}' > ~/.kaggle/kaggle.json
|
||||
#RUN echo '{"username":"riraasaa","key":"1b1376b538ecd7da9e79b94d218ae3ec"}' > ~/.kaggle/kaggle.json
|
||||
RUN sh chmod a+x ./script.sh
|
||||
# Create app directory in image
|
||||
WORKDIR /app
|
||||
# Copy init dataset script to /app directory in image
|
||||
|
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -35,7 +35,6 @@ pipeline {
|
||||
}
|
||||
stage("Shell Script") {
|
||||
steps {
|
||||
sh "chmod u+x ./script.sh"
|
||||
sh "KAGGLE_USERNAME=${KAGGLE_USERNAME} KAGGLE_KEY=${KAGGLE_KEY} CUTOFF=${CUTOFF} ./script.sh"
|
||||
archiveArtifacts 'TEST_winequality-red.csv'
|
||||
archiveArtifacts 'TRAIN_winequality-red.csv'
|
||||
|
Loading…
Reference in New Issue
Block a user