Although I share some of Stephen's opinions about the Maven plugin for
Jenkins, I don't think this is related to your issue.

my guess is that the location of web.xml is manually configured in pom.xml
since webapp\WEB-INF\web.xml is certainly not the standard path where to
put web.xml in maven (by default it is rather
src/main/webapp/WEB-INF/web.xml)


Vincent


2014-02-04 Stephen Connolly <stephen.alan.conno...@gmail.com>:

>
> http://javaadventure.blogspot.ie/2013/11/jenkins-maven-job-type-considered-evil.html
>
>
> On 4 February 2014 15:30, Akshay Pratinav <akshayprati...@gmail.com>wrote:
>
>> Hi,
>>
>> I have created a *maven2/3 project *in jenkins.
>>
>> At build step we are getting following error message :
>>
>> [JENKINS] Archiving /var/lib/jenkins/workspace/test/pom.xml to
>> /var/lib/jenkins/jobs/test/modules/com.xyz$test/builds/2014-02-04_07-12-24/archive/com.xyz/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] The specified web.xml file
>> '/var/lib/jenkins/workspace/test/webapp\WEB-INF\web.xml' does not exist
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 6 seconds
>> [INFO] Finished at: Tue Feb 04 07:12:36 PST 2014
>> [INFO] Final Memory: 32M/208M
>>
>> Why is it looking under
>> /var/lib/jenkins/workspace/test/webapp\WEB-INF\web.xml and not
>> /var/lib/jenkins/workspace/test/webapp/WEB-INF/web.xml ?
>>
>> *Note: difference in slash*
>>
>> My web.xml file is present under
>> /var/lib/jenkins/workspace/test/webapp/WEB-INF but it is using wrong slash
>> and causing issues. How can I configure that ?
>>
>> Any help would be appreciated.
>>
>>  --
>> 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