DO-95/omp_from_nextCloud_to_nexus (#3)

add sync both NextCloud and Nexus

Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/3
Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech>
Co-committed-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech>
This commit is contained in:
aleksandr.vodyanov
2023-11-03 11:11:33 +03:00
committed by Aleksandr Vodyanov
parent 5dcf1cd539
commit 7eeaa65b16
5 changed files with 148 additions and 13 deletions

View File

@@ -0,0 +1,4 @@
folder('OMP') {
displayName('OMP')
description('Folder contains jobs for work with OMP NextCloud storage')
}

View File

@@ -0,0 +1,32 @@
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')
}
}
}