[JIRA] (JENKINS-59997) Websphere deployment plugin expects ant GLOB pattern while deploying a war file to WAS 8.5

5 views
Skip to first unread message

krishnalakshmip@gmail.com (JIRA)

unread,
Oct 31, 2019, 6:32:03 AM10/31/19
to jenkinsc...@googlegroups.com
krishna lakshmi created an issue
 
Jenkins / Bug JENKINS-59997
Websphere deployment plugin expects ant GLOB pattern while deploying a war file to WAS 8.5
Issue Type: Bug Bug
Assignee: Unassigned
Components: websphere-deployer-plugin
Created: 2019-10-31 10:31
Environment: local
Priority: Blocker Blocker
Reporter: krishna lakshmi

Hi ,

  I am having an issue while deploying .war file to WAS using websphere deployer plugin. I created the war file using maven build. I have configured the war path in the was deployment configuration . I get the below error even though  the  war file is present in path. 
Connecting to IBM WebSphere Application Server...
Error deploying to IBM WebSphere Application Server: Expecting Ant GLOB pattern, but saw 'C:/CMrest2\CMRestAPI-master/CMRestAPI/target/ **/*.war'. See
http://ant.apache.org/manual/Types/fileset.html
for syntax
Cannot rollback to previous version: artifact is null
Build step 'Deploy To IBM WebSphere Application Server' changed build result to FAILURE
Finished: FAILURE
 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

krishnalakshmip@gmail.com (JIRA)

unread,
Oct 31, 2019, 9:03:04 AM10/31/19
to jenkinsc...@googlegroups.com
krishna lakshmi commented on Bug JENKINS-59997
 
Re: Websphere deployment plugin expects ant GLOB pattern while deploying a war file to WAS 8.5

Below is an update for the issue :

The plugin is actually expecting a relative path , i.e., it is looking  for the artifact within jenkins workspace . We will  have to place the war file manually in the  workspace folder or will have to run a windows batch command to place war file in workspace  after the build is done.  This violates the intent of devops . Plugin should be able to pick up the war file where it built and place i.e., the absolute path of the war file should be accepted.

Reply all
Reply to author
Forward
0 new messages