[DO-1519] some refactoring (!77)

Co-authored-by: Rustam Tagaev <rustam.tagaev@avroid.tech>
Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/77
This commit is contained in:
Rustam Tagaev
2025-02-10 16:34:33 +03:00
parent adbd6d2f63
commit b84dd3c1d3
6 changed files with 15 additions and 5 deletions

View File

@@ -0,0 +1,25 @@
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()
}
}