_sd_
This commit is contained in:
parent
01eca704e7
commit
b4e0ee381e
|
|
@ -1,14 +1,17 @@
|
||||||
|
def projects = [
|
||||||
|
"proxy-nginx",
|
||||||
|
"arti24",
|
||||||
|
"angular-services",
|
||||||
|
"arti-angular-app"
|
||||||
|
]
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent any // NAJBEZPIECZNIEJSZA OPCJA
|
||||||
node {
|
|
||||||
label 'master' // lub inna działająca etykieta
|
|
||||||
customWorkspace '/_sd_/_programs_'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Update from git') {
|
stage('Update Git Repositories') {
|
||||||
steps {
|
steps {
|
||||||
|
dir('/_sd_/_programs_') {
|
||||||
script {
|
script {
|
||||||
withCredentials([usernamePassword(
|
withCredentials([usernamePassword(
|
||||||
credentialsId: '9e8daaa4-8c14-41ae-947b-65ba47965dfe',
|
credentialsId: '9e8daaa4-8c14-41ae-947b-65ba47965dfe',
|
||||||
|
|
@ -37,3 +40,4 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue