16 lines
468 B
Groovy
16 lines
468 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('Checkout') {
|
|
steps {
|
|
script {
|
|
git credentialsId: 's478993', url: 'https://git.wmi.amu.edu.pl/s478993/mieszkania5.git'
|
|
// Do a ls -lart to view all the files are cloned. It will be clonned. This is just for you to be sure about it.
|
|
sh "ls -lart ./*"
|
|
// List all branches in your repo.
|
|
sh "git branch -a"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |