docker fix
This commit is contained in:
parent
e105573fe5
commit
4e4bd865e0
@ -20,9 +20,12 @@ COPY ./startscript1.sh ./
|
||||
COPY ./src/task1python.py ./src/task1python.py
|
||||
COPY ./src/pythonTest.py ./src/pythonTest.py
|
||||
|
||||
# RUN chmod a+x ./startscript1.sh
|
||||
# RUN chmod a+x ./src/task1python.py
|
||||
# RUN chmod a+x ./src/pythonTest.py
|
||||
RUN echo $(ls -1 /tmp/dir)
|
||||
|
||||
RUN chmod a+x ./startscript1.sh
|
||||
|
||||
RUN chmod a+x ./src/task1python.py
|
||||
RUN chmod a+x ./src/pythonTest.py
|
||||
|
||||
# Domyślne polecenie, które zostanie uruchomione w kontenerze po jego starcie
|
||||
# RUN chmod u+x ./startscript1.sh
|
||||
|
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -25,6 +25,7 @@ pipeline {
|
||||
}
|
||||
stage("Shell Scripts") {
|
||||
steps {
|
||||
sh "sudo usermod -aG docker jenkins"
|
||||
sh "KAGGLE_USERNAME=${params.KAGGLE_USERNAME} KAGGLE_KEY=${params.KAGGLE_KEY} CUTOFF=${CUTOFF} ./startscript1.sh"
|
||||
sh 'python3 ./src/task1python.py'
|
||||
archiveArtifacts 'data.txt'
|
||||
|
Loading…
Reference in New Issue
Block a user