2024-03-20 14:29:28 +01:00
|
|
|
pipeline {
|
2024-03-20 14:34:10 +01:00
|
|
|
agent any
|
|
|
|
//Definijuemy parametry, które będzie można podać podczas wywoływania zadania
|
|
|
|
parameters {
|
|
|
|
string (
|
|
|
|
defaultValue: 'Hello World!',
|
|
|
|
description: 'Tekst, którym chcesz przywitać świat',
|
|
|
|
name: 'INPUT_TEXT',
|
|
|
|
trim: false
|
2024-03-20 14:29:28 +01:00
|
|
|
)
|
2024-03-20 14:34:10 +01:00
|
|
|
}
|
|
|
|
stages {
|
|
|
|
stage('Checkout') {
|
|
|
|
steps {
|
|
|
|
checkout scmGit(
|
|
|
|
branches: [[name: '*/main']],
|
|
|
|
extensions: [],
|
|
|
|
userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/pms/ium-s301654']])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-03-20 14:29:28 +01:00
|
|
|
}
|