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