Files
jenkins-pipelines/archive/jobs-dsl/jobs/OMP/nextcloud_sync.groovy
2025-02-04 16:15:21 +03:00

33 lines
757 B
Groovy

pipelineJob('OMP/nextcloud-sync') {
logRotator {
numToKeep(10)
artifactNumToKeep(10)
}
properties {
disableConcurrentBuilds()
pipelineTriggers {
triggers {
cron {
spec('H 9 * * *')
}
}
}
}
definition {
cpsScm {
scm {
git {
remote {
url("${JENKINS_GIT_REPOSITORY_URL}/devops/jenkins-pipelines.git")
credentials("${JENKINS_GIT_CREDENTIALS_HTTP}")
}
branch('master')
}
}
scriptPath('pipelines/OMP/nextcloud_sync.groovy')
}
}
}