mirror of https://gerrit.osmocom.org/osmo-ci
83 lines
2.5 KiB
YAML
83 lines
2.5 KiB
YAML
# This job runs at the start/end of the pipeline in gerrit-verifications.yml.
|
|
# On start it posts a link to the pipeline to gerrit, and on end a list of
|
|
# failed/successful job links together with a vote +V/-V.
|
|
|
|
- project:
|
|
name: gerrit-verifications-comment
|
|
jobs:
|
|
- 'gerrit-verifications-comment'
|
|
|
|
- job:
|
|
name: 'gerrit-verifications-comment'
|
|
project-type: freestyle
|
|
node: osmocom-gerrit
|
|
retry-count: 3 # scm checkout
|
|
properties:
|
|
- build-discarder:
|
|
days-to-keep: 30
|
|
num-to-keep: 120
|
|
description: |
|
|
Send start and result comments to <a href="https://gerrit.osmocom.org">gerrit</a>.
|
|
</br></br>
|
|
Related issue: <a href="https://osmocom.org/issues/2385">OS#2385</a>
|
|
|
|
parameters:
|
|
- string:
|
|
name: BRANCH_CI
|
|
description: |
|
|
osmo-ci.git branch
|
|
default: 'master'
|
|
- string:
|
|
name: COMMENT_TYPE
|
|
description: set by gerrit verification pipeline job
|
|
- string:
|
|
name: GERRIT_PROJECT
|
|
description: set by gerrit verification pipeline job
|
|
- string:
|
|
name: GERRIT_CHANGE_NUMBER
|
|
description: set by gerrit verification pipeline job
|
|
- string:
|
|
name: GERRIT_PATCHSET_NUMBER
|
|
description: set by gerrit verification pipeline job
|
|
- string:
|
|
name: GERRIT_BRANCH
|
|
description: set by gerrit verification pipeline job
|
|
- string:
|
|
name: GERRIT_HOST
|
|
description: set by gerrit verification pipeline job
|
|
- string:
|
|
name: GERRIT_PATCHSET_REVISION
|
|
description: set by gerrit verification pipeline job
|
|
- string:
|
|
name: GERRIT_PATCHSET_UPLOADER_NAME
|
|
description: set by gerrit verification pipeline job
|
|
- string:
|
|
name: GERRIT_PORT
|
|
description: set by gerrit verification pipeline job
|
|
- string:
|
|
name: GERRIT_REFSPEC
|
|
description: set by gerrit verification pipeline job
|
|
- string:
|
|
name: PIPELINE_BUILD_URL
|
|
description: set by gerrit verification pipeline job
|
|
|
|
scm:
|
|
- git:
|
|
url: 'https://gerrit.osmocom.org/osmo-ci'
|
|
credentials-id: d5eda5e9-b59d-44ba-88d2-43473cb6e42d
|
|
branches:
|
|
- '$BRANCH_CI'
|
|
wipe-workspace: true
|
|
|
|
builders:
|
|
- shell: 'cd scripts/jenkins-gerrit && ./comment_send.sh'
|
|
|
|
wrappers:
|
|
- ansicolor:
|
|
colormap: xterm
|
|
- ssh-agent-credentials:
|
|
users:
|
|
- d5eda5e9-b59d-44ba-88d2-43473cb6e42d
|
|
|
|
# vim: expandtab tabstop=2 shiftwidth=2
|