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'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-11 00:31:58 +02:00
|
|
|
|
2023-05-10 23:49:57 +02:00
|
|
|
|
2023-05-10 22:53:25 +02:00
|
|
|
stage('clear_after') {
|
|
|
|
steps {
|
|
|
|
sh 'rm -rf *'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|