I agree, it is poor user experience to require a workspace if one is not really needed.
Will you be investigating further and submitting one or more bug reports describing the problems you've found? Will you be submitting pull requests (with tests) which show the problems and then show that your proposed change has fixed the problem? Thanks, Mark Waite On Mon, Aug 3, 2015 at 1:05 PM Nigel Magnay <nigel.mag...@gmail.com> wrote: > I don't see why polling via a workspace should be required. 'git > ls-remote' is sufficient to determine branch names and SHA1s, and thus to > determine if there are any changes to build. And in any case, there will be > no workspace, since all builds on lightweight docker containers, torn down > immediately after every build. > > It's pretty lousy UX that several options seem to imply the need for a > workspace (yes, I understand this may be required to do 'advanced' > processing, but not in my usecase) - which may never ever exist, resulting > in mysterious (because the config page never mentions this) build > everything over and again behaviour. > > On the project type: that's not that simple, as we rely on the artifact > information stored by Jenkins against the build in the maven project type. > But yes, I've never understood why there's a "native/integrated maven > build" *type -* which can invoke maven precisely once- rather than a > "native/integrated maven build *step*". > > > On Mon, Aug 3, 2015 at 5:54 PM, Mark Waite <mark.earl.wa...@gmail.com> > wrote: > >> Considering how poorly a number of developers think of the maven project >> type, aren't you at least tempted to try a multi-branch with a maven build >> step, rather than using the maven project type? I think your users will >> thank you. >> >> Mark Waite >> >> On Mon, Aug 3, 2015 at 10:30 AM Nigel Magnay <nigel.mag...@gmail.com> >> wrote: >> >>> Multi-branch looks useful, but sadly this project uses the maven project >>> type. >>> >>> I did see some reports about it getting confused that the branch name >>> has a '/' in it. If I get a chance I'll try and diagnose. >>> >>> >>> On Mon, Aug 3, 2015 at 5:20 PM, Mark Waite <mark.earl.wa...@gmail.com> >>> wrote: >>> >>>> I've recently been using the multi-branch plugin with great success. >>>> It automatically creates a new job for each branch it detects, rather than >>>> "hiding" the detection of a new branch inside the execution history of a >>>> single job. You might experiment with it to see if it meets your needs >>>> better than building different branches in the same job. >>>> >>>> I believe the "nonexisting workspace" message is evidence of a bug in >>>> the plugin. I don't know the depth or breadth of the bug, but I've seen >>>> the same message. If you find a clean way to duplicate it, please submit a >>>> bug report to track it. >>>> >>>> Mark Waite >>>> >>>> On Mon, Aug 3, 2015 at 10:04 AM Nigel Magnay <nigel.mag...@gmail.com> >>>> wrote: >>>> >>>>> So I'm trying to set up the git plugin to build feature branches. >>>>> >>>>> Features are on branches like feature/foo and feature/blah. This is a >>>>> common pattern as it's derived from git-flow. >>>>> >>>>> I seem to have tried every combination of branch specifiers, and all >>>>> this results in is jenkins building the same SHA1 over, and over again. >>>>> I've tried removing wildcards, and specifying directly two branch >>>>> specifiers in multiple different formats (refs/heads/features/A, >>>>> remotes/origin/features/A) all to no avail. >>>>> >>>>> All of them seem to result in a polling log declaring >>>>> nonexisting_workspace >>>>> which I don't understand since determining if there are changes ought >>>>> not to require a checkout. But it simply re-triggers and fills up my >>>>> disks. >>>>> >>>>> What have I missed? >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Jenkins Developers" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to jenkinsci-dev+unsubscr...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/jenkinsci-dev/CAPYP83TA_0H5vhRRh-YxNLjrFqJGnMXtZjHkn5bA83sPzzHyWQ%40mail.gmail.com >>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAPYP83TA_0H5vhRRh-YxNLjrFqJGnMXtZjHkn5bA83sPzzHyWQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Jenkins Developers" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to jenkinsci-dev+unsubscr...@googlegroups.com. >>>> >>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtFpPSoa0n3hdkshHenkRm%2BSjTn2WqTQiwTOPqThFOfr9Q%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtFpPSoa0n3hdkshHenkRm%2BSjTn2WqTQiwTOPqThFOfr9Q%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>> >>> >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Jenkins Developers" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to jenkinsci-dev+unsubscr...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-dev/CAPYP83T%2B8bv6DKueX1%2BGULP9As4sj%3Drgxgiz5mkmxvpCiRgQ%2BA%40mail.gmail.com >>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAPYP83T%2B8bv6DKueX1%2BGULP9As4sj%3Drgxgiz5mkmxvpCiRgQ%2BA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to jenkinsci-dev+unsubscr...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtEQ-hpsm9Zu9JaKG2hBkr4kVvg7uz83PwYi87Tuix2A9g%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtEQ-hpsm9Zu9JaKG2hBkr4kVvg7uz83PwYi87Tuix2A9g%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . > > >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CAPYP83TRpCmZ6pHOneq85uie7EU%2BmRWSTPyO13NF5OArk2J-6g%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/CAPYP83TRpCmZ6pHOneq85uie7EU%2BmRWSTPyO13NF5OArk2J-6g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtHyt-J8uFPx0jc-dPqy-vdb21uz3fTmPnBmdpQ7L7isJQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.