Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

How to create a msbuild task using BambooCLI

Hi,

I am trying to create a MSBUILD task using BambooCLI commands. The commands I have tried are given below:

1) >acli mybamboo --action addTask --plan STITESTCLI-PLAN40 --job SETUP --taskKey "MSBUILD" --description "building"
--build "MSBuild v14.0 (32bit)" --projectsFile "Stars.msbuild"

Output:
Parameter error: Unknown flag 'projectsFile'. Action was addTask for the bamboo client. Other related clients were also attempted without success.

2) >acli mybamboo --action addTask --plan STITESTCLI-PLAN40 --job SETUP --taskKey "MSBUILD" --description "building" --build "MSBuild v14.0 (32bit)" --solution "Asml.Stars.msbuild"

Output:
Parameter error: Unknown flag 'solution'. Action was addTask for the bamboo client. Other related clients were also attempted without success.

3) >acli realbamboo --action addTask --plan STITESTCLI-PLAN40 --job SETUP --taskKey "MSBUILD" --description "building" --build "MSBuild v14.0 (32bit)" --file "Asml.Stars.msbuild"

Output:
Client error: Request failed on the server with response code 500. Make sure all required fields have been provided using the various field and value parameters. The server log may provide insight into missing fields.

 

I have checked in all the BambooCLI and AtlassianCLI documentation but could not find any example or reference of MSBUILD taskkey.

I would like to know how to use the taskkey MSBUILD its usage and arguments to be sent through the BambooCLI client.

 

Bamboo Server Version: 5.15.3

Bamboo CLI Server Version: 9.2.0

Atlassian CLI Client Version: 9.1.0 

 

Kindly provide your help.

Thanks,

Girish

 

1 answer

Hi @Girish 

We are from Bobswift Support team and have created a support request in our portal to discuss more on your requirement.

We request you to please access the support request  https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-4439 to discuss more on this issue.

 

Thanks,
Manisha

Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

58 views 0 4
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