Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,457,698
Community Members
 
Community Events
176
Community Groups

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

Atlassian Community Events