make gitea/Jenkinsfile declarative

This commit is contained in:
2019-02-10 10:46:56 -05:00
parent 464e6db82f
commit c447bd544e

View File

@@ -1,4 +1,7 @@
pipeline {
def workdir = 'dockerfiles/services/gitea'
def docker_host = 'dkhost:2376'
agent { label 'docker' }
options {
buildDiscarder(logRotator(numToKeepStr: '2'))
@@ -6,6 +9,7 @@ pipeline {
triggers {
cron('@weekly')
}
stages {
stage('prepare') {
steps {