Open-source multiplayer game server compatible with the RuneScape client
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.
 
 
openrs2/Jenkinsfile

30 lines
830 B

pipeline {
agent any
stages {
stage('Build') {
steps {
withCredentials([usernamePassword(
credentialsId: 'archiva',
usernameVariable: 'ORG_GRADLE_PROJECT_openrs2RepoUsername',
passwordVariable: 'ORG_GRADLE_PROJECT_openrs2RepoPassword'
)]) {
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'
)
}
}
}