Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

My agent gets executed before artifact is generated

Abhishek Kumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 11, 2023

I am executing the below set of code through our bamboo pipeline

echo ${}
cd "${}"

chmod -R +rwx ${}
chmod -R 777 ./


docker run -v $(pwd):/zap/wrk/ --rm -t owasp/zap2docker-stable -t {domain} -g gen.conf -r ${}/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.

1 answer

1 vote
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 11, 2023

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?

  • ${bamboo_build_working_directory}

More information here:


Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful-- 

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events