configure Jenkinsfile
This commit is contained in:
parent
3a8a8ed6eb
commit
f361bbe0b9
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@ -1,16 +1,10 @@
|
||||
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"
|
||||
}
|
||||
}
|
||||
agent any
|
||||
stages {
|
||||
stage('Stage 1') {
|
||||
steps {
|
||||
echo 'Hello world!'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user