configure Jenkinsfile

This commit is contained in:
Łukasz Chrostowski 2023-10-24 18:49:29 +02:00
parent 3a8a8ed6eb
commit f361bbe0b9

20
Jenkinsfile vendored
View File

@ -1,16 +1,10 @@
pipeline { pipeline {
agent any agent any
stages { stages {
stage('Checkout') { stage('Stage 1') {
steps { steps {
script { echo 'Hello world!'
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"
}
}
} }
}
} }