pipeline { agent { dockerfile { args '-v /data/maven:/data/maven' } } stages { stage('Setup') { steps { sh 'cd scripts; ./setup.sh' } } stage('Build') { steps { sh './gradlew build typedoc eslint' } post { success { archiveArtifacts artifacts: 'build/libs/*', fingerprint: true archiveArtifacts artifacts: 'build/distributions/*', fingerprint: true publishHTML target: [ allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'src/main/ts/lib/typedoc', reportFiles: 'index.html', reportName: 'TypeDoc' ] } } } } }