It seems to be a bug. 
I tried once more and it worked.

Olivier.

Le lundi 10 septembre 2012 09:37:00 UTC+2, Olivier Chorier a écrit :
>
> Hello,
>
> I'm trying to make a new Job in Jenkins, based on CVS plugin.
> The scenario first asks for the tag name to use in CVS, and then uses this 
> value in the CVS section (Jenkins' form)
>
> Here is how I did :
> - This build has parameters : String parameter / Name : TAGNAME / Default 
> Value ; Description
> - In source code management, I selected "CVS" and typed ${TAGNAME} in the 
> Tag Name field (I saw the syntax in a blog after googling).
>
> It worked last week, but today I have the following error : 
>
>> FATAL: Illegal repetition near index 0
>> ${TAGNAME}: (([0-9]+\.)+)0\.([0-9]+)
>> ^java.util.regex.PatternSyntaxException 
>> <http://stacktrace.jenkins-ci.org/search?query=java.util.regex.PatternSyntaxException>:
>>  Illegal repetition near index 0
>> ${TAGNAME}: (([0-9]+\.)+)0\.([0-9]+)
>> ^
>>      at java.util.regex.Pattern.error(Pattern.java:1713)
>>      at java.util.regex.Pattern.closure(Pattern.java:2775)
>>      at java.util.regex.Pattern.sequence(Pattern.java:1889)
>>      at java.util.regex.Pattern.expr(Pattern.java:1752)
>>      at java.util.regex.Pattern.compile(Pattern.java:1460)
>>      at java.util.regex.Pattern.<init>(Pattern.java:1133)
>>      at java.util.regex.Pattern.compile(Pattern.java:847)
>>      at 
>> hudson.scm.CvsChangeLogHelper.getCurrentFileVersion(CvsChangeLogHelper.java:266)
>>      at hudson.scm.CvsChangeLogHelper.mapCvsLog(CvsChangeLogHelper.java:151)
>>      at hudson.scm.CVSSCM.calculateChangeLog(CVSSCM.java:419)
>>      at hudson.scm.CVSSCM.checkout(CVSSCM.java:831)
>>      at hudson.model.AbstractProject.checkout(AbstractProject.java:1248)
>>      at 
>> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589)
>>      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
>>      at 
>> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
>>      at hudson.model.Run.execute(Run.java:1484)
>>      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>>      at hudson.model.ResourceController.execute(ResourceController.java:88)
>>      at hudson.model.Executor.run(Executor.java:236)
>>
>>
> Thanks for help !
>

Reply via email to