Update status-context to append java-version 99/15599/8
authorSuresh Channamallu <schannamallu@linuxfoundation.org>
Fri, 10 May 2019 18:15:45 +0000 (14:15 -0400)
committerSuresh Channamallu <schannamallu@linuxfoundation.org>
Mon, 13 May 2019 20:56:37 +0000 (16:56 -0400)
Multiple jobs created using same job-template updating same github check status
due to hard coded status-context to Maven Verify.
Now appending status-context with maven-version and java-version to make it unique.

Issue: RELENG-2027
Signed-off-by: Suresh Channamallu <schannamallu@linuxfoundation.org>
Change-Id: I2ae048a24c9c68e73ab0086cf05d327eb375856d

jjb/lf-maven-jobs.yaml
releasenotes/notes/fix-same-status-context-issue-for-maven-verify-2b3f2047a16db870.yaml [new file with mode: 0644]

index 98bc714..7c47aec 100644 (file)
       - github-pull-request:
           trigger-phrase: '^(recheck|reverify)$'
           only-trigger-phrase: false
-          status-context: 'Maven Verify'
+          status-context: 'Maven Verify {mvn-version}-{java-version}'
           permit-all: true
           github-hooks: true
           white-list-target-branches:
       - github-pull-request:
           trigger-phrase: '^(recheck|reverify)$'
           only-trigger-phrase: false
-          status-context: 'Maven Docker Verify'
+          status-context: 'Maven Docker Verify {mvn-version}-{java-version}'
           permit-all: true
           github-hooks: true
           white-list-target-branches:
diff --git a/releasenotes/notes/fix-same-status-context-issue-for-maven-verify-2b3f2047a16db870.yaml b/releasenotes/notes/fix-same-status-context-issue-for-maven-verify-2b3f2047a16db870.yaml
new file mode 100644 (file)
index 0000000..308193c
--- /dev/null
@@ -0,0 +1,9 @@
+---
+fixes:
+  - |
+    fix multiple jobs created using same job-template  update same
+    github check status due to hard coded status-context to Maven Verify.
+    Now appending status-context with maven-version and java-version to
+    make it unique. And create different status checks in the github.
+    fix applied for maven verify and maven docker verify jobs
+