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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,551,726
Community Members
 
Community Events
184
Community Groups

custom pipe not working

i have a simple pipe that simply does echo "". after i build the image it works perfectly on my local system but bitbucket pipeline throws an error : sh: can't open './pipe.sh': No such file or directory
Screenshot 2023-05-19 100550.png
Screenshot 2023-05-19 1007092.png

3 answers

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 19, 2023

@oboe_ada hi. There is an example of simple bash pipe Dockerfile.

Try this one.

Regards, Igor

yaa , i clone the sme repo , but id didnot work

Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 22, 2023

Could you try to test it without self.hosted runner to understand where is the problem?
I just run default pipeline and all is ok.


0 votes
Erez Maadani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 19, 2023

Hi @oboe_ada 

I think the COPY command should be:

COPY pipe.sh /

The ".sh" is missing.

Hope that helps

i have tries that too it didnot work

Erez Maadani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 19, 2023

Try pulling and running the `bash` image locally, and then run the steps in it manually. 

locally it works put not in bitbucket pipeline

 

 

even with .py it is not working .3.png

but it works locally , only bitbucket pipeline throws this error

FYI , i have tried putting script file in root also and more 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events