X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=jjb%2Fglobal-macros.yaml;h=caeb86c061d758e4755ae45d2d4672071905cb9f;hb=7ed988259acc8820b8aafdf96c7d0a2f28e6d33c;hp=7f20ada8938d5d77921710429d4a29e72e75d2aa;hpb=a2efc01105689d77d81901a64b9c2c94df55beec;p=ci-management.git diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index 7f20ada89..caeb86c06 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -102,6 +102,14 @@ timeout: 360 fail: true +- wrapper: + name: build-no-activity-timeout + wrappers: + - timeout: + type: no-activity + timeout: '{build-timeout}' + fail: true + - wrapper: # This wrapper is required for all jobs as it configures the wrappers # needed by the fd.io infra. @@ -112,6 +120,10 @@ timeout: '{build-timeout}' timeout-var: 'BUILD_TIMEOUT' fail: true + - timestamps + - ssh-agent-credentials: + users: + - 'jenkins-gerrit-credentials' - jclouds: single-use: True @@ -168,14 +180,19 @@ branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' - # Force Jenkins to pass the same "expected" votes during start + # Force Jenkins always vote the values it should already have voted + # during the prior verify phase override-votes: true gerrit-build-started-verified-value: 1 - skip-vote: - successful: true - failed: true - unstable: true - notbuilt: true + gerrit-build-successful-verified-value: 1 + gerrit-build-failed-verified-value: 1 + gerrit-build-unstable-verified-value: 1 + gerrit-build-notbuilt-verified-value: 1 + gerrit-build-started-codereview-value: 0 + gerrit-build-successful-codereview-value: 0 + gerrit-build-failed-codereview-value: 0 + gerrit-build-unstable-codereview-value: 0 + gerrit-build-notbuilt-codereview-value: 0 # Publishers - publisher: @@ -245,4 +262,3 @@ variable: 'GLOBAL_SETTINGS_FILE' - file-id: '{settings-file}' variable: 'SETTINGS_FILE' -