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.
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
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!
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!!!🤝
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"
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.
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
@@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"
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
@@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)
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.
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.
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.
@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
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.
I have Unrecognized option: - Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. what's wrong?
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
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.
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)
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.
Very Helpful... Thank you so much I tried same it is working
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
Thanks!
This was a very helpful method. Thank you very much
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!
Excellent work.. Really there are very few explanation on the web. This is the best full A to Z which explained in details.
Very thorough. Thank you for the extra configuration put into the xml file portion of this tutorial.
How wonderful! It's really easy to install and configure. Thank you teacher!
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.
Undoubtedly a perfect tutorial. Thanks a ton.
where to get the jenkins password
I have same question.
@@MohitSingh-rh9kf
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!!!🤝
-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
Thanks for this, but your copy/paste-ing is wrong. There's several places that need to be corrected.
@@ryankulwicki like where?
Esta modificación al archivo jenkins.xml que nos copias genera error, por favor nos compartes la linea correcta operativa.
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"
Thank you so much for your detailed explanations. Much appreciated.
Thank you. The detail of the explanation is awesome. !
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.
Very helpful tutorial. Thanks a ton.
Excellent presentation!!
@DarinPope Very nicely explained in short. 👍
Hi, I stopped at the password, from where you copied at 7:08, please reply.
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.
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?
even i stuck over there , need to have arguments that should be passed
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
@@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"
nice tutorial! you've helped me set it up properly, thanks a lot!
Good, Installation works correctly except adding a user on installation time
Amazing video, thanks a lot
Its really very helping video. :)
Best tutorial, thank you
hi where did he get the password for the account he created?
Same question
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
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
Its same as your pc password
Thank you for this video
Great video -- thanks
Excelente tutorial, ya tengo mi Jenkins corriendo en windows server :)
Lograste correr Jenkins con las modificaciones al archivo jenkins.xml que sugieren en el video? ami no me inicia el servicio. me ayudas?
@@davidguarin4609 Se con gusto, te muestra algún error en particular?
@@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)
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!
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.
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.
How to get Administor password, from where you copy?
Thank you!
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.
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
can you provide the link for the JDK download? I could not get JDK 11
Hi Darin, Can we go for single jenkins server for all my env or need multiple jenkins server. Please advise..
Hi Sir , what is the password you copied for Administrator while installing Jenkins ... Tell me where to get that password please
i am also looking for the same.. from where we need to get the password
Genio !!!
@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
So, where's the windows version located?
@7.07 min, where did you get the password from?
Under executables path we have to change the C:\Tools\Jdk\...\bin to %JAVA_HOME%\bin
follow the step by step. But it still error occur. Error 1069: log on fail
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.
I have Unrecognized option: -
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
what's wrong?
Rusll were you able to figure it out? I am getting the same thing.
@@danielgarcia5708 Yes, you probably copied the comment of one guy down there, and it has unexpected spaces between '-' and 'D'. Check your line.
@@pierre-jeanarduin8817 thx a lot
@@pierre-jeanarduin8817 - Duser.timezone=America/New_York -> -Duser.timezone=America/New_York
can please share edited xml file
how he got the password at Jenkins login step???
from where did you get the password
It is your system password Bro
@@kotieleswaram6578 System password is not working. Kindly can you suggest how to fix this issue.
@@kotieleswaram6578 chutiye system password use nahi kiya usne ....
Where did you get that password?
can someone tell me while logging in with Administrator role , what password he used ?
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
plgins are not installed
what will be the password of the administrator?
I was stuck at the same moment, you can use your system PC/Laptop username and your own password. It worked for me !
how do you get Password for administrator username. can you help me on this
have you solved?
I have Error 1069 when I start the Jenkins on Services. Can anybody help?
solved. go to properties jenkins on services and rewrite the password again in both password box!
Hi sir
Please make video for how to configure domain and SSL on windows Jenkins server
Please
Hi Rama! Could you find how to do this? I'm finding it pretty difficult :/
@@franco7821 hi, i found the solution, you can use nginx proxy pass to take Jenkins site with domain and ssl
@@RamaKrishnan-il3ip thanks, but I'm on a windows server, I'm afraid I can't use that option...
@@franco7821 why can't use
I'm also configured on windows only
@@RamaKrishnan-il3ip ohh I saw nginx in the name and thought it was Linux only. I'll try it, thanks!
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.
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.
@@impactcreators4135 Thank you very much. Extremely useful
@@impactcreators4135 that works, thanks
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)
I'm getting the same error. Happens with any versions so far for me. Anyone figured it out?
This was most helpful. Thank you very much
with the port number mine said that it failed to bind to port. How do I fix this?
How did you get password?