DevOps Vijay
DevOps Vijay
  • 44
  • 146 215
Ansible Adhoc Commands Practical example and Benefits | Best Practice | EP -4 | Ansible Tutorial
An Ansible ad hoc command uses the /usr/bin/ansible command-line tool to automate a single task on one or more managed nodes. ad hoc commands are quick and easy, but they are not reusable.
So why learn about ad hoc commands? ad hoc commands demonstrate the simplicity and power of Ansible. The concepts you learn here will port over directly to the playbook language. Before reading and executing these examples,
Benefits and Advantages of ansible ad hoc Commands:
1. Speed and Ease of Use: They require minimal setup and can be executed with a single command line. This is ideal for one-off tasks or situations where you need a fast response.
2. Simple Tasks Made Automatic: Automating even basic tasks saves time and reduces errors. Ad hoc commands let you automate simple actions like restarting services, checking system info, or copying files across multiple servers.
3. Parallel Execution: Manage multiple systems efficiently. Ansible can run ad hoc commands on a group of servers simultaneously, saving you significant time compared to manually performing the task on each machine.
4. Testing and Development: Use ad hoc commands as a testing ground for your automation. Before diving into complex playbooks, you can test modules, arguments, and target systems with ad hoc commands to refine your automation logic.
5. Flexibility: Ad hoc commands offer a wide range of possibilities. you can leverage various Ansible modules to interact with your systems in diverse ways, making them adaptable to various automation needs.
Official documentation url:
docs.ansible.com/ansible/latest/command_guide/intro_adhoc.html
Example/Sample commands:
ansible [pattern] -m [module] -a "[module options]"
ansible webservers -m ansible.builtin.file -a "dest=/path/to/c mode=755 owner=mdehaan group=mdehaan state=directory"
ansible webservers -m ansible.builtin.yum -a "name=acme-1.5 state=present"
ansible webservers -m ansible.builtin.yum -a "name=acme state=absent"
Introduction of objective topics to be covered : 00:10
Introduction to ad hoc commands: 00:40
Benefits of adhoc commands: 02:40
Live Practical Example of Adhoc commands: 04:35
ping Command in Linux : 05:11
uptime Command in Linux : 06:50
copy Command in Linux : 08:10
File Command in Linux : 10:31
yum Command in Linux : 12:00
service Command in Linux : 14:00
*************************************************************
Jenkins tutorial complete step by step guide :
How to install jenkins in windows: ua-cam.com/video/7WV8gYRCIsY/v-deo.html
How to create first sample job in jenkins: ua-cam.com/video/IhGtoHY5Wws/v-deo.html
Poll scm jenkins : ua-cam.com/video/Km2A14scdhQ/v-deo.html
How to install plugin in jenkins: ua-cam.com/video/7OWOyOuZmes/v-deo.html
How to create pipeline in jenkins: ua-cam.com/video/wBvoerbHWEU/v-deo.html
Configure Slave agent in jenkins: ua-cam.com/video/IfJRZyPK4PE/v-deo.html
SSH-KEYS setup : ua-cam.com/video/1_v7NXaDYkw/v-deo.html
Maven installation: ua-cam.com/video/uPdZ51ObJng/v-deo.html
Configure Maven with Nexus: ua-cam.com/video/TRI-GfkCNeE/v-deo.html
*************************************************************
Ubuntu on Virtualbox: ua-cam.com/video/qQ_V_KEnLbE/v-deo.html
Install Guest additions in oracle vm: ua-cam.com/video/zHwk4ukUHjM/v-deo.html
Install Tomcat on Ubuntu: ua-cam.com/video/8fFNVXNuPo4/v-deo.html
****************************************************
Devops interview questions: ua-cam.com/video/g8HMqQ_WCSE/v-deo.html
Devops java project sample: ua-cam.com/video/MrVmSDSU2zE/v-deo.html
*****************************************************
Ansible tutorial
***********************************************
Introduction to ansible: ua-cam.com/video/X5mo-xe-9dA/v-deo.html
Ansible installation on linux: ua-cam.com/video/XMwbJWHLcxQ/v-deo.html
Best practice for ansible folder structure: ua-cam.com/video/vKR98y2eiOE/v-deo.html
devops tutorial for beginners
devops full course
devops interview questions
jenkins tutorial
#tutorial #devops #jenkins #jenkinstutorial #jenkinspipeline #learning #career #interview #question #jenkins #cicd #linux #devopsvijay #devopsproject #devopstraining #devopstrainingvideos #cicd #bashscripting #shellscripting #ansible #ansibletutorial #ansibletraining
Переглядів: 177

