At least that works in a standard workflow, don't know about multibranch,
but I don't think there are any special magic in there to stop this.

/B

On Mon, Dec 7, 2015 at 4:43 PM, Robert Sandell <[email protected]>
wrote:

> Maybe ugly, maybe elegant ;)
>
> node("something") {
>   ws("my-custom-name") {
>     //rest of flow
>   }
> }
>
>
> /B
>
> On Mon, Dec 7, 2015 at 4:38 PM, Nigel Magnay <[email protected]>
> wrote:
>
>> Hi -
>>
>> I have projects building with workflow multibranch.
>>
>> The directory these build in, chosen by jenkins, is
>> /home/jenkins/projectname/branchname
>>
>> Since my branch is called dev/main, I get
>>
>> /home/jenkins/foo/dev%2fmain
>>
>> Which is fine, but turns out quite a few maven things dislike having a %
>> in the path name. Is there an easy way to influence the directory naming
>> scheme to avoid 'special' characters?
>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-dev/CAPYP83TdBExvMZ7wqO_g4hk4E_-dcjH2RCyKriRfkhETJ3K%2BSQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAPYP83TdBExvMZ7wqO_g4hk4E_-dcjH2RCyKriRfkhETJ3K%2BSQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Robert Sandell
> *Software Engineer*
> *CloudBees Inc.*
>



-- 
Robert Sandell
*Software Engineer*
*CloudBees Inc.*

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS3%3DMPJpEUHE_bb7qA37ZoR5i2Cx7YzWvY6K%3D%3DZ6jJwx4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to