Skip to content

Commit

Permalink
Actually set check_and_set_rebuild plugin url argument
Browse files Browse the repository at this point in the history
  • Loading branch information
bkabrda committed Aug 5, 2015
1 parent de9a382 commit d2c65b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions osbs/build/build_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ def render(self):
self.dj.dock_json_set_arg('prebuild_plugins', "add_yum_repo_by_url", "repourls",
self.spec.yum_repourls.value)

if self.dj.dock_json_has_plugin_conf('prebuild_plugins', 'check_and_set_rebuild'):
self.dj.dock_json_set_arg('prebuild_plugins', 'check_and_set_rebuild', 'url',
self.spec.openshift_uri.value)

if self.spec.metadata_plugin_use_auth.value is not None:
try:
self.dj.dock_json_set_arg('exit_plugins', "store_metadata_in_osv3",
Expand Down

0 comments on commit d2c65b1

Please sign in to comment.