Fix CI integrations failing when URLAvatarService is disabled

Review Request #9721 — Created March 3, 2018 and submitted

Information

rbintegrations
master
7b6becc...

Reviewers

If URLAvatarService is disabled, both the TravisCI and CircleCI
integrations will fail to create their service user. This is due to
attempting to access the URLAvatarService without checking if it is
enabled.

Here the fix is to check if it's enabled, then proceed with using the
service.

Ran the unit tests for both travisci and circleci integrations, as
well as manual testing with my jenkinsci code.

david
  1. Ship It!
  2. 
      
jshephard
Review request changed
Status:
Completed
Change Summary:
Pushed to master (973444f)