I am trying to clean re-install bamboo into the Ubuntu server. However this time my build is failing and these are the logs:
04-Jan-2018 18:39:37 Finished task 'zip the source files' with result: Success
04-Jan-2018 18:39:37 Running post build plugin 'NCover Results Collector'
04-Jan-2018 18:39:37 Running post build plugin 'Artifact Copier'
04-Jan-2018 18:39:37 Publishing an artifact: build.zip
04-Jan-2018 18:39:37 Unable to publish artifact [build.zip]: the source directory /home/bamboo/bamboo-home/xml-data/build-dir/SHOP-REL-BS/builds/build.zip does not exist.
04-Jan-2018 18:39:37 The artifact is required for down stream Stages and Jobs, build will now fail.
04-Jan-2018 18:39:37 The artifact hasn't been successfully published after 683.5 μs
The log shows that the path for artifact is invalid but I can make sure that the path exist. Pelase see the screenshot:
Any help on this is much appreciated.
I got the same error
Unable to publish artifact
Which document told you to use key word `copy pattern`? Did you use Bamboo yaml specs v1 or v2?
Your sytax looks like v2. But in the official document, the key word is `pattern`
artifacts: - name: Binaries location: . pattern: script.sh required: true shared: true
Cleaned the working directory manually before running the plan. Still no luck.
I have done following:
Added a task to see who the user is, shows bamboo as expected.
Added a task to list files, the build.zip is there as expected.
Added a task to give permission 777 to build.zip.
05-Jan-2018 12:24:35 total 285264
05-Jan-2018 12:24:35 -rwxrwxrwx 1 bamboo bamboo 292109077 Jan 5 12:24 build.zip
05-Jan-2018 12:24:35 bamboo
05-Jan-2018 12:24:35 Unable to publish artifact [build.zip]: the source directory /home/bamboo/bamboo-home/xml-data/build-dir/SHOP-REL-BS/builds/build.zip does not exist.
05-Jan-2018 12:24:35 The artifact is required for down stream Stages and Jobs, build will now fail.
Previously installed bamboo on the same server with internal HSQL database but now decided to move to postgresql so re-installed the bamboo.
Used the same exact scripts and settings.
...roperties: -Dbamboo.bitbucket.cloud.use.workspace.api=true There are patches available for Bamboo versions 6.8.3, 6.9.2, and 6.10.5 on the bug report that add support for the System Property. T...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events