Alexsander de Souza has proposed merging ~alexsander-souza/maas/+git/maas-release-tools:fix_gitrev_match into ~maas-committers/maas/+git/maas-release-tools:main.
Commit message: match multi-line strings correctly Requested reviews: MAAS Lander (maas-lander): unittests MAAS Committers (maas-committers) For more details, see: https://code.launchpad.net/~alexsander-souza/maas/+git/maas-release-tools/+merge/442199 -- Your team MAAS Committers is requested to review the proposed merge of ~alexsander-souza/maas/+git/maas-release-tools:fix_gitrev_match into ~maas-committers/maas/+git/maas-release-tools:main.
diff --git a/maas_release_tools/maasci.py b/maas_release_tools/maasci.py index 4c96ce4..019d28d 100644 --- a/maas_release_tools/maasci.py +++ b/maas_release_tools/maasci.py @@ -65,7 +65,7 @@ class JenkinsActions: job_name, build["number"] ) if build_info["description"] is not None: - match = JJB_REV_RE.match(build_info["description"]) + match = JJB_REV_RE.search(build_info["description"]) if match and match.group("gitrev").startswith(rev): return str(build_info["result"]), str( build_info["url"]
-- Mailing list: https://launchpad.net/~sts-sponsors Post to : sts-sponsors@lists.launchpad.net Unsubscribe : https://launchpad.net/~sts-sponsors More help : https://help.launchpad.net/ListHelp