project variable is properly set, but was not used in the code. The
result is that project is not passed to jenkins job and some events have
not been processed because of that.
Here is example of this issue taken from production log:
notify: trigger Jenkins uri=[http://user:pass@host:8080/robot/job/obs-event-dispatcher/buildWithParameters]
para=[project= event_type=OBS_SRCSRV_REQUEST_ACCEPTED para=...
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
return;
}
- my @para = ("project=$args->{'project'}",
+ my @para = ("project=$project",
"event_type=$type",
"para=" . encode_base64(encode_json($args),''));
print "notify: trigger Jenkins uri=[$jenkinsuri] para=[@para]\n";