X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=jjb%2Fglobal-macros.yaml;h=ec44e9a3ec62b578219da1d24975e7d4ea3c7e36;hb=d80e609dca81ae088c47b510d93dcd6d28ccae26;hp=d5fd41ee87167e3b18f2aa8d0da1f8cb09eb8bdd;hpb=dfbc88c5cd0be065fe7722efeae20c0ff6f42cdd;p=ci-management.git diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index d5fd41ee8..ec44e9a3e 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -25,6 +25,14 @@ default: '{project}' description: "GERRIT_PROJECT parameter if not given by trigger" +- parameter: + name: os-parameter + parameters: + - string: + name: OS + default: '{os}' + description: "OS parameter" + - parameter: name: gerrit-refspec-parameter parameters: @@ -40,6 +48,13 @@ name: MAVEN_SELECTOR default: '{maven}' description: 'Maven selector to be used by shell scripts' +- parameter: + name: repo-name-parameter + parameters: + - string: + name: REPO_NAME + default: '{repo-name}' + description: 'Name of repo to which to publish packaging' ##### SCMS @@ -51,7 +66,7 @@ url: '$GIT_BASE' refspec: '' branches: - - 'origin/${branch}' + - 'origin/{branch}' skip-tag: true wipe-workspace: true @@ -74,7 +89,7 @@ url: '$ZUUL_URL/$ZUUL_PROJECT' refspec: '{refspec}' branches: - - 'origin/$ZUUL_BRANCH' + - '{commit}' skip-tag: true wipe-workspace: true @@ -87,12 +102,25 @@ timeout: 360 fail: true +- wrapper: + # This wrapper is required for all jobs as it configures the wrappers + # needed by the fd.io infra. + name: fdio-infra-wrappers + wrappers: + - timeout: + type: absolute + timeout: '{build-timeout}' + timeout-var: 'BUILD_TIMEOUT' + fail: true + - jclouds: + single-use: True + ###### TRIGGERS - trigger: name: gerrit-trigger-patch-submitted triggers: - gerrit: - server-name: 'Default' + server-name: 'Primary' trigger-on: - patchset-created-event: exclude-drafts: 'false' @@ -110,11 +138,26 @@ - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' +- trigger: + name: gerrit-trigger-manually-triggered + triggers: + - gerrit: + server-name: 'Primary' + trigger-on: + - comment-added-contains-event: + comment-contains-value: '{comment-trigger-value}' + projects: + - project-compare-type: 'ANT' + project-pattern: '{name}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + - trigger: name: gerrit-trigger-patch-merged triggers: - gerrit: - server-name: 'Default' + server-name: 'Primary' trigger-on: - change-merged-event - comment-added-contains-event: @@ -171,6 +214,13 @@ healthy: 50 unhealthy: 40 +- publisher: + name: robot-report + publishers: + - robot: + output-path: '{output-path}' + other-files: '' + ###### BUILDERS - builder: name: ci-management-check-unicode