This commit is contained in:
Robert Bendun 2023-05-15 02:50:11 +02:00
parent efbe6924cd
commit 6095a88740

View File

@ -4,7 +4,7 @@ node {
def local_image = docker.build("s452639-image") def local_image = docker.build("s452639-image")
local_image.inside { local_image.inside {
stage('Prepare artifacts') { stage('Prepare accuracy log') {
try { try {
copyArtifacts projectName: currentBuild.projectName, copyArtifacts projectName: currentBuild.projectName,
selector: specific("${currentBuild.previousBuild.number}"), selector: specific("${currentBuild.previousBuild.number}"),
@ -17,7 +17,7 @@ node {
} }
stage('Evaluate') { stage('Evaluate') {
checkout([$class: 'GitSCM', branches: [[name: 'ztm']], extensions: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s452639/ium_452639']]]) checkout([$class: 'GitSCM', branches: [[name: BRANCH_NAME]], extensions: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s452639/ium_452639']]])
copyArtifacts fingerprintArtifacts: true, copyArtifacts fingerprintArtifacts: true,
projectName: 's452639-create-dataset', projectName: 's452639-create-dataset',
@ -26,7 +26,7 @@ node {
target: 'src/' target: 'src/'
copyArtifacts fingerprintArtifacts: true, copyArtifacts fingerprintArtifacts: true,
projectName: 's452639-training', projectName: "s452639-training/${BRANCH_NAME}",
selector: lastSuccessful(), selector: lastSuccessful(),
flatten: true, flatten: true,
target: 'src/' target: 'src/'