Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Fix bug of missing config folder for a hook
Browse files Browse the repository at this point in the history
Create folder first before copy.

Change-Id: I08611fe95e6e7fae1d10e673cbdf0a9de53fb68a
  • Loading branch information
leoli committed Jan 9, 2013
1 parent b175a6d commit 9f0a5ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jobs/gerrit/templates/gerrit_init.ctl.erb
Expand Up @@ -74,6 +74,7 @@ cp -pf $JOB_DIR/config/replication.config $CONFIG_DIR/
# Gerrit Hooks setup
rm -rf $HOOKS_DIR
cp -r $PACKAGE_DIR/gerrit_hooks $HOOKS_DIR
mkdir -p $HOOKS_DIR/patchset_notification/config
cp -pf $JOB_DIR/config/gerrit_hooks.yml $HOOKS_DIR/patchset_notification/config/
cp -pf $JOB_DIR/config/notification_config.yml $HOOKS_DIR/patchset_notification/config/
<% if properties.gerrit.pair_mode %>
Expand Down

0 comments on commit 9f0a5ef

Please sign in to comment.