move run script to Dockerfile

This commit is contained in:
s444417 2022-04-10 22:26:49 +02:00
parent 74e37559b1
commit 4ba4eda325
2 changed files with 3 additions and 3 deletions

View File

@ -22,4 +22,4 @@ RUN chmod o+wrx ./startscript1.sh
RUN chmod o+wrx ./runPythonScripts.sh RUN chmod o+wrx ./runPythonScripts.sh
# RUN ./startscript1.sh RUN ./startscript1.sh

4
Jenkinsfile vendored
View File

@ -26,8 +26,8 @@ pipeline {
stage("Shell Scripts") { stage("Shell Scripts") {
steps { steps {
// sh "KAGGLE_USERNAME=${params.KAGGLE_USERNAME} KAGGLE_KEY=${params.KAGGLE_KEY} CUTOFF=${CUTOFF} ./startscript1.sh" // sh "KAGGLE_USERNAME=${params.KAGGLE_USERNAME} KAGGLE_KEY=${params.KAGGLE_KEY} CUTOFF=${CUTOFF} ./startscript1.sh"
sh 'ls -la' // sh 'ls -la'
sh './startscript1.sh' // sh './startscript1.sh'
archiveArtifacts 'data.txt' archiveArtifacts 'data.txt'
} }
} }