[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:
25
jobs-dsl/jobs/Cloud/Deploy/Backend/openresty_deploy.groovy
Normal file
25
jobs-dsl/jobs/Cloud/Deploy/Backend/openresty_deploy.groovy
Normal 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()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user