-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
14 lines (13 loc) · 1.05 KB
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pipeline {
agent { dockerfile true }
stages {
stage('Build') {
steps {
sh 'mkdir html && cp -r adoc/img html || cp -r adoc/img/* html/img'
sh 'asciidoctor -D html -r asciidoctor-diagram adoc/index.adoc'
publishHTML([allowMissing: false, alwaysLinkToLastBuild: true, keepAll: false, reportDir: 'html', reportFiles: 'index.html', reportName: 'Spring-Boot-Tutorial', reportTitles: ''])
s3Upload consoleLogLevel: 'INFO', dontWaitForConcurrentBuildCompletion: false, dontSetBuildResultOnFailure: true, entries: [[bucket: 'spring.ybroeker.de', excludedFile: '**/.asciidoctor/**', flatten: false, gzipFiles: false, keepForever: false, managedArtifacts: false, noUploadOnFailure: true, selectedRegion: 'eu-central-1', showDirectlyInBrowser: false, sourceFile: 'html/**', storageClass: 'STANDARD', uploadFromSlave: false, useServerSideEncryption: false]], pluginFailureResultConstraint: 'UNSTABLE', profileName: 'spring-boot-tut-publisher', userMetadata: []
}
}
}
}