ium_z434686/Multibranch-Training

41 lines
910 B
Plaintext
Raw Normal View History

2023-05-10 21:15:58 +02:00
pipeline {
agent any
2023-05-10 21:16:43 +02:00
parameters{
string(
defaultValue: 'master',
description: 'BRANCH',
name: 'BRANCH',
trim: false
)
}
2023-05-10 21:15:58 +02:00
stages {
stage('clear_before') {
steps {
sh 'rm -rf *'
}
}
stage('copy_artifacts') {
steps {
2023-05-10 22:30:13 +02:00
copyArtifacts(projectName: 'z-s434686-create-dataset', fingerprintArtifacts: true)
2023-05-10 21:15:58 +02:00
}
}
stage('Docker') {
agent {
dockerfile {
filename 'Dockerfile'
dir 'ium_z434686'
reuseNode true
}
}
steps {
sh 'python ./ium_z434686/create-dataset.py'
archiveArtifacts 'prediction.csv'
}
}
stage('clear_after') {
steps {
sh 'rm -rf *'
}
}
}
}