The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 :) !!
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events