diff --git a/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml b/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml index 4947d6f2d4..fb9846a42f 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml @@ -65,7 +65,12 @@ - builder: name: puppet-lint builders: - - shell: "rake lint" + - shell: | + test -d modules || { + ln -s . {project} + cd {project} + } + rake lint - builder: name: puppet-syntax