mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-25 11:46:38 +01:00
Add some echo messages + test github webhook
This commit is contained in:
parent
3cc056983d
commit
5dc02fb6a3
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -30,14 +30,18 @@ pipeline {
|
||||
}
|
||||
stage ('compile') {
|
||||
steps {
|
||||
echo 'Compiling...'
|
||||
withCredentials([string(credentialsId: 'authme-coveralls-token', variable: 'COVERALLS_TOKEN')]) {
|
||||
sh 'mvn clean verify coveralls:report -DrepoToken=$COVERALLS_TOKEN'
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
junit 'target/surefire-reports/*.xml'
|
||||
echo 'Archiving coverage results...'
|
||||
jacoco(execPattern: '**/**.exec', classPattern: '**/classes', sourcePattern: '**/src/main/java')
|
||||
echo 'Archiving test results...'
|
||||
junit 'target/surefire-reports/*.xml'
|
||||
echo 'Archiving artifacts...'
|
||||
archiveArtifacts artifacts: 'target/*.jar', fingerprint: true
|
||||
}
|
||||
}
|
||||
@ -47,6 +51,7 @@ pipeline {
|
||||
branch "master"
|
||||
}
|
||||
steps {
|
||||
echo 'Master branch detected, deploying to maven repository...'
|
||||
sh 'mvn -DskipTests deploy'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user