retab Jenkinsfile

This commit is contained in:
Tobias Manske 2021-04-14 21:25:39 +02:00
parent 2aed4fe0c9
commit 6b7fd0efe5
Signed by: tobias
GPG Key ID: D5914DC71F2F9352

32
Jenkinsfile vendored
View File

@ -8,28 +8,28 @@ pipeline {
stages { stages {
stage('Cloning our Git') { stage('Cloning our Git') {
steps { steps {
checkout([$class: 'GitSCM', checkout([$class: 'GitSCM',
branches: [[name: '*/master']], branches: [[name: '*/master']],
doGenerateSubmoduleConfigurations: false, doGenerateSubmoduleConfigurations: false,
extensions: [[$class: 'SubmoduleOption', extensions: [[$class: 'SubmoduleOption',
disableSubmodules: false, disableSubmodules: false,
parentCredentials: false, parentCredentials: false,
recursiveSubmodules: true, recursiveSubmodules: true,
reference: '', reference: '',
trackingSubmodules: false]], trackingSubmodules: false]],
submoduleCfg: [], submoduleCfg: [],
userRemoteConfigs: [[url: 'https://git.tobiasmanske.de/user/rad4day/public/blog/']]]) userRemoteConfigs: [[url: 'https://git.tobiasmanske.de/user/rad4day/public/blog/']]])
} }
} }
stage('Build HTML') { stage('Build HTML') {
steps { steps {
script { script {
docker.withRegistry('https://registry.chaoswg.org:5000', 'docker-registry-credentials') { docker.withRegistry('https://registry.chaoswg.org:5000', 'docker-registry-credentials') {
def dockerImage = docker.image('registry.chaoswg.org:5000/alpine-avif-webp:latest') def dockerImage = docker.image('registry.chaoswg.org:5000/alpine-avif-webp:latest')
dockerImage.pull() dockerImage.pull()
} }
} }
sh 'docker pull klakegg/hugo:alpine' sh 'docker pull klakegg/hugo:alpine'