25 lines
518 B
Plaintext
Executable File
25 lines
518 B
Plaintext
Executable File
pipeline {
|
|
|
|
agent any
|
|
|
|
triggers {
|
|
cron('H H 1,6,11,16,21,26 * *')
|
|
}
|
|
|
|
options {
|
|
disableConcurrentBuilds()
|
|
timeout(time: 1, unit: 'HOURS')
|
|
buildDiscarder(logRotator(numToKeepStr: '10'))
|
|
}
|
|
|
|
stages {
|
|
stage('Make https cert for my domains') {
|
|
|
|
steps {
|
|
dir("/_programs_/proxy-nginx/deploy-this/lets-encrypt"){
|
|
sh "docker compose --file lets-encrypt.yml --env-file lets.env run --rm certbot renew"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |