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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Making HTTP request to our services through pipeline Edited

Hey team!

I hope that you and your closest are well!

 

So, to expand on the question title. Our goal is to run some tests through a pipeline, that require port forwarding through ssh.

- ssh -fN <some_user>@<some_domain> -L 8888:<some_domain>:443
- mvn -Dprofile="$profile" clean install

These are the two important steps. So to achieve the port forwarding, we run the first command, which works perfectly locally. And the mvn install will trigger those tests. Which will make a request with a URI looking like

https://<some_domain>:8888/<some_other_uri_parts>

 

The question is, is this possible? What happens it gets stuck on the first test and goes into infinity, not making the request, but not throwing an error as well. Does the VM host block us in achieving this goal?

 

Thank you in advance!

 

EDIT: We did register the public ssh key to the remote machine, so this ssh is passing well. That part shouldn't present the issue.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Bitbucket

Contest: Share your custom Bitbucket Pipe and win

Announced in this blog, this holiday season we’re celebrating all things CI/CD and between now and the end of 2019 we’ll be showcasing content, use cases, feature announcements and more. One featur...

2,132 views 11 6
Join discussion

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