X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?p=releng%2Fglobal-jjb.git;a=blobdiff_plain;f=jjb%2Flf-macros.yaml;fp=jjb%2Flf-macros.yaml;h=964abf5165143352835bdd695520af8a631cd3eb;hp=4032c5f44790aa6cbcf3cd91fcd6b066019755cb;hb=c4ca29900a89b9e36a20cf2fda1c686073a59801;hpb=e8f821fc46b51176797f91b00b4fdc8a193c648b diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index 4032c5f4..964abf51 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -473,6 +473,19 @@ default: "{make-opts}" description: "Options to pass to make. Example: -j8" +- parameter: + name: lf-gerrit-event-comment-text-parameter + # GERRIT_EVENT_COMMENT_TEXT parameter is usually provided + # by the triggering gerrit comment. + # Having it as parameter is useful for "Build with parameters", + # for example when testing (otherwise gerrit comment triggered) + # jobs on Sandbox. + parameters: + - string: + name: GERRIT_EVENT_COMMENT_TEXT + default: "{comment-text}" + description: "Simulated gerrit comment when triggering manually." + - parameter: name: lf-infra-maven-parameters parameters: