Thanks Scott. I am having trouble copying artifacts from another job
using $COPYARTIFACT_BUILD_NUMBER. The job in question has a dot and
hyphens in the name (ie MY-PROJECT-1.0)  The documentation says that
anything not a letter is replaced with "_" (ie
projectName.toUpperCase().replaceAll("[^A-Z]+", "_")) but I am finding
on this job, it does not work.
So $COPYARTIFACT_BUILD_NUMBER_MY_PROJECT_ should be the string used
but it is not working. I have tried a number of combinations as well.
I thought I remembered reading somewhere that using a dot in a job
name is not recommended but I cannot find anything in the docs or
elsewhere to prove that.

On Mon, Oct 14, 2013 at 11:39 AM, Scott Evans <milwrd...@gmail.com> wrote:
> I'm not familiar with any offhand which are illegal, though I'd suggest as
> best practices to avoid anything that's not a standard alphabetic, numeric,
> or dash/underscore.  Depending on what platform(s) you're working on, I'd
> suggest for sure to avoid spaces, as that just gets weird with some
> command-line stuff if there are spaces in the job name.  It's probably more
> of an OS limitation on what would be a valid directory name rather than
> anything within Jenkins itself.
>
> Scott
>
>
> On Mon, Oct 14, 2013 at 10:33 AM, Maureen Barger <mobar...@gmail.com> wrote:
>>
>> Hi - I am having a hard time finding any list of characters we should
>> not use in job names. Are there any? Thanks.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to