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
16
Jenkinsfile
vendored
16
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,8 +34,15 @@ pipeline {
|
|||||||
|
|
||||||
stage ('Build & Deploy') {
|
stage ('Build & Deploy') {
|
||||||
steps {
|
steps {
|
||||||
withCredentials([string(credentialsId: 'authme-coveralls-token', variable: 'COVERALLS_TOKEN')]) {
|
withMaven(
|
||||||
sh 'mvn -B clean package javadoc:aggregate-jar source:jar deploy coveralls:report -DrepoToken=$COVERALLS_TOKEN'
|
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 {
|
post {
|
||||||
|
Loading…
Reference in New Issue
Block a user