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

Build notification via SSH

Łukasz Jernaś August 5, 2014

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

0 votes
rrudnicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 29, 2014

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 :)

0 votes
Mirko Skramusky
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 5, 2014

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

Łukasz Jernaś August 17, 2014

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events