Page MenuHomeLubuntu Development

Add Jenkins nagging to Lugito
ClosedPublic

Authored by tsimonq2 on Apr 23 2020, 2:08 PM.

Details

Diff Detail

Repository
rLUGITO Lugito
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

tsimonq2 created this revision.
apt-ghetto added a subscriber: apt-ghetto.

A unit test for jenkins.py would be very nice with some fake data.

I have two failing tests with pytest. Is this Python3 or Python2?

lugito/connectors/jenkins.py
120

undefined variable job_name

lugito/webhooks.py
193

Overwrites the function of line 169

jenkinsprojectstatus() or write_jenkins_project_status_to_irc() might be better than a generic name like jenkinstrigger()

This revision now requires changes to proceed.Apr 23 2020, 7:48 PM

Could you look at this again, @apt-ghetto?

I addressed your inline comments. As for tests, this all should be Python 3.

I did notice a lot of the source could probably be cleaned out because of that, but I simply haven't quite had the motivation (yet). For now, I'd say that's a separate thing.

This revision is now accepted and ready to land.Apr 25 2020, 3:12 PM
This revision was automatically updated to reflect the committed changes.