[DO-1378] add_ci_for_openresty (!55)

cloud openresty deploy

Co-authored-by: Rustam Tagaev <rustam.tagaev@avroid.tech>
Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/55
Reviewed-by: Denis Patrakeev <denis.patrakeev@avroid.team>
Reviewed-by: Stanislav Gabenov <stanislav.gabenov@avroid.team>
This commit is contained in:
Rustam Tagaev
2024-12-09 16:55:42 +03:00
parent 1d69c81c47
commit 29e0bebe35
3 changed files with 115 additions and 0 deletions

View File

@@ -7,3 +7,8 @@ folder('Cloud/Apps-Backend') {
displayName('Apps-Backend')
description('Apps-Backend organization')
}
folder('Cloud/Deploy') {
displayName('Deploy')
description('Deploy jobs')
}

View File

@@ -0,0 +1,25 @@
pipelineJob('Cloud/Deploy/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/openresty-deploy.groovy')
}
}
properties {
disableConcurrentBuilds()
}
}