forked from openrs2/openrs2
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
816 B
30 lines
816 B
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
withCredentials([usernamePassword(
|
|
credentialsId: 'archiva',
|
|
usernameVariable: 'ORG_GRADLE_PROJECT_repoUsername',
|
|
passwordVariable: 'ORG_GRADLE_PROJECT_repoPassword'
|
|
)]) {
|
|
withGradle {
|
|
sh './gradlew --no-daemon clean build publish'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
post {
|
|
always {
|
|
junit '**/build/test-results/test/*.xml'
|
|
jacoco(
|
|
execPattern: '**/build/jacoco/test.exec',
|
|
classPattern: '**/build/classes/*/main',
|
|
sourcePattern: '**/src/main'
|
|
)
|
|
}
|
|
}
|
|
}
|
|
|