mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-02-18 04:41:31 +01:00
Custom archiver
This commit is contained in:
parent
e3b6ce1ad1
commit
ebc2c0105a
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -34,7 +34,8 @@ pipeline {
|
|||||||
jdk: 'OracleJDK 8',
|
jdk: 'OracleJDK 8',
|
||||||
maven: 'Maven 3',
|
maven: 'Maven 3',
|
||||||
globalMavenSettingsConfig: 'e5b005b5-be4d-4709-8657-1981662bcbe3',
|
globalMavenSettingsConfig: 'e5b005b5-be4d-4709-8657-1981662bcbe3',
|
||||||
mavenOpts: '-Xmx4G'
|
mavenOpts: '-Xmx4G',
|
||||||
|
options: [artifactsPublisher(disabled: true)]
|
||||||
) {
|
) {
|
||||||
withCredentials([string(credentialsId: 'authme-coveralls-token', variable: 'COVERALLS_TOKEN')]) {
|
withCredentials([string(credentialsId: 'authme-coveralls-token', variable: 'COVERALLS_TOKEN')]) {
|
||||||
sh 'mvn -B clean package javadoc:aggregate-jar source:jar deploy coveralls:report -DrepoToken=$COVERALLS_TOKEN'
|
sh 'mvn -B clean package javadoc:aggregate-jar source:jar deploy coveralls:report -DrepoToken=$COVERALLS_TOKEN'
|
||||||
@ -43,7 +44,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
archiveArtifacts artifacts: '**/target/*.jar', excludes: '**/target/*-noshade.jar', fingerprint: true
|
archiveArtifacts artifacts: '**/target/*.jar', excludes: '**/target/*-noshade.jar, **/target/original-*.jar', fingerprint: true
|
||||||
step([
|
step([
|
||||||
$class: 'JavadocArchiver',
|
$class: 'JavadocArchiver',
|
||||||
javadocDir: 'target/apidocs',
|
javadocDir: 'target/apidocs',
|
||||||
|
Loading…
Reference in New Issue
Block a user