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: 

bash: cf: command not found

Lava Kumar Konakalla
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!
June 17, 2018

while I am trying to push to a pivotal web service I am using cf and getting  

bash: cf: command not found error. Do I need to added any configuration for pivotal CLI in bit bucket  ?

 

image: maven:3.3.9

My yml file looks like

 

image: maven:3.3.9

pipelines:
default:
- step:
caches:
- maven
script: # Modify the commands below to build your repository.
- mvn -B verify # -B batch mode makes Maven less verbose
- cf login -a https://api.run.pivotal.io -u 8888 -p 8888
- cf push

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Alexey Matveev
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 Champions.
June 17, 2018

Hello,

You plan is executed in a docker. You provide the maven:3.3.9 image and I guess, there is no cf command there. That is why you have to find the appropriate image with the cf command or try to install cf command in the current image.

Lava Kumar Konakalla
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!
June 20, 2018

I want to know what is the image for cloud foundry

Alexey Matveev
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 Champions.
June 20, 2018

You can find in the internet. but I doubt that there is maven installed. You would need to install later maven into this image.

TAGS
AUG Leaders

Atlassian Community Events