Co-authored-by: Rustam Tagaev <rustam.tagaev@avroid.tech> Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/77
26 lines
646 B
Groovy
26 lines
646 B
Groovy
pipelineJob('Cloud/Deploy/Backend/openresty-deploy') {
|
|
logRotator {
|
|
numToKeep(10)
|
|
artifactNumToKeep(10)
|
|
}
|
|
|
|
definition {
|
|
cpsScm {
|
|
scm {
|
|
git {
|
|
remote {
|
|
url("${JENKINS_GIT_REPOSITORY_SSH_URL}/DevOps/jenkins-pipelines.git")
|
|
credentials("${JENKINS_GIT_CREDENTIALS_SSH}")
|
|
}
|
|
branch('master')
|
|
}
|
|
}
|
|
scriptPath('pipelines/Cloud/Deploy/Backend/openresty-deploy.groovy')
|
|
}
|
|
}
|
|
|
|
properties {
|
|
disableConcurrentBuilds()
|
|
}
|
|
}
|