Files
Rustam Tagaev 176a300735 [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>
2024-12-28 12:05:06 +03:00

29 lines
727 B
Groovy

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 * * * *')
}
}
}
}
}