X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=releasenotes%2Fnotes%2Foptimize-jjb-deploy-regex-5ecc4287ecbc3317.yaml;fp=releasenotes%2Fnotes%2Foptimize-jjb-deploy-regex-5ecc4287ecbc3317.yaml;h=8511d72cfd9022a7d24ab66a32c3abee1bc466c7;hb=c3128e6979246c6dadb83be4a14b5179b5d53721;hp=0000000000000000000000000000000000000000;hpb=399343540de75a62321e715057798a19d8054abf;p=releng%2Fglobal-jjb.git diff --git a/releasenotes/notes/optimize-jjb-deploy-regex-5ecc4287ecbc3317.yaml b/releasenotes/notes/optimize-jjb-deploy-regex-5ecc4287ecbc3317.yaml new file mode 100644 index 00000000..8511d72c --- /dev/null +++ b/releasenotes/notes/optimize-jjb-deploy-regex-5ecc4287ecbc3317.yaml @@ -0,0 +1,18 @@ +--- +fixes: + - | + The JJB Deploy Job is configured to trigger only if the Gerrit comment + starts with the `jjb-deploy` keyword. + + Without the regex being optimized the job triggers on any occurance + of the `jjb-deploy` keyword in a Gerrit comment, with is waste infra + resources. + + Example of a valid command in Gerrit comment that triggers the job: + + ``jjb-deploy builder-jjb-*`` + + Example of a invalid command in Gerrit comment that would _not_ trigger + the job: + + ``Update the job. jjb-deploy builder-jjb-*``