- github-pull-request:
trigger-phrase: '^(recheck|reverify)$'
only-trigger-phrase: false
- status-context: 'Maven Verify'
+ status-context: 'Maven Verify {mvn-version}-{java-version}'
permit-all: true
github-hooks: true
white-list-target-branches:
- github-pull-request:
trigger-phrase: '^(recheck|reverify)$'
only-trigger-phrase: false
- status-context: 'Maven Docker Verify'
+ status-context: 'Maven Docker Verify {mvn-version}-{java-version}'
permit-all: true
github-hooks: true
white-list-target-branches:
# Default parameters #
######################
+ gerrit-skip-vote: false
gerrit_verify_triggers:
- patchset-created-event:
exclude-drafts: true
- branch-compare-type: ANT
branch-pattern: '**/{branch}'
file-paths: '{obj:gerrit_trigger_file_paths}'
+ skip-vote:
+ successful: '{gerrit-skip-vote}'
+ failed: '{gerrit-skip-vote}'
+ unstable: '{gerrit-skip-vote}'
+ notbuilt: '{gerrit-skip-vote}'
- job-template:
# Python projects typically use tox to run testing.
--- /dev/null
+---
+fixes:
+ - |
+ fix multiple jobs created using same job-template update same
+ github check status due to hard coded status-context to Maven Verify.
+ Now appending status-context with maven-version and java-version to
+ make it unique. And create different status checks in the github.
+ fix applied for maven verify and maven docker verify jobs
+
--- /dev/null
+---
+fixes:
+ - |
+ Fix log shipping script to not require a LOGS_SERVER. There was a regression
+ that caused the log shipping script to start requiring a LOGS_SERVER which
+ fails in the case of a system that does not have that optional environment
+ variable set.
--- /dev/null
+---
+features:
+ - |
+ **gerrit-tox-verify** now has a new parameter ``gerrit-skip-vote``
+ (bool) to control whether Jenkins should skip voting depending on
+ the build outcome. It defaults to ``false`` since it is the
+ default used by the Jenkins Gerrit Trigger Plugin.
# Ensure we fail the job if any steps fail.
set -eu -o pipefail
-if [[ -z $LOGS_SERVER ]]; then
+if [[ -z $"${LOGS_SERVER:-}" ]]; then
echo "WARNING: Logging server not set"
else
nexus_url="${NEXUSPROXY:-$NEXUS_URL}"