mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-02 23:23:39 +01:00
Fix deploy credentials
This commit is contained in:
parent
90b4adf74e
commit
b034f7647b
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -3,11 +3,6 @@ pipeline {
|
|||||||
label 'argon2'
|
label 'argon2'
|
||||||
}
|
}
|
||||||
|
|
||||||
tools {
|
|
||||||
maven 'Maven 3'
|
|
||||||
jdk 'OracleJDK 8'
|
|
||||||
}
|
|
||||||
|
|
||||||
options {
|
options {
|
||||||
timeout(time: 5, unit: 'MINUTES')
|
timeout(time: 5, unit: 'MINUTES')
|
||||||
timestamps()
|
timestamps()
|
||||||
@ -39,10 +34,17 @@ pipeline {
|
|||||||
|
|
||||||
stage ('Build & Deploy') {
|
stage ('Build & Deploy') {
|
||||||
steps {
|
steps {
|
||||||
|
withMaven(
|
||||||
|
maven: 'Maven 3'
|
||||||
|
jdk: 'OracleJDK 8'
|
||||||
|
globalMavenSettingsConfig: 'e5b005b5-be4d-4709-8657-1981662bcbe3'
|
||||||
|
mavenOpts: '-Xmx4G'
|
||||||
|
) {
|
||||||
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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
archiveArtifacts artifacts: '**/target/*.jar', excludes: '**/target/*-noshade.jar', fingerprint: true
|
archiveArtifacts artifacts: '**/target/*.jar', excludes: '**/target/*-noshade.jar', fingerprint: true
|
||||||
|
Loading…
Reference in New Issue
Block a user