Thanks Sir, it worked like a charm now. By the way, any idea fi I can find 
any documentation oe explanation about the "unarchive" step.

I am not able to understand what the switch MAPPING can do as follows
 
 unarchive mapping: ['src.tar': '.', 'target/petclinic.war': 
'petclinic.war']

In one tutorial made available by Cyril le Lerc, we have a statement as 
follows

 sh "cp -rf petclinic.war /opt/apache-tomcat-8-perfs/webapps/ROOT.war"

This copies petclinic.war to adirectory called 
ROOT.war/target/petclinic.war 
it is not copied in webapps as ROOT.war.

I have posted a question since 1 week but nobody is responding

Thanks again

On Saturday, April 4, 2015 at 1:56:32 PM UTC+2, ELIASSAL wrote:

> Hi, I am following the basic tutorial 
> https://github.com/jenkinsci/workflow-plugin/blob/master/TUTORIAL.md, the 
> piecs of script 
> node {
>   git url: 'https://github.com/jglick/simple-maven-project-with-tests.git'
>   def mvnHome = tool 'maven-3.2.5'
>   bat "${mvnHome}\\bin\\mvn   -B verify"
> }
>
> is failing at line  bat "${mvnHome}\\bin\\mvn   -B verify" with the 
> following error
>
>> 'C:\Program' is not recognized as an internal or external command,
>
>
> I replaced this with 
>
>> bat "C:\\M3\\bin\\mvn -B verify"
>
>
> and it worked fine. So what is the solution to use variables that can have 
> Backslashes
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/36526dcd-f5d9-4732-b600-521249b73527%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to