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