31 lines
539 B
Plaintext
31 lines
539 B
Plaintext
pipeline {
|
|
agent any
|
|
parameters{
|
|
string(
|
|
defaultValue: 'master',
|
|
description: 'BRANCH',
|
|
name: 'BRANCH',
|
|
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('clear_after') {
|
|
steps {
|
|
sh 'rm -rf *'
|
|
}
|
|
}
|
|
}
|
|
} |