configure Jenkinsfile
This commit is contained in:
parent
3a8a8ed6eb
commit
f361bbe0b9
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -1,15 +1,9 @@
|
|||||||
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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user