[DO-1037] add_job_for_lic_backup (!35)
Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/35 Reviewed-by: Denis Patrakeev <denis.patrakeev@avroid.tech> Co-authored-by: Rustam Tagaev <rustam.tagaev@avroid.tech> Co-committed-by: Rustam Tagaev <rustam.tagaev@avroid.tech>
This commit is contained in:
committed by
Denis Patrakeev
parent
1d72f7743b
commit
74ac9ea929
28
jobs-dsl/jobs/License-server/license_test_backup.groovy
Normal file
28
jobs-dsl/jobs/License-server/license_test_backup.groovy
Normal file
@@ -0,0 +1,28 @@
|
||||
pipelineJob('License-server/license-test-backup') {
|
||||
description("Тест бэкапов")
|
||||
definition {
|
||||
cpsScm {
|
||||
scm {
|
||||
git {
|
||||
remote {
|
||||
url("${JENKINS_GIT_REPOSITORY_URL}/DevOps/jenkins-pipelines.git")
|
||||
credentials("${JENKINS_GIT_CREDENTIALS_HTTP}")
|
||||
}
|
||||
branch('master')
|
||||
}
|
||||
}
|
||||
scriptPath('pipelines/License-server/license-test-backup.groovy')
|
||||
}
|
||||
}
|
||||
|
||||
properties {
|
||||
disableConcurrentBuilds()
|
||||
pipelineTriggers {
|
||||
triggers {
|
||||
cron {
|
||||
spec('H 6 * * *')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user