Update 'Multibranch-Training'

This commit is contained in:
Patryk Gałka 2023-05-10 21:16:43 +02:00
parent 99d5f06595
commit 3c18832f17

View File

@ -1,22 +1,19 @@
pipeline { pipeline {
agent any agent any
parameters{
//Definijuemy parametry, które będzie można podać podczas wywoływania zadania string(
parameters{ defaultValue: 'master',
string( description: 'BRANCH',
defaultValue: 'master', name: 'BRANCH',
description: 'BRANCH', trim: false
name: 'BRANCH', )
trim: false }
)
}
stages { stages {
stage('clear_before') { stage('clear_before') {
steps { steps {
sh 'rm -rf *' sh 'rm -rf *'
} }
} }
stage('copy_artifacts') { stage('copy_artifacts') {
steps { steps {
copyArtifacts filter: 'X_test.csv,X_dev.csv,X_train.csv', fingerprintArtifacts: true, projectName: 'z-s434686-create-dataset', selector: workspace() copyArtifacts filter: 'X_test.csv,X_dev.csv,X_train.csv', fingerprintArtifacts: true, projectName: 'z-s434686-create-dataset', selector: workspace()