How to Install Jenkins on Windows

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 110

  • @santiagoc7
    @santiagoc7 Год назад +13

    The video was really helpful, thanks. In my case, I'm learning how to interact with Jenkins. If someone is lost like I was, I have Windows 11 Home, so I can't modify or access the local security policy (you must have Windows Pro or Enterprise in order to do what was shown in the video). Here's what I did:
    1) Downloaded JDK 11 and followed the exact steps as you said in the video, except for changing the installation path.
    2) Edited the environmental variables.
    3) Skipped the 'local security policy' step.
    4) Installed Jenkins again, not changing the installation path, I left it as it was by default. I chose the first option at 6:50 (Run Service as LocalSystem), clicked 'next.' Tested port 8080, clicked next. Unselected the option 'Start Service' by selecting 'Entire feature will be unavailable,' and then clicked next and Install.
    5) Then I went to C:\Program Files\Jenkins (because it's my default installation path) and modified the XML file, but only the 'Executables' part, just like in the video. I left the other part of the file intact.
    6) Searched for Services in the Windows search bar and started the Jenkins Service. Because I didn't change the path of any software (JDK and Jenkins), it started automatically.
    7) Opened my default browser and typed: localhost:8080, and it asked me for a password. All you have to do is go to that path (C:\ProgramData\Jenkins.jenkins\secrets/initialAdminPassword), open the file, copy the password, and paste it. Then click on 'Install Suggested Plugins.'
    8) Create a user and start using it.
    Hope someone finds this useful.

    • @kayamayyappareddy18
      @kayamayyappareddy18 8 месяцев назад +2

      Very Helpful... Thank you so much I tried same it is working

    • @Smfrx224
      @Smfrx224 6 месяцев назад

      For any else on Windows 11 Home, you can search "How to Enable the Local Security Policy Editor on Windows 11 Home Edition" and there's a great video showing you the steps to gain access to it

    • @yaroneve3991
      @yaroneve3991 5 месяцев назад +1

      Thanks!

    • @nezuma
      @nezuma 27 дней назад +1

      This was a very helpful method. Thank you very much

  • @asanakimov
    @asanakimov 2 года назад +3

    I had some issues while adding user to Start as a Service,
    besides that I have made a little mistake when was specifying
    --webroot="C:\tools\Jenkins\war --pluginroot="C:\tools\Jenkins\plugins"
    forgot to put " after webroot folder )) and the service wouldn't start
    thanks to detailed explanation and pretty neat logs, I have fixed it quickly
    great explanation, clean and precise. thanks a lot for your efforts!

  • @pateltrikam
    @pateltrikam 2 года назад +3

    Excellent work.. Really there are very few explanation on the web. This is the best full A to Z which explained in details.

  • @InSterquiliniisInvenitur
    @InSterquiliniisInvenitur 11 месяцев назад +1

    Very thorough. Thank you for the extra configuration put into the xml file portion of this tutorial.

  • @nguyenphuhuy_tt
    @nguyenphuhuy_tt Год назад +2

    How wonderful! It's really easy to install and configure. Thank you teacher!

  • @musti7973
    @musti7973 Год назад +9

    What password did he use? My pc has no password and I don't want to lock it with one. How do I get past this hurdle please.

  • @macsrcyt
    @macsrcyt 2 года назад +5

    Undoubtedly a perfect tutorial. Thanks a ton.

  • @alphatechacademy2483
    @alphatechacademy2483 2 года назад +29

    Changes that were made to the jenkins.xml file were made at the following locations:
    =>
    => %JAVA_HOME%\bin\java.exe
    => -Xrs -Xrs -Xms3g -Xmx3g -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=C:\tools\Jenkins\tmp\ -Dorg.apache.commons.jelly.tags.fmt. timeZone-America/New_York - Duser.timezone=America/New_York! - Dhudson.lifecycle=hudson.lifecycle.Windows ServiceLifecycle -jar "C:\tools\Jenkins\jenkins.war" --httpPort=8080 --webroot="C:\tools\Jenkins\war" --pluginroot="C:\tools\Jenkins\plugins"
    => C:\tools\Jenkins\jenkins.pid
    Cheers!!!🤝

    • @vagabond9138
      @vagabond9138 2 года назад +1

      -Xrs -Xms3g -Xmx3g -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=C:\tools\Jenkins\tmp\ -Dorg.apache.commons.jelly.tags.fmt. timeZone-America/New_York - Duser.timezone=America/New_York! - Dhudson.lifecycle=hudson.lifecycle.Windows ServiceLifecycle -jar "C:\tools\Jenkins\jenkins.war" --httpPort=8080 --webroot="C:\tools\Jenkins\war" --pluginroot="C:\tools\Jenkins\plugins"
      it works for me

    • @ryankulwicki
      @ryankulwicki Год назад +2

      Thanks for this, but your copy/paste-ing is wrong. There's several places that need to be corrected.

    • @archiep9162
      @archiep9162 Год назад

      @@ryankulwicki like where?

    • @davidguarin4609
      @davidguarin4609 Год назад

      Esta modificación al archivo jenkins.xml que nos copias genera error, por favor nos compartes la linea correcta operativa.

    • @navneet6447
      @navneet6447 10 месяцев назад

      Check out for errors in the arguments tag. (Refer for IST)
      -Xrs -Xms3g -Xmx3g -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=C:\tools\Jenkins\tmp\ -Dorg.apache.commons.jelly.tags.fmt.timeZone=Asia/Kolkata -Duser.timezone=Asia/Kolkata! -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "C:\tools\Jenkins\jenkins.war" --httpPort=8080 --webroot="C:\tools\Jenkins\war" --pluginroot="C:\tools\Jenkins\plugins"

  • @ultrainstinct6715
    @ultrainstinct6715 11 месяцев назад

    Thank you so much for your detailed explanations. Much appreciated.

  • @ornellaluna7128
    @ornellaluna7128 7 месяцев назад

    Thank you. The detail of the explanation is awesome. !

  • @liamwil7392
    @liamwil7392 Год назад

    The memory allocated to the JVM in the tutorial is far too high (3 GB to 3 GB), the service will not start for me until correct values are declared for the JVM memory (256 MB to 512 MB ). now JDK consumes around 282m and everything works fine. Alongside this is a great tutorial.

  • @aayushagrawal7143
    @aayushagrawal7143 2 года назад +2

    Very helpful tutorial. Thanks a ton.

  • @markbogan7869
    @markbogan7869 Месяц назад

    Excellent presentation!!

  • @bauntimandal
    @bauntimandal 2 года назад +1

    @DarinPope Very nicely explained in short. 👍

    • @vinodhbandu3505
      @vinodhbandu3505 2 года назад +1

      Hi, I stopped at the password, from where you copied at 7:08, please reply.

  • @learnmoremuchandiona2759
    @learnmoremuchandiona2759 2 года назад +2

    Good lecture. Managed to follow to the point where you edited the arguments in the xml file. Thats where I got lost; text too small.

  • @mikehealy7928
    @mikehealy7928 2 года назад +6

    It a little tough to read the arguments you've specified in the xml file (at least for me); maybe you could post the entire arguments in the comments?

    • @svvskumar1
      @svvskumar1 2 года назад +1

      even i stuck over there , need to have arguments that should be passed

    • @impactcreators4135
      @impactcreators4135 2 года назад +8

      Changes that were made to the jenkins.xml file were made at the following locations:
      =>
      => %JAVA_HOME%\bin\java.exe
      => -Xrs -Xrs -Xms3g -Xmx3g -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=C:\tools\Jenkins\tmp\ -Dorg.apache.commons.jelly.tags.fmt. timeZone-America/New_York - Duser.timezone=America/New_York! - Dhudson.lifecycle=hudson.lifecycle.Windows ServiceLifecycle -jar "C:\tools\Jenkins\jenkins.war" --httpPort=8080 --webroot="C:\tools\Jenkins\war" --pluginroot="C:\tools\Jenkins\plugins"
      => C:\tools\Jenkins\jenkins.pid

    • @Barijj17
      @Barijj17 4 месяца назад

      ​@@impactcreators4135 arguments have some errors. here is i fixed;
      -Xrs -Xms3g -Xmx3g -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=C:\tools\Jenkins\tmp\ -Dorg.apache.commons.jelly.tags.fmt.timeZone=America/New_York -Duser.timezone=America/New_York -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "C:\tools\Jenkins\jenkins.war" --httpPort=8080 --webroot="C:\tools\Jenkins\war" --pluginroot="C:\tools\Jenkins\plugins"

  • @mihai_chindris
    @mihai_chindris Год назад

    nice tutorial! you've helped me set it up properly, thanks a lot!

  • @sajeshp8109
    @sajeshp8109 2 года назад +1

    Good, Installation works correctly except adding a user on installation time

  • @mariamadalhaia-8344
    @mariamadalhaia-8344 2 года назад +1

    Amazing video, thanks a lot

  • @mitBilal
    @mitBilal 2 года назад +1

    Its really very helping video. :)

  • @slademd5098
    @slademd5098 Год назад

    Best tutorial, thank you

  • @moutazal
    @moutazal 2 года назад +8

    hi where did he get the password for the account he created?

    • @weigao8967
      @weigao8967 2 года назад +1

      Same question

    • @David-du5qg
      @David-du5qg 2 года назад +1

      you have to set the password yourself. If the Administrator account is disabled, you have to enable it first. Then right click to set password

    • @kotieleswaram6578
      @kotieleswaram6578 2 года назад +3

      It is your account password, while we are checking the java --version, which user name it is showing, use the same user name instead of administrator and use that particular user account password

    • @HiteshDarji-m5u
      @HiteshDarji-m5u Месяц назад

      Its same as your pc password

  • @haskellscript
    @haskellscript Год назад

    Thank you for this video

  • @YankeezeFan
    @YankeezeFan 2 года назад +1

    Great video -- thanks

  • @RobertoGarcia-uc7mf
    @RobertoGarcia-uc7mf Год назад

    Excelente tutorial, ya tengo mi Jenkins corriendo en windows server :)

    • @davidguarin4609
      @davidguarin4609 Год назад

      Lograste correr Jenkins con las modificaciones al archivo jenkins.xml que sugieren en el video? ami no me inicia el servicio. me ayudas?

    • @RobertoGarcia-uc7mf
      @RobertoGarcia-uc7mf Год назад

      @@davidguarin4609 Se con gusto, te muestra algún error en particular?

    • @davidguarin4609
      @davidguarin4609 Год назад

      ​@@RobertoGarcia-uc7mf de antemano gracias por responder. Si, tuve problemas con la configuración de la línea de arguments, pero en el momento ya logre solucionar el inconveniente, resuelta que me tocó retirar algunas líneas como la de la zona horaria america/bogota ya que no me lo aceptaba y la de la carpeta tmp, finalmente me corrió asi, solo únicamente me quedó la duda el porque no pude agregar esas 2 configuraciones de zona horaria y la de la carpeta temporal tmp que sugerían en el video.
      ->
      -Xrs -Xms1g -Xmx1g -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "C:\Tools\Jenkins\jenkins.war" --httpPort=9090 --webroot="C:\tools\Jenkins\war" --pluginroot="C:\tools\Jenkins\plugings"
      Gracias bro (Y)

  • @threebyzeroa.k.atbz0194
    @threebyzeroa.k.atbz0194 2 года назад +1

    Great tutorial! I have a question though. Where can I download all those plugins so that I can install Jenkins in an offline environment? Thank you!

  • @JeyasankarA
    @JeyasankarA 8 месяцев назад

    Thank you for sharing your knowledge. I am very grateful for watching your videos. I have a question: How do I set the screen size of browsers in Jenkins? While executing on my local Windows, all my test cases passed, but on Jenkins, they failed because the screen size did not change. In my Java Selenium code, I have set the dimensions as follows:
    Dimension newSize = new Dimension(1936, 1048);
    I have followed all of your steps to install Jenkins on Windows and test cases are executed but some tests failed because of no such element because of screen size. I have written the code for screen size 1936,1048. while running the test cases on Jenkins I have printed the screen size which is display 1044,788. I am not able to change it. pls, consider my issue.

  • @stepwithadnan
    @stepwithadnan Год назад

    i am facing the following error. Could you please help me
    jenkins setup wizard ended prematurely because of an errror. your system has not been modified. to install this program at a later tiem, run setup wizard again.

  • @HiteshDarji-m5u
    @HiteshDarji-m5u Месяц назад

    How to get Administor password, from where you copy?

  • @enembi7075
    @enembi7075 2 года назад +1

    Thank you!

  • @ttillman01
    @ttillman01 Год назад

    As I'm following along, I was trying to use the same arguments that you are using in the video, but I'm not finding them anywhere. Can you please provide them? Thank you.

  • @pkp2023
    @pkp2023 2 года назад +1

    windows 10 does not show anything your are showing , I don't see local security settings I don't see anything in windows 10 home edition

  • @nalinkumarmurugesan8763
    @nalinkumarmurugesan8763 2 года назад +1

    can you provide the link for the JDK download? I could not get JDK 11

  • @vaithysoftprog
    @vaithysoftprog 11 месяцев назад

    Hi Darin, Can we go for single jenkins server for all my env or need multiple jenkins server. Please advise..

  • @kayamayyappareddy18
    @kayamayyappareddy18 8 месяцев назад

    Hi Sir , what is the password you copied for Administrator while installing Jenkins ... Tell me where to get that password please

    • @kishores2222
      @kishores2222 3 месяца назад

      i am also looking for the same.. from where we need to get the password

  • @emanuelcampos1838
    @emanuelcampos1838 Год назад

    Genio !!!

  • @twaidi
    @twaidi 2 года назад +1

    @DarinPope or anyone. I am new to Jenkins. I love your video. It is very helpful but I am running into a problem trying to connect the Master Jenkins to the Nodes Jenkins in a private subnet in AWS running Windows 2019. I configured the nodes in the Master but I can’t copy the URL to the node server. Please can you help

  • @flashchrome
    @flashchrome 5 месяцев назад

    So, where's the windows version located?

  • @mohanp5562
    @mohanp5562 8 месяцев назад

    @7.07 min, where did you get the password from?

  • @kotieleswaram6578
    @kotieleswaram6578 2 года назад +1

    Under executables path we have to change the C:\Tools\Jdk\...\bin to %JAVA_HOME%\bin

  • @gacctom
    @gacctom Год назад +2

    follow the step by step. But it still error occur. Error 1069: log on fail

    • @danielneamtiu707
      @danielneamtiu707 Год назад +1

      Go to windows services, find the Jenkins service, then right click -> properties. In the properties window go to "Log on" and add the password for your Log on user again, then clicl "Apply" and try to start the service again. It should work.

  • @rusllcrow3093
    @rusllcrow3093 2 года назад +1

    I have Unrecognized option: -
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    what's wrong?

    • @danielgarcia5708
      @danielgarcia5708 2 года назад +2

      Rusll were you able to figure it out? I am getting the same thing.

    • @pierre-jeanarduin8817
      @pierre-jeanarduin8817 4 месяца назад +1

      @@danielgarcia5708 Yes, you probably copied the comment of one guy down there, and it has unexpected spaces between '-' and 'D'. Check your line.

    • @ljk6020
      @ljk6020 Месяц назад

      @@pierre-jeanarduin8817 thx a lot

    • @ljk6020
      @ljk6020 Месяц назад

      @@pierre-jeanarduin8817 - Duser.timezone=America/New_York -> -Duser.timezone=America/New_York

  • @somnathkadam1233
    @somnathkadam1233 Год назад +1

    can please share edited xml file

  • @RH-mz9ez
    @RH-mz9ez 3 месяца назад

    how he got the password at Jenkins login step???

  • @qassimkhalifa3449
    @qassimkhalifa3449 2 года назад +5

    from where did you get the password

    • @kotieleswaram6578
      @kotieleswaram6578 2 года назад

      It is your system password Bro

    • @syedmohdmehdi9298
      @syedmohdmehdi9298 2 года назад +1

      @@kotieleswaram6578 System password is not working. Kindly can you suggest how to fix this issue.

    • @MohitSingh-rh9kf
      @MohitSingh-rh9kf Год назад

      @@kotieleswaram6578 chutiye system password use nahi kiya usne ....

  • @HorizonsJourneys
    @HorizonsJourneys Год назад

    Where did you get that password?

  • @VarunK1386
    @VarunK1386 Год назад

    can someone tell me while logging in with Administrator role , what password he used ?

    • @brianlanger147
      @brianlanger147 Год назад

      its the administrator account from his Windows. You can use yours with your password, just make sure you add it to the "Log on as a Service" accounts list

  • @RagulS-ip3bk
    @RagulS-ip3bk Год назад

    plgins are not installed

  • @shambhavidubey5002
    @shambhavidubey5002 2 года назад +1

    what will be the password of the administrator?

    • @daretaker.
      @daretaker. 2 года назад +2

      I was stuck at the same moment, you can use your system PC/Laptop username and your own password. It worked for me !

  • @YaswanthReddyAvula
    @YaswanthReddyAvula Год назад

    how do you get Password for administrator username. can you help me on this

  • @berkangokce7527
    @berkangokce7527 Год назад

    I have Error 1069 when I start the Jenkins on Services. Can anybody help?

    • @berkangokce7527
      @berkangokce7527 Год назад

      solved. go to properties jenkins on services and rewrite the password again in both password box!

  • @RamaKrishnan-il3ip
    @RamaKrishnan-il3ip 2 года назад +1

    Hi sir
    Please make video for how to configure domain and SSL on windows Jenkins server
    Please

    • @franco7821
      @franco7821 Год назад

      Hi Rama! Could you find how to do this? I'm finding it pretty difficult :/

    • @RamaKrishnan-il3ip
      @RamaKrishnan-il3ip Год назад

      @@franco7821 hi, i found the solution, you can use nginx proxy pass to take Jenkins site with domain and ssl

    • @franco7821
      @franco7821 Год назад

      @@RamaKrishnan-il3ip thanks, but I'm on a windows server, I'm afraid I can't use that option...

    • @RamaKrishnan-il3ip
      @RamaKrishnan-il3ip Год назад

      @@franco7821 why can't use
      I'm also configured on windows only

    • @franco7821
      @franco7821 Год назад

      @@RamaKrishnan-il3ip ohh I saw nginx in the name and thought it was Linux only. I'll try it, thanks!

  • @vinodhbandu3505
    @vinodhbandu3505 2 года назад +3

    Hi, I stopped at the password, from where you copied at 7:08, please reply. If you don't reply this video is useless to people.

    • @impactcreators4135
      @impactcreators4135 2 года назад +10

      1) Create a local user or domain user to proceed further:
      Type “User accounts” in the windows start menu, select the options which reads as “Add, edit or remove other users”.
      2) Add a new user under “Other user” and select option “I don’t have this person’s sign-in information”. Note: You can give any custom name and your choice of password and proceed without a MS Outlook account.
      3) Once this user created, if you forgot to assign admin role to the newly created user then you will see an error inside the Jenkins dialog.
      4) If you experience the Jenkins error dialog box, go to the dialog where you created a local user previously, click on the new local user and assign them administrator role/priviledges.
      5) Open the ‘Administrative Tools’ and open the ‘Local Security Policy’:
      Hold "win" key and press "r" to open "Run" and type the following "secpol.msc".
      6) Expand "Local Policy" and click on "User Rights Assignment"
      7) In the right pane, scrol down to locate "Log on as a service" right-click and select properties or double click to open "Log on as a service" properties box.
      8) Click on the "Add User or Group…" button to add the new user that you added earlier under “User accounts”.
      9) Click on "Check name" for Windows to resolve/add new user name to Local Policy group and click OK to close the dialogue box.
      10) In the "Select Users or Groups" dialogue, find the user you added, click on the name, click "Apply" => "OK" to save changes in the "Log on as a service Properties".
      11) Now its time to go back to Jenkins window and try it again. Input the local user details (logon name & password) in the specified fields and click on “Test credentials”. This time a tick must appear.
      12) Click next to proceed with Jenkins installation.

    • @kouassiaxelgeoffroykouassi5738
      @kouassiaxelgeoffroykouassi5738 2 года назад +1

      @@impactcreators4135 Thank you very much. Extremely useful

    • @tokkakhalaf8626
      @tokkakhalaf8626 Год назад +1

      @@impactcreators4135 that works, thanks

  • @khanmohammad6725
    @khanmohammad6725 Год назад

    I'm getting the below error while installing plugins in jenkins, can anyone pls help?
    sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
    at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
    at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297)
    at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)
    Caused: sun.security.validator.ValidatorException: PKIX path building failed
    at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385)
    at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:290)
    at java.base/sun.security.validator.Validator.validate(Validator.java:264)
    at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:321)
    at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:221)
    at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:129)
    at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1313)
    Caused: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:128)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:264)
    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:259)
    at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1329)
    at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1204)
    at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1151)
    at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392)
    at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:444)
    at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:421)
    at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:178)
    at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:164)
    at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1152)
    at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1063)
    at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:402)
    at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567)
    at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.followRedirect0(HttpURLConnection.java:2758)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLConnection.java:2680)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1843)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509)
    at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:245)
    at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1296)
    Caused: java.io.IOException: Failed to load updates.jenkins.io/download/plugins/credentials/1214.v1de940103927/credentials.hpi to C:\ProgramData\Jenkins\.jenkins\plugins\credentials.jpi.tmp
    at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1307)
    Caused: java.io.IOException: Failed to download from updates.jenkins.io/download/plugins/credentials/1214.v1de940103927/credentials.hpi (redirected to: get.jenkins.io/plugins/credentials/1214.v1de940103927/credentials.hpi)
    at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1341)
    at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1898)
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2210)
    at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1872)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:121)
    at java.base/java.lang.Thread.run(Thread.java:834)

    • @stevek3637
      @stevek3637 Год назад

      I'm getting the same error. Happens with any versions so far for me. Anyone figured it out?

  • @blessingokougbenin906
    @blessingokougbenin906 Год назад

    This was most helpful. Thank you very much

  • @christopherbryant703
    @christopherbryant703 2 года назад +1

    with the port number mine said that it failed to bind to port. How do I fix this?

  • @tejach3354
    @tejach3354 4 месяца назад

    How did you get password?