Відео

Ansible Directory Layout: Organize Your Automation Projects| Best Practice| EP -3 | Ansible Tutorial
Переглядів 2226 місяців тому
This Video explain the best practice standard folder structure followed in ansible although usage of Ansible should fit your needs, and feel free to modify this approach and organize as you see fit. Ansible uses YAML files and various components to manage your infrastructure. But without a good folder structure, things can get messy quickly. So, let's break down some key directories and how the...
Ansible Installation on Linux | Ansible Tutorial | EP - 2
Переглядів 1346 місяців тому
The ansible package can always be installed from PyPI using pip on most systems but it is also packaged and maintained by the community for a variety of Linux distributions. Ansible is not available in the default RHEL repositories, so we need to install Extra Packages for Enterprise Linux (EPEL) in order to install it via yum. To do so, head on over to docs.fedoraproject.org/en-US/epel/ and do...
Introduction to Ansible Architecture and Advantages of Using Ansible | Ansible Tutorial | EP 1
Переглядів 676 місяців тому
Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs. Being designed for multi-tier deployments since day one, Ansible models your IT infrastructure by describing how all of your systems inter-relate, rather than just managing one system at a time. It uses no a...
Configure Maven in ECLIPSE IDE and use ECLIPSE from zip | Maven Project | MAVEN TUTORIAL | EP 04
Переглядів 518Рік тому
In this video, we will learn how to install eclipse ide and configure eclipse with custom version for maven and create new project and build the jar project. Maven is a build management tool that is used extensively with Java. Maven eases the process of builds for your application and provides features to automate this process. It is also very helpful when you are aiming for continuous integrat...
Git what to ignore ? | Usage of gitignore file in GIT | Live Example with GitHub | GIT Tutorial
Переглядів 314Рік тому
In this video, we will learn what is the role of gitignore file in github repo. The purpose of gitignore files is to ensure that certain files not tracked by Git and remain untracked. To stop tracking a file that is currently tracked, use git rm cached to remove the file from the index. The filename can then be added to the .gitignore file to stop the file from being reintroduced in later commi...
Installation of Nexus Repository in windows | Configure Maven pom file to upload artifact | Tutorial
Переглядів 4,4 тис.Рік тому
In this video, we will learn multiple topics which help to achieve final goal cicd in devops. Chapters: 0:10 Introduction Topic 0:30 What is sonatype nexus repository ? 1:50 How to download and install nexus repository? 8:40 Difference between snapshot and release type repository 9:40 how to setup first admin password in Nexus 11:40 How to configure maven pom.xml file to upload artifact in rele...
Maven Installation & Jenkins Slave Agent configuration with Maven | EP 19 | Jenkins Tutorial
Переглядів 1,1 тис.Рік тому
In this video, we will learn how to install maven in Linux and edit bash profile to edit path variable. then we will configure jenkins slave agent with maven location and in end we will build sample project and achieve continuous integration The installation of Apache Maven is a simple process of extracting the archive and adding the bin directory with the mvn command to the PATH. Detailed step...
How to setup/Configure Tools in Slave Agent in Jenkins ? | EP 18 | Jenkins Tutorial | DevOps
Переглядів 1,4 тис.Рік тому
In this video, we will learn how to configure various software or tools specific to Slave Agent in Jenkins. In Global Configuration, you can configure different tools, such as Maven, JDK, Ant, etc. When you do that, you also provide an installation method (usually an automatic online installer). Now, on the Job Configuration, when you configure a buildstep using one of the tools, for example In...
How to Install and configure Tomcat on UBUNTU VIRTUALBOX ? | Bridged Adaptor Network | Tutorial
Переглядів 768Рік тому
In this video, you will learn how to install tomcat on ubuntu virtualbox and then using the tomcat from host machine windows box using setup bridged adaptor. Apache Tomcat is the most used application server among Java developers. The survey states that Apache Tomcat Server is utilized by 64% of corporate Java engineers. Also, the Tomcat container has received more popularity and support from d...
What is shebang or #!/bin/bash in LINUX ? | Linux Tutorial | Mandatory question for Interview
Переглядів 649Рік тому
This video might help in clearly basic round of interview for linux or Devops or cloud interview In computing, a shebang is the character sequence consisting of the characters number sign and exclamation mark (#!) at the beginning of a script. It is also called sharp-exclamation, sha-bang and hashbang When a text file with a shebang is used as if it is an executable in a Unix-like operating sys...
GIT Remote branch Deletion with Command Line | Beginners | Automation | GIT Tutorial
Переглядів 274Рік тому
In this video, i will show how to delete remote git branch in GitHub or bitbucket There are many ways to delete a remote Git branch that lives on GitHub or Bitbucket. If you have administrative access to the GitHub or Bitbucket landing pages for your repo, there are plenty simple, of point-and-click deletion options for unprotected branches. Alternatively, you can issue either of the following ...
Test your DevOps skills and knowledge ?| Devops Interview Questions | Preparation for Interview
Переглядів 473Рік тому
This video will help in preparation of inteview first round and help in debugging skills. This assignment was asked in first round of interview to clear. so it is like latest questions and assignment asked today in market as per today's requirement hope this video help in clearing interview for devops engineer, cloud engineer and site reliablity engineer. ASSIGNMENT GITHUB URL: github.com/goelv...
Jenkins Poll SCM GitHub | BUILD Triggers with Cron Expression | EP16 | JENKINS TUTORIAL
Переглядів 2,4 тис.Рік тому
In this video, you will learn how to setup git poll scm for master branch in build triggers in jenkins Also how to write cron expression. This is the first step towards achieving the continuously integration means CI part from CICD. This is very helpful in performing operations task Jenkins tutorial complete step by step guide : ua-cam.com/play/PL_Tu5Dicv_WCyKwf9B4F4ljcpJMYhRJ36.html How to ins...
GIT BRANCH CREATION IN BASH & PUSHING TO GITHUB 🤖 | GIT TUTORIAL | BEGINNERS
Переглядів 2 тис.Рік тому
In this video, i will show you how to create branch in git bash and push it to github. In Git, branches are a part of your everyday development process. Git branches are effectively a pointer to a snapshot of your changes. When you want to add a new feature or fix a bug-no matter how big or how small-you spawn a new branch to encapsulate your changes. Jenkins tutorial complete step by step guid...
Full screen issue ? | Install GUEST ADDITIONS on UBUNTU VIRTUALBOX ? | PART 2 | BEGINNERS
Переглядів 163Рік тому
Full screen issue ? | Install GUEST ADDITIONS on UBUNTU VIRTUALBOX ? | PART 2 | BEGINNERS
Need UBUNTU on Windows Operating System? Install VIRTUALBOX | Part 1 | Beginners | Tutorial
Переглядів 147Рік тому
Need UBUNTU on Windows Operating System? Install VIRTUALBOX | Part 1 | Beginners | Tutorial
Rebuild option in Jenkins 😱 | EP15 | Helpful in retrigger Jobs | Jenkins tutorial
Переглядів 990Рік тому
Rebuild option in Jenkins 😱 | EP15 | Helpful in retrigger Jobs | Jenkins tutorial
How to get List of Environment variables in Jenkins ?| EP 14 | Used in Automation | Jenkins Tutorial
Переглядів 1,8 тис.Рік тому
How to get List of Environment variables in Jenkins ?| EP 14 | Used in Automation | Jenkins Tutorial
How to Create Java Web Project in Maven | Build War file and Deploy in Tomcat |EP 03| Maven Tutorial
Переглядів 1,1 тис.Рік тому
How to Create Java Web Project in Maven | Build War file and Deploy in Tomcat |EP 03| Maven Tutorial
Unable to Login to Jenkins UI ? 😱 | How to disable Jenkins login? | EP 13 | Jenkins Tutorial
Переглядів 7 тис.Рік тому
Unable to Login to Jenkins UI ? 😱 | How to disable Jenkins login? | EP 13 | Jenkins Tutorial
Create Java Project in Maven | Folder Structure Overview & Jar Building |EP 02| DevOps project
Переглядів 614Рік тому
Create Java Project in Maven | Folder Structure Overview & Jar Building |EP 02| DevOps project
Tomcat Installation on Windows 💻 😎 | How to Deploy War File in tomcat ? | Tomcat Server Tutorial
Переглядів 4,1 тис.Рік тому
Tomcat Installation on Windows 💻 😎 | How to Deploy War File in tomcat ? | Tomcat Server Tutorial
Maven Installation on Windows | EP 01 | Maven Tutorial | Beginners | DevOps Training & projects
Переглядів 249Рік тому
Maven Installation on Windows | EP 01 | Maven Tutorial | Beginners | DevOps Training & projects
Creating First Pipeline in Jenkins | EP 12 | Declarative Pipeline | Beginners | DevOps Training
Переглядів 2,2 тис.Рік тому
Creating First Pipeline in Jenkins | EP 12 | Declarative Pipeline | Beginners | DevOps Training
Continuous Integration & Continuous Deployment | What is CICD? | What is DevOps ? | DevOps Tutorial
Переглядів 71Рік тому
Continuous Integration & Continuous Deployment | What is CICD? | What is DevOps ? | DevOps Tutorial
SSH-KEY Authentication Setup in Github UI | Create Public and Private Key in Git Bash | GIT Tutorial
Переглядів 863Рік тому
SSH-KEY Authentication Setup in Github UI | Create Public and Private Key in Git Bash | GIT Tutorial
How to sync local/Fork Github repo using upstream method ? | Common issue Faced by Developers | GIT
Переглядів 7 тис.Рік тому
How to sync local/Fork Github repo using upstream method ? | Common issue Faced by Developers | GIT
How to Configure Git (GitHub) SCM in Jenkins? | EP 11| Jenkins GitHub Integration | Jenkins Tutorial
Переглядів 19 тис.Рік тому
How to Configure Git (GitHub) SCM in Jenkins? | EP 11| Jenkins GitHub Integration | Jenkins Tutorial
How to Calculate Magic numbers for chmod in Linux? | RedHat Linux Chmod CMD | Helpful in Interview
Переглядів 368Рік тому
How to Calculate Magic numbers for chmod in Linux? | RedHat Linux Chmod CMD | Helpful in Interview

КОМЕНТАРІ

  • @virtualuni890
    @virtualuni890 12 днів тому

    please help me i am running jenkins in tomcat server configured everything , when i go to source code managment and check git paste url or not i click apply or save it gives me error like this appear on screen A problem occurred while processing the request Logging ID=7bf13aae-d757-49af-9f64-caee6264bb9b i tried everything gpt google youtube configuration port checking compatibility , iam tried tom cat 9 10 jenkins.war every version everything but the issue is not resolving change even laptop same issue is happeing

    • @devopsvijay
      @devopsvijay 11 днів тому

      Make sure you have git installed and configured in jenkins . Then only you can use git check button

    • @virtualuni890
      @virtualuni890 9 днів тому

      @devopsvijay i installed git in my pc also save paths in environment variable, and configured in jenkin tool section i give c drive path to Jenkins. But still not working in tomcat server jenkin version. And jenkin which is directly installed in laptop is working fine.

  • @manjunatha9254
    @manjunatha9254 15 днів тому

    im facing 'mvn' is not recognized as an internal or external command, operable program or batch file. problem solution pls

    • @devopsvijay
      @devopsvijay 11 днів тому

      Mvn should be present on server and it should be part of PATH variable. Once it is present in PATH. restart the jenkins agent and it should work. This is one way. Another way you can configure your jenkins agent to point to mvn installed directory and then you can use maven plugin in your job

    • @manjunatha9254
      @manjunatha9254 11 днів тому

      @devopsvijay tq 🙏

  • @VrathorAnotherMe
    @VrathorAnotherMe 17 днів тому

    One time setup life time enjoyment

  • @BhavanireddyPadamati
    @BhavanireddyPadamati 18 днів тому

    It's not working

    • @devopsvijay
      @devopsvijay 16 днів тому

      Provide the details of issue. Will try to help

  • @musafir4168
    @musafir4168 24 дні тому

    Very helpful.. as usual

  • @rcraftg4mer42
    @rcraftg4mer42 Місяць тому

    i love you

  • @testingtotest3403
    @testingtotest3403 Місяць тому

    My issue is not resolved after this also

    • @devopsvijay
      @devopsvijay Місяць тому

      You can paste is detail. I will try to help

  • @JoaoBeires
    @JoaoBeires Місяць тому

    ⭐ I just have to say a HUGE thank you! You’re truly a lifesaver. I was struggling with an issue that had me totally stuck for days, trying every solution I could find online, but nothing was working...until I found your video! Your clear, step-by-step guidance made all the difference. It’s so rare to find someone who not only knows the subject so well but can also explain it in such an easy-to-understand way. The amount of effort and dedication you put into helping your audience doesn’t go unnoticed. The way you broke down the problem, anticipated possible mistakes, and even shared those small tips and tricks - it shows just how deeply you care about helping people succeed. I genuinely appreciate your patience, and I can’t imagine how many hours go into making a tutorial as helpful as this one. You’ve definitely earned a lifelong subscriber, and I’ll be recommending your channel to everyone who needs guidance in this area. 🙌 Thank you again for doing what you do. You’re truly making a difference for people like me, and it’s inspiring to see someone sharing knowledge so selflessly. Please keep up the incredible work; your community is so lucky to have someone like you! Cheers to more success for you - you deserve it. 🚀💥

    • @devopsvijay
      @devopsvijay Місяць тому

      Thank you for your kind words. Your feedback really motivates me.

  • @tonyb9864
    @tonyb9864 Місяць тому

    Good stuff!

  • @NdiforJefferson-e9p
    @NdiforJefferson-e9p Місяць тому

    please help with a video on how to create a job using SLAVE agent

    • @devopsvijay
      @devopsvijay Місяць тому

      Sure. Noted it. Thanks for suggestion

  • @sudiptamohanty8385
    @sudiptamohanty8385 Місяць тому

    Thankyou. The cmd method worked for me

  • @devopsvijay88
    @devopsvijay88 Місяць тому

    Thanks for the basic explanation and proper understanding your videos are awesome

  • @We_aree_Stardust
    @We_aree_Stardust Місяць тому

    How how to create

    • @devopsvijay
      @devopsvijay Місяць тому

      Go to aws and ui will guide you to create EC2 MACHINE

  • @We_aree_Stardust
    @We_aree_Stardust Місяць тому

    What is ec2 box in aws

  • @hazoumsoussi4678
    @hazoumsoussi4678 Місяць тому

    great ^^

  • @ngocnguyn13
    @ngocnguyn13 Місяць тому

    Thank you for your amazing video! But I still have some question, so sorry to bother you. I followed every step in the video but when I tried to deploy my war file in Tomcat, it can't run, have you ever encountered this problem? Except for java, is there any other thing I have to install before using Tomcat?

    • @devopsvijay
      @devopsvijay Місяць тому

      Java is the only pre req for tomcat.

  • @Momandshanvi
    @Momandshanvi Місяць тому

    Sir I have a doubt, I have created a master and slave machines with a passwordless authentication. I copied the ssh-key generated(tpublic) on the master machine to both of the slave machines(.ssh/authorized_keys). Now when i launch nodes for both the machines, it rejecting the private key. can i generate a ssh key in slave machine and use the private rsa keys to authenticate for nodes?

    • @devopsvijay
      @devopsvijay Місяць тому

      Yes you can use ssh key generated on slave box also

  • @TheDacks
    @TheDacks 2 місяці тому

    I did everything, but when connecting it says: SSH Connection failed with IOException: "Key exchange was not finished, connection is closed.", retrying in 15 seconds. There are 1 more retries left. Searching for [myserverip] in /var/lib/jenkins/.ssh/known_hosts Searching for [myserverip]:22 in /var/lib/jenkins/.ssh/known_hosts [09/26/24 17:02:16] [SSH] WARNING: No entry currently exists in the Known Hosts file for this host. Connections will be denied until this new host and its associated key is added to the Known Hosts file.

    • @TheDacks
      @TheDacks 2 місяці тому

      I just deleted the agent and created a new one

  • @rinmlo
    @rinmlo 2 місяці тому

    I have followed your video and it worked great thanks. I have three windows 11 PC's that I have done this on. On one PC everything is working great. On the other two PC's the jenkins node is connected and seems to be ok, but when I try to run any python command via a jenkins script running on those agents, I get an error, eg: C:\Users\vm_pr\Jenkins\workspace\test_selenium_run_node>C:\Users\vm_pr\Jenkins\env\Scripts\python.exe --version 14:08:29 Unable to create process using '"C:\Users\vm_pr\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe" --version' the same command, run locally in a cmd or PowerShell on the PC, works fine: PS C:\Users\vm_pr> C:\Users\vm_pr\Jenkins\env\Scripts\python.exe --version Python 3.12.6 I've checked everything I can think of, like path environment, installing the agent as administrator, but I'm completely stumped. I don't really understand the redirect of my python vent to the WindowsApps folder either, but then I'm not too familiar with MS windows.

  • @sangramkeshariswain5850
    @sangramkeshariswain5850 2 місяці тому

    Thank you so much. I have spent almost a month trying out a lot of videos, but finally, this one worked with some modifications. Here, you used "ssh-keygen", but it is not supported anymore, so I generated the private and public keys using the command "ssh-keygen -t rsa -b 4096 -m PEM -f ~/.ssh/id_rsa"

  • @vamsiaws
    @vamsiaws 2 місяці тому

    How can we initiate downstream project with condition. If parameter value in jenkins has Yes, then downstream job should be triggered. If the option is No, downstream job should not trigger.

    • @devopsvijay
      @devopsvijay 2 місяці тому

      You can install conditional step plugin This plugin has many options to triggers

  • @musafir4168
    @musafir4168 3 місяці тому

    Clear and Crisp, Thank you

    • @devopsvijay
      @devopsvijay 2 місяці тому

      Glad you liked it, please like and subscribe. Thanks

  • @satendrakumar-ue4ze
    @satendrakumar-ue4ze 3 місяці тому

    Hi Vijay.. I watched almost all your videos... Could you please make a video for Jenkins upgradation process along with jobs backup process for windows server. Thank you in advance.

  • @anishkumarvijayan1648
    @anishkumarvijayan1648 3 місяці тому

    It's working, Thanks @Vijay

  • @satendrakumar-ue4ze
    @satendrakumar-ue4ze 3 місяці тому

    Hi Vijay.. Do we need to configure java path also in slave agent... I have installed linux box as a slave agent-getting thid error while running job in jenkins master-Java Home is set an invalid directory.. Could you please help.. thank you in advance.

    • @devopsvijay
      @devopsvijay 3 місяці тому

      Yes, you can configure slave agent with . Video for slave agent configure for maven Same way for java ua-cam.com/video/7UCCB-6SqI8/v-deo.html

  • @satendrakumar-ue4ze
    @satendrakumar-ue4ze 3 місяці тому

    Working fine now... I have given prod ip instead of local host..

    • @devopsvijay
      @devopsvijay 3 місяці тому

      Great, Happy to see your debugging skill. Good Going.. keep learning.

    • @satendrakumar-ue4ze
      @satendrakumar-ue4ze 3 місяці тому

      @@devopsvijay Thanks vijay

  • @satendrakumar-ue4ze
    @satendrakumar-ue4ze 3 місяці тому

    I am unable to download agent.jar file in my agent system.. could you please help me. thank you in advance.

  • @satendrakumar-ue4ze
    @satendrakumar-ue4ze 3 місяці тому

    Amazing teaching skills.. Learned so many things.. Great Job bro, keep doing it... Already subscribed the channel.

    • @devopsvijay
      @devopsvijay 3 місяці тому

      Thanks for subscribing...

  • @satendrakumar-ue4ze
    @satendrakumar-ue4ze 3 місяці тому

    Thanks brother... explained in very simple way... I really apricated Thanks.

    • @devopsvijay
      @devopsvijay 3 місяці тому

      Thanks, Glad it was helpful..

  • @sumitraii4566
    @sumitraii4566 3 місяці тому

    how to deploy war file from jenkins on windows to linux agent on tomcat conatiner?

    • @devopsvijay
      @devopsvijay 3 місяці тому

      Once linux agent is connected as slave. The deploying war file in tomcat process is same for windows and linux. Take a look at this video, might be helpful ua-cam.com/video/fuelx5j1HA8/v-deo.html

  • @Ravi-r4b
    @Ravi-r4b 3 місяці тому

    I am unable to login to Jenkins tool This site can’t be reached1XXXXXXXXtook too long to respond. Try: Checking the connection Checking the proxy and the firewall Running Windows Network Diagnostics ERR_CONNECTION_TIMED_OUT; Please help me how to slove the issue

    • @devopsvijay
      @devopsvijay 3 місяці тому

      Check the connectivity from master to slave server using telnet command on port 22.

  • @memedance3535
    @memedance3535 3 місяці тому

    muy bueno

  • @pandurangkhot5042
    @pandurangkhot5042 3 місяці тому

    Could you please make a simple script that checks if a user is present on the remote server and runs the job again? Also, show me how we can connect to the server in Jenkins

    • @devopsvijay
      @devopsvijay 3 місяці тому

      This video for connecting linux server in jenkins. This will help. ua-cam.com/video/Se7JtzFVZGE/v-deo.html if windows server then below video will help. ua-cam.com/video/VwliiaOI5po/v-deo.html

  • @dominikcicea
    @dominikcicea 3 місяці тому

    Thank you bro, nice explanation, very simple

  • @Meghana-x1q
    @Meghana-x1q 3 місяці тому

    hello , my doubt is , generated ssh keys in agent server and add private key in jenkins , but where to add public ? in master server or agent server? anyone please give reponse

    • @devopsvijay
      @devopsvijay 3 місяці тому

      Agent server.

    • @magicrooster9491
      @magicrooster9491 2 місяці тому

      @@devopsvijay bro then how to ssh between master and slave? we need to create public and private key on maste? then paste public key on slave,paste private key on jenkin's console right?

  • @nirajdeshmukh7514
    @nirajdeshmukh7514 4 місяці тому

    Thank you so much

  • @archanashavanthi328
    @archanashavanthi328 4 місяці тому

    awesome

  • @prasadgaming7574
    @prasadgaming7574 4 місяці тому

    Thank you

  • @rakeshr2678
    @rakeshr2678 5 місяців тому

    Man u save me

  • @vysakhvk7518
    @vysakhvk7518 5 місяців тому

    How do I run the job when a PR is raised using the poll method?

    • @devopsvijay
      @devopsvijay 5 місяців тому

      Poll scm will not work . You might want to use girhub webhook. Which will trigger the job when pr is raised

  • @veeraiahmadamanchi4723
    @veeraiahmadamanchi4723 5 місяців тому

    Host name didn't worked for me i tried using the public ip it connected

    • @devopsvijay
      @devopsvijay 5 місяців тому

      Please paste the error. I will try to check

  • @PavanB-d5s
    @PavanB-d5s 5 місяців тому

    Hi Getting error while running command from windows as below (Did i want to change java?) Exception in thread "main" java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method)

    • @devopsvijay
      @devopsvijay 5 місяців тому

      Yes, there java version mismatch as per error

  • @ajongafaczinkeng1458
    @ajongafaczinkeng1458 5 місяців тому

    Thank you for this, this video really helped me

  • @ShiwangiKumari-mp1fu
    @ShiwangiKumari-mp1fu 5 місяців тому

    sidhi baat no bakaws itna clear koi vdo ni hai youtube pe.log 3hrs 6 hrs ka vdo bnate but dekh k v kuch samkh ni ata na kuch kaam ka lgta hai.sir itne vdos ky kfi h ya ar bht kuch hai please make vdo on that also.

    • @devopsvijay
      @devopsvijay 5 місяців тому

      Thanks for the suggestion. Feedback helps in creating more content specific videos.

  • @509swetha6
    @509swetha6 5 місяців тому

    Thank you so much. My issue got resolved.🎉

    • @devopsvijay
      @devopsvijay 5 місяців тому

      Glad , it was helpful

  • @Belief-tv6rl
    @Belief-tv6rl 5 місяців тому

    ERROR: Server rejected the 1 private key(s) for ec2-user (credentialId:jenkins-slave/method:publickey) authentication failed what should i have to do ? bro

    • @devopsvijay
      @devopsvijay 5 місяців тому

      Thanks for pasting the error. Check the comments history, you will find the solution i had pasted sometime back.

  • @nagkumar
    @nagkumar 5 місяців тому

    Would it not pull externall mvn dependencies too..through local host so that build is too fast and consumes less internet bandwidth..may be make an video highlighting those aspects..

    • @devopsvijay
      @devopsvijay 5 місяців тому

      Thanks for the suggestion. Noted it down

  • @jerinvarghese160
    @jerinvarghese160 6 місяців тому

    Great class, thanks buddy❤

    • @devopsvijay
      @devopsvijay 6 місяців тому

      Thanks for watching! I am glad you found it valuable.

  • @nischalchudal9903
    @nischalchudal9903 6 місяців тому

    even though i provide the java jar command it is not showing that my agent is connected. what can be the reason? i have followed each and every step throughly but it is still not connected

    • @devopsvijay
      @devopsvijay 6 місяців тому

      Please paste the error which you might seeing in jenkins ui page for manage nodes

  • @spectacularangular637
    @spectacularangular637 6 місяців тому

    Unable to access manager view in Tomcat 10, even after i set up credentials in tomcat-users.xml