forked from openrs2/openrs2
parent
a1d1c74987
commit
73df826e85
@ -0,0 +1,30 @@ |
||||
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' |
||||
) |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue