2022-03-21 11:28:45 +01:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
stages {
|
2022-03-26 11:42:48 +01:00
|
|
|
stage('Hello') {
|
2022-03-21 11:28:45 +01:00
|
|
|
steps {
|
|
|
|
echo 'Hello world!'
|
|
|
|
}
|
|
|
|
}
|
2022-03-26 11:42:48 +01:00
|
|
|
stage('Checkout') {
|
|
|
|
steps {
|
|
|
|
script {
|
|
|
|
git credentialsId: 's444498', url: 'https://git.wmi.amu.edu.pl/s444498/ium_444498.git'
|
|
|
|
sh "ls -lart ./*"
|
|
|
|
sh "git branch -a"
|
|
|
|
sh "git checkout master"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-03-21 11:28:45 +01:00
|
|
|
}
|
2022-03-26 11:42:48 +01:00
|
|
|
}
|