Fix module name in puppet-lint
Double the curly braces because the template engine is just the Python string template system. Pass name as an argument to the macro for the 'project' parameter. Change-Id: I6cd8fce6052c94fc0d3c3f75ee0a62c366e430e6 Reviewed-on: https://review.openstack.org/35863 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Mathieu Gagné <mgagne@iweb.com> Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
This commit is contained in:
parent
f030196ecf
commit
097409ca65
modules/openstack_project/files/jenkins_job_builder/config
@ -66,10 +66,10 @@
|
||||
name: puppet-lint
|
||||
builders:
|
||||
- shell: |
|
||||
test -d modules || {
|
||||
test -d modules || {{
|
||||
ln -s . {project}
|
||||
cd {project}
|
||||
}
|
||||
}}
|
||||
rake lint
|
||||
|
||||
- builder:
|
||||
|
@ -20,7 +20,8 @@
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- puppet-lint
|
||||
- puppet-lint:
|
||||
project: '{name}'
|
||||
|
||||
publishers:
|
||||
- console-log
|
||||
|
Loading…
x
Reference in New Issue
Block a user