Created attachment 394710 [details] jenkins-autojobs-0.14.3.ebuild Jenkins Autojobs are a set of scripts that automatically create Jenkins jobs using a template job and the branches/refs in your scm repository.
Created attachment 395210 [details] jenkins-autojobs-0.14.3.ebuild
Created attachment 395212 [details, diff] local_jenkins.patch
Created attachment 395214 [details] jenkins-autojobs-0.14.3.ebuild
__ ERROR at setup of test_namefmt_namesep_global[feature/one/two-{shortref}-.-feature.one.two] _ fatal: empty ident name (for <testuser@archtester.homenetwork>) not allowed ________________ ERROR at setup of test_namefmt_namesep_global[feature/one/two-test-{shortref}---test-feature-one-two] _________________ @fixture(scope='module') def repo(): > return repo_fixture('git') ../test_git.py:21: This is 'rubbish'. The test demands full account details to be setup and probably accessed online. This makes for not ready to work out of the box. tests/test_hg.py .......... tests/test_svn.py ............. are good. I suggest substitute src_unpack() { unpack ${P}.tar.gz with python_prepare_all() ( and add rm -f tests/test_git.py || die In fact the if use test; then \ fi can go, it's optional. Some devs would promote unconditional addition of the 3 lines, others would say use of of statement is fine. Both work, both are right. Use of "src_unpack() {" also works but is not the natural choice.
Created attachment 395370 [details] test log
Git test doesn't work when run with ebuild directly and there is no /etc/gitconfig: ebuild jenkins-autojobs-0.14.3.ebuild clean test It seems to work when run normally with portage.
hmm, it seems to pass when run outside portage as user. <It seems to work when run normally with portage> only when run as root. Run as user in my overlay or in the cvs tree as user triggers total failure by _ "ERROR at setup" in tests/test_git.py. Tested by use of emerge works because it is run with root privileges or as root user. This has seemingly exposed an underlying bug in portage itself, which Tomas can or will submit in separate bug.
*jenkins-autojobs-0.14.3 (02 Feb 2015) 02 Feb 2015; Ian Delaney <idella4@gentoo.org> +files/local_jenkins.patch, +jenkins-autojobs-0.14.3.ebuild, +metadata.xml: new ebuild, written by maintainer, entered under proxy-maintainers herd, fully tested and shored up to see test phase working fully with 1 limitation, closes bug #537442