Hashar has uploaded a new change for review. https://gerrit.wikimedia.org/r/243181
Change subject: Job for apps/android/java-mwapi ...................................................................... Job for apps/android/java-mwapi Lets run `./gradlew clean checkstyle build`. Abstract checkstyle publisher to a jjb macro 'gradle-reports-checkstyle' Create job apps-android-java-mwapi Archive build/reports and test-results Interpret Junit test-results Adjust Zuul messages reported back to Gerrit so they point to the build page instead of the console. Match behavior of others apps-* repos. Bug: T108735 Change-Id: I1532daceb85a30cb26ba903fea1c22f64f32b3ec --- M jjb/mobile.yaml M zuul/layout.yaml 2 files changed, 47 insertions(+), 8 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/integration/config refs/changes/81/243181/1 diff --git a/jjb/mobile.yaml b/jjb/mobile.yaml index afe8cf2..61f134d 100644 --- a/jjb/mobile.yaml +++ b/jjb/mobile.yaml @@ -6,6 +6,18 @@ - '{name}-jslint' - '{name}-phplint' +- publisher: + name: gradle-reports-checkstyle + publishers: + - checkstyle: + pattern: "**/build/reports/checkstyle/checkstyle.xml" + can-run-on-failed: true + healthy: 0 + unhealthy: 100 + thresholds: + failed: + total-all: 1 + - job-template: name: 'apps-android-wikipedia-test' node: contintLabsSlave && AndroidEmulator @@ -46,14 +58,7 @@ - archive: # Capture generated .apk, ProGuard mappings, checkstyle.xml, and test results artifacts: '**/build/outputs/**,**/build/reports/**,**/test-results/**/*.xml,**/androidTest-results/**/*.xml' - - checkstyle: - pattern: "**/build/reports/checkstyle/checkstyle.xml" - can-run-on-failed: true - healthy: 0 - unhealthy: 100 - thresholds: - failed: - total-all: 1 + - gradle-reports-checkstyle - junit: results: '**/test-results/**/*.xml,**/androidTest-results/**/*.xml' @@ -122,6 +127,30 @@ - 'apps-android-wikipedia-publish' - 'apps-android-wikipedia-lint' +- job-template: + name: 'apps-android-java-mwapi' + node: contintLabsSlave && UbuntuTrusty + defaults: use-remoteonly-zuul + concurrent: true + properties: + - throttle-one-per-node + triggers: + - zuul + builders: + - shell: | + ./gradlew clean checkstyle build + publishers: + - archive: + artifacts: '**/build/reports/**,**/test-results/**/*.xml' + - gradle-reports-checkstyle + - junit: + results: '**/test-results/**/*.xml' + +- project: + name: 'apps-android-java-mwapi' + jobs: + - 'apps-android-java-mwapi' + # Build the mighty Commons application for Android Platforms # Yuvi rocks (bug 20281). - job: diff --git a/zuul/layout.yaml b/zuul/layout.yaml index cc190b3..8db2dd0 100644 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -1554,6 +1554,10 @@ failure-pattern: 'https://integration.wikimedia.org/ci/job/{job.name}/{build.number}/artifact/app/build/outputs/lint-results-alphaDebug.html' success-pattern: 'https://integration.wikimedia.org/ci/job/{job.name}/{build.number}/artifact/app/build/outputs/lint-results-alphaDebug.html' + - name: apps-android-java-mwapi + failure-pattern: 'https://integration.wikimedia.org/ci/job/{job.name}/{build.number}/' + success-pattern: 'https://integration.wikimedia.org/ci/job/{job.name}/{build.number}/' + - name: beta-mediawiki-config-update-eqiad branch: ^master$ success-message: 'SUCCESS Change has been deployed on the EQIAD beta cluster' @@ -2126,6 +2130,12 @@ gate-and-submit: - apps-android-commons-build + - name: apps/android/java-mwapi + test: + - apps-android-java-mwapi + gate-and-submit: + - apps-android-java-mwapi + - name: apps/android/wikipedia test: - apps-jslint -- To view, visit https://gerrit.wikimedia.org/r/243181 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1532daceb85a30cb26ba903fea1c22f64f32b3ec Gerrit-PatchSet: 1 Gerrit-Project: integration/config Gerrit-Branch: master Gerrit-Owner: Hashar <has...@free.fr> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits