Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

Can Bamboo compile AutoIt

Hey, so i'm looking to use a CI/CD tool to run AutoIt(.au3) scripts. My question is if Bamboo supports running said scripts.

1 answer

Simon says:

` Bamboo does not natively support those scripts but you can use a Bamboo Script Task to run the AutoIt script. You would need to roughly follow these steps:

1. Install AutoIt on your Bamboo agent.

2. verify that you can run from a terminal on the agent (as the same user that you run the agent) the following command:

AutoIt.exe <your_script>.au3

3. Create a Bamboo plan with a job in it.

4. In the job create a Bamboo Script task and use the command in step 2 in the task.

5. Run your plan.

If the command in Step 2 does not work there may be environmental configuration mistakes, such as your AutoIt.exe binary not being present in the PATH. If you prefer not to have it in the PATH then you can use the absolute path to the binary in the Script task:

C:\ <blah>\AutoIt.exe <your_script>.au3

A few things that you should check if the plan hangs on run or the Script task is reported as failed:

- make sure that the AutoIt script does not block.

- check if the AutoIt executable returns 0 on success or another value. Bamboo assumes success if the binary returns 0 on exit, in the good old UNIX tradition. If the binary is not well behaved then the script may run correctly but Bamboo considers it failed.

I hope this helps. `

Simon out.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events