Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Golang not found in Bitbucket pipeline

sebastien_amet
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!
August 24, 2022

Hello,

I am using a pipeline definition proposed here: 

https://bitbucket.org/atlassian/pipelines-examples-go/src/master/

But during the pipeline I have 

bash: go: command not found

I have debug it:

echo $GOPATH => empty
GOPATH=/c/Go/bin
echo $GOPATH => /c/Go/bin
go version =>bash: go: command not found

Is Golang deployed? Shall I deploy it?

 

Thanks

 

 

1 answer

1 accepted

0 votes
Answer accepted
sebastien_amet
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!
August 25, 2022

The base image was not correct.

Works much better with 

image: golang :) !!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events