What/How to put in Git > Repository Url

42 views
Skip to first unread message

fais

unread,
Oct 19, 2016, 11:43:51 PM10/19/16
to Jenkins Users
Hi,

Actually i want to know what/how to put in the Git > Repository Url as per attached ? From the attachment, you can see that url which i always used to clone the branch in my project, but when i put there, the error always appeared. FYI, my git repo was in AWS server.Please advise and thanks in advance.
Screenshot - 19_10_2016 , 3_50_54 PM.png

Mark Waite

unread,
Oct 19, 2016, 11:56:02 PM10/19/16
to Jenkins Users
The URL you entered is not a valid URL, at least as far as I understand URL's.  Your URL was https://sai...@git.37degrees.us:/37DRepo.  I think you want the URL to be https://sai...@git.37degrees.us/37DRepo .  The extra ":" is probably parsed as a separator that precedes a port number, but then you did not provide a port number.

It is rather uncommon (though allowed) to embed the user name in the URL.  You can do it, but you can also define a Jenkins credential which provides user name and password, then use that credential with a URL like https://git.37degrees.us/37DRepo .

Mark Waite

On Wed, Oct 19, 2016 at 9:43 PM fais <saiful...@gmail.com> wrote:
Hi,

Actually i want to know what/how to put in the Git > Repository Url as per attached ? From the attachment, you can see that url which i always used to clone the branch in my project, but when i put there, the error always appeared. FYI, my git repo was in AWS server.Please advise and thanks in advance.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c0264c1a-3f73-4f5b-8da1-3d6437c491bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

fais

unread,
Oct 20, 2016, 1:19:10 AM10/20/16
to Jenkins Users
I dont think due to that extra ':' sign because usually i able to clone with that url. Somehow i think i miss something during jenkins installation or somehow there is some setting or configuration to be made when using Git in Jenkins.
Reply all
Reply to author
Forward
0 new messages