[DO-1444] add_sync_job (!61)

Co-authored-by: Rustam Tagaev <rustam.tagaev@avroid.tech>
Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/61
Reviewed-by: Denis Patrakeev <denis.patrakeev@avroid.team>
Reviewed-by: Aleksandr Vodyanov <aleksandr.vodyanov@avroid.team>
This commit is contained in:
Rustam Tagaev
2024-12-28 12:05:06 +03:00
parent d7cc254692
commit 176a300735
3 changed files with 182 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
pipelineJob('Cloud/Automation/repo-sync') {
description("Sync repo")
definition {
cpsScm {
scm {
git {
remote {
url("${JENKINS_GIT_REPOSITORY_URL}/DevOps/jenkins-pipelines.git")
credentials("${JENKINS_GIT_CREDENTIALS_HTTP}")
}
branch('master')
}
}
scriptPath('pipelines/Cloud/Automation/repo-sync.groovy')
}
}
properties {
disableConcurrentBuilds()
pipelineTriggers {
triggers {
cron {
spec('H * * * *')
}
}
}
}
}