Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo and perforce integration isssue Edited

Hi There,

I am trying to add perforce repository for bamboo. But not able to make it. Getting following error while adding repository-

I have downloaded latest bamboo 30days trial and installed on my local machine. Bamboo is installed correctly as I am able to create automated build using MSBuild with BitBucket repository.

My bamboo instance is running on http://localhost:8085.

I have Downloaded and installed latest P4D and P4V from https://www.perforce.com/downloads and installed in the same machine. Perforce server and client are correctly configured as I am able to checkin source code to server using client. Running on  port 1666. By client and server are both installed in C:\Program Files\Perforce.

Screenshot_1.jpg

I have added bamboo Server Capabilities for perforce.

Screenshot_2.jpg

On providing perforce detail while adding repository, getting following three alerts from p4v client-

Screenshot_3.jpgUser id and password are correct also url with port is correct. I am able to get data from repository with this detail.

p4v.exe is already there in my PATH and also I run p4v -help on command prompt, getting following result. I dont see any option named 'info'.

Screenshot_4.jpg

1 answer

0 votes
Foong Atlassian Team Jun 21, 2018

P4V is a visual client. Bamboo need command line client

https://www.perforce.com/downloads/helix-command-line-client-p4

Bamboo Server capabilities have to be updated with this p4 command line client too.

Thank you for your response. 

I have changed server capabilities to p4.exe. Now I dont see any error popup. But getting following message for Depot view-

"Depot view is not in the format //client_name/... or //client_name/workspace_mapping/..."

If I run p4 info, getting the following-

C:\Windows\System32>p4 info
User name: bamboo
Client name: QS-0049
Client host: QS-0049
Client root: c:\Users\adas
Current directory: c:\Windows\System32
Peer address: 127.0.0.1:60081
Client address: 127.0.0.1
Server address: QS-0049.Portal01.nextgen.com:1672
Server root: C:\Program Files\Perforce\Server
Server date: 2018/06/21 16:09:31 +0530 India Standard Time
Server uptime: 00:28:32
Server version: P4D/NTX64/2018.1/1660568 (2018/05/09)
Server license: none
Case Handling: insensitive 

My depot view looks like

Screenshot_5.jpg

I tried many combinations-

//depot/JsonToClassGenerator/

//QS-0049/JsonToClassGenerator/

//QS-0049/depot/JsonToClassGenerator/

Foong Atlassian Team Jun 21, 2018

From the screen shot of the task, if the Client (workspace) "BambooTest" is used, the Depot view need to be in the format "//BambooTest/JsonToClassGenerator/..."

Ahh...

I have tried that to. Got the issue now. I was missing trailing three dots. Can it be specified on the documentation that trailing three dots are mendatory(/...). Its not that clear in the documentation.

Thanks

Anup

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

219 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you