Re: jenkins issue

2022-10-11 Thread Ivan Fernandez Calvo
one more thing to pass the Git credentials to your script you could check 
this articles

https://www.jenkins.io/blog/2021/07/27/git-credentials-binding-phase-1/
https://www.youtube.com/watch?v=HSA_mZoADSw

El martes, 11 de octubre de 2022 a las 18:28:26 UTC+2, Ivan Fernandez Calvo 
escribió:

> The error is related to something your script is doing, it is not related 
> to Jenkins at all. Try to review the code you are executing and figure out 
> which line is and what is wrong. Googling the error seems related to 
> configuring the git user and git email and the git authentication when you 
> access GitHub using HTTPS URLs. It seems to be an error message from Ruby 
> code. The solution seems to add the authentication to the URL or use an 
> authentication store proper for your environment (I preferer to use gh see 
> https://cli.github.com/manual/gh_auth_setup-git), but I am not sure 
> depends on your script.
>
>
> https://stackoverflow.com/questions/54454853/fatal-could-not-read-username-for-https-github-com-no-such-device-or-addr
>
> https://stackoverflow.com/questions/69995273/access-organization-repo-on-github-using-personal-access-token-inside-bash-scrip
>
> https://itecnote.com/tecnote/ruby-on-rails-fatal-could-not-read-username-for-https-github-com-no-such-device-or-address/
> https://github.com/github/hub/issues/1644
>
> El martes, 11 de octubre de 2022 a las 13:37:53 UTC+2, pooja...@gmail.com 
> escribió:
>
>> Hi mark and Mithun,
>>
>> am getting error in jenkins 
>> [image: image.png]
>>
>> On Tue, Oct 11, 2022 at 9:59 AM pooja pooja  wrote:
>>
>>> this is my exact issue
>>>
>>> [image: image.png]
>>>
>>> On Mon, Oct 10, 2022 at 7:15 PM Mithun Raj  wrote:
>>>
 1. Update your OS,

 2. Check if the Git credentials are injected correctly,
 If running from bastion host or jump box make sure your git hub or 
 enterprise hostnames and IP are updated (ask git admin) in the hosts file 
 under /etc/hosts

 3. Update—env is the Git global env for git
 You can either set or unset those in your Linux machine it’s your Git 
 ID and pass which you can set as global access. not recommended if you 
 have 
 set it under Jenkins credentials.


 On Mon, 10 Oct 2022 at 5:49 PM, pooja pooja  wrote:

> in jenkins am getting below error
> New release '22.04.1 LTS' available. Run 'do-release-upgrade' to 
> upgrade to it.
>  fatal: could not read Username for 'https://github.com': No such 
> device or address
>  Use --update-env to update environment variables
>
> -- 
> 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/cec7b2ee-88ba-417d-be66-95d4954dbbfen%40googlegroups.com
>  
> 
> .
>
 -- 
 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/CANwMLksgv3L6S%2BGdZmXxq0fw8eOCJ_HW-3sbRqpDhnqsB6X71A%40mail.gmail.com
  
 
 .

>>>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9bed72a1-5419-42fe-ae55-775f0793aa10n%40googlegroups.com.


Re: jenkins issue

2022-10-11 Thread Ivan Fernandez Calvo
The error is related to something your script is doing, it is not related 
to Jenkins at all. Try to review the code you are executing and figure out 
which line is and what is wrong. Googling the error seems related to 
configuring the git user and git email and the git authentication when you 
access GitHub using HTTPS URLs. It seems to be an error message from Ruby 
code. The solution seems to add the authentication to the URL or use an 
authentication store proper for your environment (I preferer to use gh see 
https://cli.github.com/manual/gh_auth_setup-git), but I am not sure depends 
on your script.

https://stackoverflow.com/questions/54454853/fatal-could-not-read-username-for-https-github-com-no-such-device-or-addr
https://stackoverflow.com/questions/69995273/access-organization-repo-on-github-using-personal-access-token-inside-bash-scrip
https://itecnote.com/tecnote/ruby-on-rails-fatal-could-not-read-username-for-https-github-com-no-such-device-or-address/
https://github.com/github/hub/issues/1644

El martes, 11 de octubre de 2022 a las 13:37:53 UTC+2, pooja...@gmail.com 
escribió:

> Hi mark and Mithun,
>
> am getting error in jenkins 
> [image: image.png]
>
> On Tue, Oct 11, 2022 at 9:59 AM pooja pooja  wrote:
>
>> this is my exact issue
>>
>> [image: image.png]
>>
>> On Mon, Oct 10, 2022 at 7:15 PM Mithun Raj  wrote:
>>
>>> 1. Update your OS,
>>>
>>> 2. Check if the Git credentials are injected correctly,
>>> If running from bastion host or jump box make sure your git hub or 
>>> enterprise hostnames and IP are updated (ask git admin) in the hosts file 
>>> under /etc/hosts
>>>
>>> 3. Update—env is the Git global env for git
>>> You can either set or unset those in your Linux machine it’s your Git ID 
>>> and pass which you can set as global access. not recommended if you have 
>>> set it under Jenkins credentials.
>>>
>>>
>>> On Mon, 10 Oct 2022 at 5:49 PM, pooja pooja  wrote:
>>>
 in jenkins am getting below error
 New release '22.04.1 LTS' available. Run 'do-release-upgrade' to 
 upgrade to it.
  fatal: could not read Username for 'https://github.com': No such 
 device or address
  Use --update-env to update environment variables

 -- 
 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/cec7b2ee-88ba-417d-be66-95d4954dbbfen%40googlegroups.com
  
 
 .

>>> -- 
>>> 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/CANwMLksgv3L6S%2BGdZmXxq0fw8eOCJ_HW-3sbRqpDhnqsB6X71A%40mail.gmail.com
>>>  
>>> 
>>> .
>>>
>>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/35f000ba-871c-4fb8-97b4-0df516b19028n%40googlegroups.com.


Re: My VPS cannot connect to jenkins.io and its Mirrors

2022-10-11 Thread M Fachmi Rizal
Thank you @all for your responses..
I ended up with offline installation for jenkins plugin... because my VPS 
vendor cannot fullfill my requirement,, It's clearly network /  
connectivity issue.

Rizal

On Monday, October 10, 2022 at 8:51:37 PM UTC+7 RajM wrote:

> It’s basically a network or connectivity issue, most corporate Linux 
> systems  are Customized repos which are not allowed to connect out of the 
> box repos or urls as default. Either way you would need to to communicate 
> this with your system admin and network admins for a bypass if this are 
> POCs or if you are on a prod you would have to raise a request to your 
> admins.
>
> On Mon, 10 Oct 2022 at 5:49 PM, M Fachmi Rizal  
> wrote:
>
>> Greetings , 
>> I tried to install jenkins in my new VPS from Contabo.. but when 
>> executing "sudo apt-get install jenkins" it said cannot connect to the 
>> jenkins mirror and failed... when I test to ping the jenkins.io from 
>> terminal using "ping -v jenkins.io" it doesnt return anything.. 
>> but in my other VPS and local computer, installing jenkins and ping 
>> jenkins.io work flawlessly...
>> today i tried to install jenkins manually from deb file and it work.. but 
>> I cannot install the plugin because it says it cannot connect to the 
>> server..
>> I tried to contact the customer service, but they can't help because this 
>> is technical issue.
>> Please help me, I also attach the images
>> Sorry for my bad english..
>>
>> Thanks,
>> Rizal
>>
>> [image: ping 2.PNG][image: ping 1.PNG]
>>
>> -- 
>> 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/6b248882-087a-4e10-a723-8fb20ab6bcf6n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1f85f97b-87e6-4e6f-bd39-ebe8b19a85c1n%40googlegroups.com.