Build notification via SSH

Is it possible to push build status notifications via SSH to Stash? Unfortunately API access requires a user login and that affects the license.

2 answers

Hi!

Seems like the new Bamboo release has a new notification type and you don't need a user anymore. This should solve your problem.

https://confluence.atlassian.com/display/BAMBOO/Bamboo+5.6+release+notes

Unfortunately I'm not using Bamboo for my builds :(

0 votes

Maybe you could try to setup SSH keys between the servers to see if it works without a password. Another possibility would be to create an script with User and Password. To do it, you could use "Expect". However, you may need to install it. Below, you can see an example on how you could do it using "Expect"

#!/usr/bin/expect

spawn /path_to_your_script

expect "password:"

send — "your_password\r"

send -- "\r"

expect elf

Good Luck :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

216 views 3 7
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you