update jenkinsfile and dockerfile
This commit is contained in:
parent
3cbd877b48
commit
2fb186feb5
@ -25,4 +25,4 @@ COPY download.sh .
|
|||||||
COPY Zajecia_2/main.py .
|
COPY Zajecia_2/main.py .
|
||||||
|
|
||||||
RUN ./download.sh
|
RUN ./download.sh
|
||||||
#CMD ["python3", "./main.py"]
|
RUN ["python3", "./main.py"]
|
||||||
|
@ -14,8 +14,9 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage("Script") {
|
stage("Script") {
|
||||||
steps {
|
steps {
|
||||||
|
copyArtifacts fingerprintArtifacts: true, projectName: 's444356-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||||
sh " ./stats.sh"
|
sh " ./stats.sh"
|
||||||
sh "python3 ./Zajecia_2/main.py"
|
archiveArtifacts 'lines.txt'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user