update jenkinsfile and dockerfile

This commit is contained in:
Maciej Czajka 2022-04-04 08:18:16 +02:00
parent 3cbd877b48
commit 2fb186feb5
2 changed files with 4 additions and 3 deletions

View File

@ -25,4 +25,4 @@ COPY download.sh .
COPY Zajecia_2/main.py .
RUN ./download.sh
#CMD ["python3", "./main.py"]
RUN ["python3", "./main.py"]

View File

@ -14,8 +14,9 @@ pipeline {
stages {
stage("Script") {
steps {
sh "./stats.sh"
sh "python3 ./Zajecia_2/main.py"
copyArtifacts fingerprintArtifacts: true, projectName: 's444356-create-dataset', selector: buildParameter('BUILD_SELECTOR')
sh " ./stats.sh"
archiveArtifacts 'lines.txt'
}
}
}