You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am executing the below set of code through our bamboo pipeline
echo ${bamboo.build.working.directory}
cd "${bamboo.build.working.directory}"
chmod -R +rwx ${bamboo.build.working.directory}
chmod -R 777 ./
ls
docker run -v $(pwd):/zap/wrk/ --rm -t owasp/zap2docker-stable zap-baseline.py -t {domain} -g gen.conf -r ${bamboo.build.working.directory}/testreport.html
sleep 12m
ls -ltr
Still, I am getting the below error:
Failing as no matching files has been found and empty artifacts are not allowed.
After 14 mins of being idle, our agent dies.
Please suggest.
Hello @Abhishek Kumar,
Welcome to Atlassian Community!
Do you see the "testreport.html" file being reported at the very end of you build by the "ls -ltr" command?
It may also be a case where the Artifact definition does not match "testreport.html". Can you review it and validate if that's set correctly?
Bamboo would expand variables in a Shell Script task using a different format. Can you try using the following format instead?
More information here:
Cheers,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.