fix
This commit is contained in:
parent
e92325d5f5
commit
391d4309df
@ -28,4 +28,8 @@ COPY ./sacred1.py ./
|
|||||||
COPY ./sacred2.py ./
|
COPY ./sacred2.py ./
|
||||||
COPY ./skrypt.sh ./
|
COPY ./skrypt.sh ./
|
||||||
COPY ./zadanie2.py ./
|
COPY ./zadanie2.py ./
|
||||||
COPY ./zadanie5.py ./
|
COPY ./zadanie5.py ./
|
||||||
|
|
||||||
|
RUN ./train.py
|
||||||
|
RUN ./sacred1.py
|
||||||
|
RUN ./sacred2.py
|
||||||
|
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -25,19 +25,6 @@ pipeline {
|
|||||||
copyArtifacts fingerprintArtifacts: true, projectName: 's434695-create-dataset', selector: buildParameter('WHICH_BUILD')
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434695-create-dataset', selector: buildParameter('WHICH_BUILD')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('docker-training') {
|
|
||||||
steps {
|
|
||||||
script {
|
|
||||||
def img = docker.build('shroomy/ium2:1')
|
|
||||||
img.inside {
|
|
||||||
sh "python3 train.py"
|
|
||||||
sh "python3 sacred1.py"
|
|
||||||
sh "python3 sacred2.py"
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('archiveArtifacts') {
|
stage('archiveArtifacts') {
|
||||||
steps{
|
steps{
|
||||||
archiveArtifacts 'ium_s434695/**'
|
archiveArtifacts 'ium_s434695/**'
|
||||||
|
Loading…
Reference in New Issue
Block a user