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,363,065
Community Members
 
Community Events
168
Community Groups

Golang not found in Bitbucket pipeline

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

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
Site Admin
TAGS

Atlassian Community Events