62383a6076
In a previously merged commit, I had confused jjb templating interpolation to bash variable interpolation (and conflated the two). this commit resolves the issue so that the jobs are built as expected. Change-Id: Ie223be4c7990b4c758b06daba8fffcd24110b7fa Reviewed-on: https://review.openstack.org/26444 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Dan Prince <dprince@redhat.com> Approved: Monty Taylor <mordred@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
32 lines
776 B
YAML
32 lines
776 B
YAML
- job-template:
|
|
name: 'gate-{name}-puppet-unit-{puppet_version}'
|
|
node: '{node}'
|
|
|
|
triggers:
|
|
- zuul
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
export PUPPET_GEM_VERSION='~> {puppet_version}'
|
|
mkdir .bundled_gems
|
|
export GEM_HOME=`pwd`/.bundled_gems
|
|
bundle install
|
|
echo {puppet_version} | grep '2.6' && git clone git://github.com/puppetlabs/puppetlabs-create_resources.git spec/fixtures/modules/create_resources || true
|
|
bundle exec rake spec SPEC_OPTS='--format documentation'
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
|
|
|
|
- job-group:
|
|
name: 'puppet-module-unit'
|
|
puppet_version:
|
|
- 2.6
|
|
- 2.7
|
|
- 3.0
|
|
- 3.1
|
|
jobs:
|
|
- 'gate-{name}-puppet-unit-{puppet_version}'
|