ium_z434686/Multibranch-Evaluation

40 lines
882 B
Plaintext
Raw Normal View History

2023-05-10 22:53:25 +02:00
pipeline {
agent any
parameters{
string(
2023-05-10 22:53:52 +02:00
defaultValue: 'master',
description: 'BRANCH',
name: 'BRANCH',
2023-05-10 22:53:25 +02:00
trim: false
)
}
stages {
stage('clear_before') {
steps {
sh 'rm -rf *'
}
}
stage('Clone Git') {
steps {
sh 'git clone https://git.wmi.amu.edu.pl/s434686/ium_z434686'
}
}
stage('copy_artifacts') {
steps {
2023-05-10 22:57:09 +02:00
copyArtifacts(projectName: 'z-s434686-training/master', fingerprintArtifacts: true)
2023-05-10 22:53:25 +02:00
}
}
2023-05-10 23:43:25 +02:00
stage('copy_artifacts_from_inside') {
2023-05-10 23:41:41 +02:00
steps {
copyArtifacts(projectName: 'z-s434686-evaluation/master', fingerprintArtifacts: true)
}
}
2023-05-10 23:49:57 +02:00
2023-05-10 22:53:25 +02:00
stage('clear_after') {
steps {
sh 'rm -rf *'
}
}
}
}