-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
local
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
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.