diff --git a/Jenkinsfile b/Jenkinsfile index e69de29..2b14d40 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -0,0 +1,16 @@ +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" + } + } + } + } +} \ No newline at end of file