Hi,
I have defined my artifacts like below
Name: nfhWars
Location: target
Copy Pattern: **/*.war
The WAR files are placed in below folders
NFH-NFH4-JOB1\nettforhandler-dist\target\nettforhandler-dist-4.0.14-SNAPSHOT-wlsdomain-test\nettforhandler\nettforhandlerapp\abc.war
NFH-NFH4-JOB1\nettforhandler-dist\target\nettforhandler-dist-4.0.14-SNAPSHOT-wlsdomain-test\nettforhandler\nettforhandlerapp\def.war
both war files are folders and not archived files. Both contain directories and files.
I tried many times but the artifacts are never shown up and it says "No files found"
Any help or hint will be very helpful.
It was not working because bamboo expects zipped or archived files as artifacts and not folders.
Sujeet,
You are right - Bamboo doesn't allow the back-slash; I am sorry for the confusion. Please try to use: nettforhandler-dist/target for the Location, and **/*.war for the Copy Pattern. I just tested that on my local Bamboo instance. In case you still face the same problem, please raise a support ticket and provide your Bamboo logs with a screenshot of your Artifact configuration page.
Cheers,
Armen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Armen,
As provided in my last update, Location "nettforhandler-dist/target" and Copy Pattern "**/*.war" is not working. I am using Bamboo 4.3.3 in windows XP. I have raised the ticket and the number is BSP-8963
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the location, I tried the below values and all of them have failed
target
nettforhandler-dist\target
\nettforhandler-dist\target\nettforhandler-dist-4.0.14-SNAPSHOT-wlsdomain-brumm\nettforhandler\nettforhandlerapp
${build.working.directory}/nettforhandler-dist/target
The copy pattern for them respectively are given below
**/*.war
**/*.war
*.war
**/*.war
Not sure where I am going wrong here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Sujeet,
I see that in your Copy Pattern you are using a forward slash, but your directory paths use back-slashes. Can you please try to use a back-slash in your Copy Pattern (**\*.war) and let me know if that makes any difference?
Cheers,
Armen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is Maven based application in which I need to share my artifacts between different stages. The wars of one build in required in the later stages which is bundled together in final build. I tried various options but always end up with "No files found". At last I have used my remote server to copy the wars of previous build and then mix all the stuff there for final build. Not happy with this solution though. Artifact sharing is there for these stuff only. I will be more than happy to see this working so that I can recommend Bamboo for other projects in my company. Hope somebody from Atlassian can help here. Hoping to get some solution here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What applications are you working with here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.