I've been struggling to get artifact publishing working, so I've configured the most simple test case that I can come up with and still getting no results.
The plan has a single job in it, with the following script:
if [ ! -d "artifacts" ] ; then
mkdir artifacts
fi
echo "This is a test" > artifacts/test1.txt
echo "This is a different test" > test2.txt
The artifact definition for this job is the following:
Name: Retrieve test file
Location:
Copy pattern: *.txt
(I've also tried location = 'artifacts', I've tried copy pattern = '*', '**/*.txt', 'test2.txt', 'artifacts/test1.txt' and other variations)
I've verified, via SSH, that both files are created and are both readable by all users.
In each case, the result has been the log message 'Unable to publish artifact'.
Am I doing something wrong or is this a bug in Bamboo?