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

Can we integrate Stash Server v3.9.2 to Jenkins v2.401.1

Rajat Trivedi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 9, 2023

I am currently using Atlassian Stash as my source repository and have pipeline job in Jenkins v2.401.1, I tried integrating with the help of hooks but it troughing an error : 

(Error: Jenkins response: <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> <title>Error 401 An access token is required. Please refer to Git plugin documentation (https://plugins.jenkins.io/git/#plugin-content-push-notification-from-repository) for details.</title> </head> <body><h2>HTTP ERROR 401 An access token is required. Please refer to Git plugin documentation (https://plugins.jenkins.io/git/#plugin-content-push-notification-from-repository) for details.</h2> <table> <tr><th>URI:</th><td>/git/notifyCommit</td></tr> <tr><th>STATUS:</th><td>401</td></tr> <tr><th>MESSAGE:</th><td>An access token is required. Please refer to Git plugin documentation (https://plugins.jenkins.io/git/#plugin-content-push-notification-from-repository) for details.</td></tr> <tr><th>SERVLET:</th><td>Stapler</td></tr> </table> <hr/><a href="https://eclipse.org/jetty">Powered by Jetty:// 10.0.13</a><hr/> </body> </html>
)

I have tried every possible solution to do that but no luck. Not getting a way to integrate both Stash and Jenkins. Please help me out on this. Thanks in Advance.

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events