Amazing content. Thank you sir. Are these four videos enough for jenkins?. Can you please guide me what to do after these four videos in order to build a simple project. Thanks again
This will be enough to get you started with any project on Jenkins. Of course there will be more concepts you will need to learn as per your project requirements, This will create a foundation for that. You can also explore more Jenkins videos here - automationstepbystep.com/
In a real-world production environment, what is the preferred best practice: installing Jenkins on a virtual machine or running it within Kubernetes pods?
Raghu The preferred best practice for installing Jenkins in a real-world production environment is to run it within Kubernetes pods. There are a number of benefits to running Jenkins within Kubernetes pods, including: *Scalability:* Kubernetes can easily scale Jenkins up or down as needed. This makes it easy to handle spikes in traffic and ensure that Jenkins is always available. *Reliability:* Kubernetes provides a number of features that can help to improve the reliability of Jenkins, such as self-healing and load balancing. *Security:* Kubernetes provides a number of security features that can help to protect Jenkins, such as role-based access control and network isolation. In addition, running Jenkins within Kubernetes pods can make it easier to manage and maintain Jenkins. For example, you can use Kubernetes to deploy updates to Jenkins without having to take it down. Here are some additional considerations for running Jenkins in production: *Use a persistent volume claim (PVC) to store Jenkins data.* This will ensure that Jenkins data is not lost if a pod is restarted or deleted. *Use a service to expose Jenkins to the outside world.* This will make it easy to access Jenkins from other applications and services. *Use a load balancer to distribute traffic across multiple Jenkins pods.* This will improve the performance and reliability of Jenkins. *Use a monitoring solution to monitor Jenkins performance and identify any problems.* *Implement security measures to protect Jenkins from unauthorized access and attacks.* Overall, running Jenkins within Kubernetes pods is the preferred best practice for installing Jenkins in a real-world production environment. Kubernetes provides a number of benefits that can help to improve the scalability, reliability, security, and manageability of Jenkins.
Very cool explanation! Its possible to connect to jenkins through https by creating a certificate? example through the port HTTPS 443 to make a secure connection? A video showing how to do this would be very useful. Thanks
Hi Raghav, Thank you so much..You are wonderful easy going mentor , Happy Teaches Day.. Do testers required jenkins knowledge? Just saw 8 months back you have uploaded Jenkins 2 videos in hindi language can i prefer those 2 as well? I like watching hindi videos as well :) so much hard work you put to bring these videos hatts off to you
Judith Try to check the console output in text format Navigate to the build you’re interested in. On the left side, click on “Console Output”. Then click on “View as plain text”
Okay, the issue with unreadable or encoded console output in Jenkins is often related to the character encoding settings. Jenkins uses the system's default character set, which might not be UTF-8, causing non-ASCII characters to appear encoded or garbled. Here are some steps you can take to resolve this issue: 1. Set Global Environment Variables: - Go to `Jenkins -> Manage Jenkins -> Configure System`. - Under Global properties, add two environment variables: - `JAVA_TOOL_OPTIONS` with the value `-Dfile.encoding=UTF-8` - `LANG` with the value `en_US.UTF-8` - Save the changes and restart Jenkins. 2. Configure Encoding for Agents: - If you're using build agents, ensure that the agent's environment variable `LC_ALL` is set to `C.UTF-8`. - For Jenkins running in Docker, set the environment variable in the agent's Dockerfile. 3. Modify Jenkins Startup Script: - If Jenkins is started via a script, add the JVM option `-Dfile.encoding=UTF-8` to the script. - For example, if using Tomcat to run Jenkins, add the `-Dfile.encoding=UTF-8` to the `JAVA_OPTS` variable in the `catalina.sh` file. 4. Use AnsiColor Plugin: - Install the AnsiColor plugin in Jenkins, which can help with encoding issues related to console output. 5. Check Jenkins XML Configuration: - Go to your Jenkins installation directory and check the `jenkins.xml` file. - Ensure that the `-Dfile.encoding=UTF-8` option is included in the configuration. After making these changes, trigger a new build and check if the console output is now readable. If the problem persists, you may need to look into the specific encoding used in your build scripts or tools that generate the output¹²³. Remember, it's important to match the encoding settings across your Jenkins controller, agents, and build environments to ensure consistent handling of character encoding.
Hello Sir , Can you please tell me why this problem arise after next step of install plugin every one plugin get error (red cross) and i try everystep 3 times every time this happened please tell me how to correct this
JRE is fine Jon Jenkins requires a Java Runtime Environment (JRE) to run. It does not require a Java Development Kit (JDK), unless you need to compile Java code within Jenkins.
It was taking a lot of time and efforts. Also I realized most of the stories and messages I had to convey were mostly done. You can re-watch all the Sunday Special Stories
@@RaghavPal Can you be my client and I will provide you my services whatever you want for example animation, editing, subtitle writer I think you should hire me for making your sunday special video's animation - My suggestion 😊
Hi Raghav , Python Oops concept is it sufficient for automation Testing ? actually I have a started learning Basic python langauage from your channel. is it sufficient for for automation testing.
Shiv Yes, Python OOP concepts are sufficient for automation testing. OOP concepts allow you to create reusable code and to structure your code in a way that is easy to understand and maintain. This is essential for automation testing, as you will often be writing code that needs to be used repeatedly. In addition to OOP concepts, you will also need to learn about other Python concepts, such as: * Data structures * Algorithms * Regular expressions * Unit testing * Mocking * WebDriver You can learn all of these concepts from the Python documentation, or from online tutorials and courses. Once you have a good understanding of Python, you can start learning about automation testing frameworks, such as Selenium WebDriver and Robot Framework. These frameworks provide you with the tools and libraries that you need to automate your tests. I recommend that you start by learning the basics of Python, such as variables, data types, and functions. Once you have a good understanding of the basics, you can start learning about OOP concepts. You can also start practicing your Python skills by writing small programs. This will help you to learn the syntax and semantics of the language. Once you have a good understanding of Python, you can start learning about automation testing. There are many resources available online and in libraries. You can also take an automation testing course. I hope this helps
Hello Sir , Can you please tell me why this problem arise after next step of install plugin every one plugin get error (red cross) and i try everystep 3 times every time this happened please tell me how to correct this
Everything looks so easy when I learn or watch from you. Thanks.
Most welcome
What a great tutorial without AWS & it's good for learning !!!
Regard: Kim from Pakistan
Thanks Kim
I love this lecture and need more videos on Jenkins
Thanks, will do Ved
Amazing content. Thank you sir. Are these four videos enough for jenkins?. Can you please guide me what to do after these four videos in order to build a simple project. Thanks again
This will be enough to get you started with any project on Jenkins. Of course there will be more concepts you will need to learn as per your project requirements, This will create a foundation for that. You can also explore more Jenkins videos here - automationstepbystep.com/
Thanks Raghu for this wonderful Course
You're most welcome Mayur
Thankyou for such a wonderful explanation
Most welcome
Hi,
Thanks,
Pls post videos daily..
Very exited
I will try my best Shubham
In a real-world production environment, what is the preferred best practice: installing Jenkins on a virtual machine or running it within Kubernetes pods?
Raghu
The preferred best practice for installing Jenkins in a real-world production environment is to run it within Kubernetes pods.
There are a number of benefits to running Jenkins within Kubernetes pods, including:
*Scalability:* Kubernetes can easily scale Jenkins up or down as needed. This makes it easy to handle spikes in traffic and ensure that Jenkins is always available.
*Reliability:* Kubernetes provides a number of features that can help to improve the reliability of Jenkins, such as self-healing and load balancing.
*Security:* Kubernetes provides a number of security features that can help to protect Jenkins, such as role-based access control and network isolation.
In addition, running Jenkins within Kubernetes pods can make it easier to manage and maintain Jenkins. For example, you can use Kubernetes to deploy updates to Jenkins without having to take it down.
Here are some additional considerations for running Jenkins in production:
*Use a persistent volume claim (PVC) to store Jenkins data.* This will ensure that Jenkins data is not lost if a pod is restarted or deleted.
*Use a service to expose Jenkins to the outside world.* This will make it easy to access Jenkins from other applications and services.
*Use a load balancer to distribute traffic across multiple Jenkins pods.* This will improve the performance and reliability of Jenkins.
*Use a monitoring solution to monitor Jenkins performance and identify any problems.*
*Implement security measures to protect Jenkins from unauthorized access and attacks.*
Overall, running Jenkins within Kubernetes pods is the preferred best practice for installing Jenkins in a real-world production environment. Kubernetes provides a number of benefits that can help to improve the scalability, reliability, security, and manageability of Jenkins.
Thanks Raghu ! I will practice it
Most welcome Bharath
Thank you sir🎉🎉🎉.
Most welcome
My man Thanks yar love you bro
Most welcome 🤗 Gaurav
Very cool explanation! Its possible to connect to jenkins through https by creating a certificate? example through the port HTTPS 443 to make a secure connection?
A video showing how to do this would be very useful.
Thanks
Sure, I will check on that
Thanks!@@RaghavPal
Again U rocks
Thanks Rakesh.. keep learning
great video
Thanks Suresh
Pls upload all the remaining parts of the series
Coming soon Thahir
Hi Raghav,
Thank you so much..You are wonderful easy going mentor , Happy Teaches Day..
Do testers required jenkins knowledge?
Just saw 8 months back you have uploaded Jenkins 2 videos in hindi language can i prefer those 2 as well?
I like watching hindi videos as well :) so much hard work you put to bring these videos hatts off to you
Kavita
Thanks for the wishes
Yes, you can watch that to get started, although most of my work on Jenkins you can find here - automationstepbystep.com/
easy to follow. i can build successfully but my console output is not readable. looks encoded
Judith
Try to check the console output in text format
Navigate to the build you’re interested in.
On the left side, click on “Console Output”.
Then click on “View as plain text”
@@RaghavPal when i use view as plain text its the same
Okay, the issue with unreadable or encoded console output in Jenkins is often related to the character encoding settings. Jenkins uses the system's default character set, which might not be UTF-8, causing non-ASCII characters to appear encoded or garbled. Here are some steps you can take to resolve this issue:
1. Set Global Environment Variables:
- Go to `Jenkins -> Manage Jenkins -> Configure System`.
- Under Global properties, add two environment variables:
- `JAVA_TOOL_OPTIONS` with the value `-Dfile.encoding=UTF-8`
- `LANG` with the value `en_US.UTF-8`
- Save the changes and restart Jenkins.
2. Configure Encoding for Agents:
- If you're using build agents, ensure that the agent's environment variable `LC_ALL` is set to `C.UTF-8`.
- For Jenkins running in Docker, set the environment variable in the agent's Dockerfile.
3. Modify Jenkins Startup Script:
- If Jenkins is started via a script, add the JVM option `-Dfile.encoding=UTF-8` to the script.
- For example, if using Tomcat to run Jenkins, add the `-Dfile.encoding=UTF-8` to the `JAVA_OPTS` variable in the `catalina.sh` file.
4. Use AnsiColor Plugin:
- Install the AnsiColor plugin in Jenkins, which can help with encoding issues related to console output.
5. Check Jenkins XML Configuration:
- Go to your Jenkins installation directory and check the `jenkins.xml` file.
- Ensure that the `-Dfile.encoding=UTF-8` option is included in the configuration.
After making these changes, trigger a new build and check if the console output is now readable. If the problem persists, you may need to look into the specific encoding used in your build scripts or tools that generate the output¹²³.
Remember, it's important to match the encoding settings across your Jenkins controller, agents, and build environments to ensure consistent handling of character encoding.
Hello Sir , Can you please tell me why this problem arise after next step of install plugin every one plugin get error (red cross) and i try everystep 3 times every time this happened please tell me how to correct this
Hassan
I will need more details and specifics when and where is this coming.
can you show me the timestamp in the video where its happening
Hi Raghav!!! I cant seem to open the localhost:9191. how do i fix it or is there another way to open it?
update: localhost:8080 worked for me
Great, thanks for posting the solution..
thank you
next integration would you please start with the sonarqube, git with jenkins
I will plan Shiva
Hi Raghu, Thanks for this video.I followed this steps and created a 1st job just like as you said but it is showing failed for me
will need more details and error message/logs to troubleshoot
Does it need the JDK or is the JRE fine?
JRE is fine Jon
Jenkins requires a Java Runtime Environment (JRE) to run. It does not require a Java Development Kit (JDK), unless you need to compile Java code within Jenkins.
sir JDK 20 installed in my laptop. Is it support Jenkins?
Chirag
Can check here www.jenkins.io/doc/book/platform-information/support-policy-java/
thanks sir@@RaghavPal
There is a message when I search in browser
"The site can't be reached'
On which step exactly do you get this Dewashish
When I am putting http:\\localhost:9090 in browser@@RaghavPal
I got the password in cmd but now when I am doing the same thing in cmd It's not working.
Can try setup again
Why you stop uploading Sunday special videos
Please reply
It was taking a lot of time and efforts. Also I realized most of the stories and messages I had to convey were mostly done. You can re-watch all the Sunday Special Stories
@@RaghavPal Can you be my client and I will provide you my services whatever you want for example animation, editing, subtitle writer
I think you should hire me for making your sunday special video's animation - My suggestion 😊
Please tell what you think
If I have some work in future, will inform
Can you talk with me 🙏 please
Please tell me your ques
Hi Raghav , Python Oops concept is it sufficient for automation Testing ? actually I have a started learning Basic python langauage from your channel. is it sufficient for for automation testing.
Shiv
Yes, Python OOP concepts are sufficient for automation testing. OOP concepts allow you to create reusable code and to structure your code in a way that is easy to understand and maintain. This is essential for automation testing, as you will often be writing code that needs to be used repeatedly.
In addition to OOP concepts, you will also need to learn about other Python concepts, such as:
* Data structures
* Algorithms
* Regular expressions
* Unit testing
* Mocking
* WebDriver
You can learn all of these concepts from the Python documentation, or from online tutorials and courses.
Once you have a good understanding of Python, you can start learning about automation testing frameworks, such as Selenium WebDriver and Robot Framework. These frameworks provide you with the tools and libraries that you need to automate your tests.
I recommend that you start by learning the basics of Python, such as variables, data types, and functions. Once you have a good understanding of the basics, you can start learning about OOP concepts.
You can also start practicing your Python skills by writing small programs. This will help you to learn the syntax and semantics of the language.
Once you have a good understanding of Python, you can start learning about automation testing. There are many resources available online and in libraries. You can also take an automation testing course.
I hope this helps
Hello Sir , Can you please tell me why this problem arise after next step of install plugin every one plugin get error (red cross) and i try everystep 3 times every time this happened please tell me how to correct this
Hassan
I will need more details and specifics when and where is this coming.
can you show me the timestamp in the video where its happening