- defaults:
name: global
- properties:
+ properties: &properties
- &build_discarder_property
build-discarder:
days-to-keep: 180
- ©artifact_property
copyartifact:
projects: '*'
- properties_with_throttle: &properties_with_throttle
- - *build_discarder_property
- - *copyartifact_property
- - throttle:
- option: category
- categories: [ test-and-snapshot ]
- matrix-builds: false
- matrix-configs: true
wrappers:
- timestamps
beta-cron: ''
snapshot-cron: ''
-- yamltemplates:
- name: yamltemplates
-
revision_string: &revision_string
name: revision
default: '1'
disable: '{disable_submodules}'
recursive: true
clean:
- before: true
+ before: {}
- job-template:
<<: *git_source_template
<<: *binaries_template
name: '{name}-binaries-snapshot'
id: 'binaries-snapshot'
- properties: *properties_with_throttle
+ properties: *properties
parameters:
- string: *supported_versions_param
- string: *deb_build_options_param
{notes}
project-type: matrix
- properties: *properties_with_throttle
+ properties: *properties
execution-strategy:
combination-filter: *filter_pattern
touchstone:
id: 'upgrade'
description: 'Test upgrades from PostgreSQL {oldversion} to {newversion}'
project-type: matrix
- properties: *properties_with_throttle
+ properties: *properties
parameters:
- matrix-combinations: *matrix_combination_parameter
execution-strategy:
which-build: upstream-build
fallback-to-last-successful: true
do-not-fingerprint: true
- - shell: 'c=$(ls */*.changes | head -1); echo "${c##*/} ($queue, $upload)" > version.txt'
+ - shell: 'c=$(ls */*.changes | head -1); echo "${{c##*/}} ($queue, $upload)" > version.txt'
- build-name-setter: &build_name_setter_plain
<<: *build_name_setter
- template: '#${BUILD_NUMBER} '
+ template: '#${{BUILD_NUMBER}} '
- shell: '$HOME/apt.postgresql.org/jenkins/dput-pgdg $queue'
publishers:
- ircbot:
sudo schroot -c $(basename $session) -e
rc=1
done
- exit ${rc:-0}
+ exit ${{rc:-0}}
publishers:
- ircbot:
strategy: any-failure