Jenkins Beginner Tutorial 7 - Getting started with JOBS

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

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

  • @linkflap1342
    @linkflap1342 4 года назад +4

    Best automation channel on YT and I think best materials on web as well. I'm learning network automation and network as code concept and your channel provides very solid foundation. I was not able to figure it out how this works with networking but your channel helped me to run first basic automated job for routers and switches. Other tutorial shows only how this stuff can be used but don't show how to set that stuff. Slow paced step by step explanation is very helpful for inexperienced people. Jenkins is easy to install and have nice GUI. Thanks for your hard work.

  • @prathsy
    @prathsy 8 лет назад +7

    Very nice explanation. I like it very much. Looking forward for next sessions by you which will explain all the configurations in detail. Please publish asap.

    • @RaghavPal
      @RaghavPal  8 лет назад +2

      Thanks Prathyusha for liking. Will create new sessions on Jenkins soon.

  • @mehakverma2523
    @mehakverma2523 6 лет назад +6

    Very well explained tutorial. I was looking for something like this. This explains the CI process very clearly. Thanks Raghav :)

    • @RaghavPal
      @RaghavPal  6 лет назад +1

      You're welcome Mehak

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

    I want to thanks for your collaborations in trying to understand how this wonderful tool works...THX Sir!!!

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

    very crisp and upto the point explanation.
    thank you for such detailed explanation of every element!

  • @AmanMunnaBali
    @AmanMunnaBali 4 года назад +4

    for anyone following along on windows, the cmd date equivalent is "date \T."
    If you just give date, cmd asks for user input (set new date).

    • @RaghavPal
      @RaghavPal  4 года назад +3

      Thanks for adding Aman, You can also use echo 27-03-2018 | date

    • @khushijohri5337
      @khushijohri5337 4 года назад

      thanks

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

      @aman: After runing build for 'date' command using option 'execute windows batch command' on windows , I a getting error below.
      Started by user unknown or anonymous
      Running as SYSTEM
      Building in workspace C:\Users\me\.jenkins\workspace\Test2
      [Test2] $ cmd /c call C:\Users\me\AppData\Local\Temp\jenkins12681198203882068479.bat
      C:\Users\me\.jenkins\workspace\Test2>date
      The current date is: 25-12-2023
      Enter the new date: (dd-mm-yy)
      C:\Users\me\.jenkins\workspace\Test2>exit 1
      Build step 'Execute Windows batch command' marked build as failure
      Finished: FAILURE
      and using "date \T." getting below
      Started by user unknown or anonymous
      Running as SYSTEM
      Building in workspace C:\Users\me\.jenkins\workspace\Test 3
      [Test 3] $ cmd /c call C:\Users\me\AppData\Local\Temp\jenkins7093448914425868521.bat
      C:\Users\me\.jenkins\workspace\Test 3>"date \T."
      The system cannot find the path specified.
      C:\Users\me\.jenkins\workspace\Test 3>exit 3
      Build step 'Execute Windows batch command' marked build as failure
      Finished: FAILURE
      any idea on it?

  • @anilkommalapati6248
    @anilkommalapati6248 6 лет назад

    I almost learn jenkins from your tutorials. You are a GEM. god bless u.

    • @RaghavPal
      @RaghavPal  6 лет назад

      Thanks for your kind words Anil.

  • @udaykarki2033
    @udaykarki2033 7 лет назад +2

    Hello Raghav - thanks for the tuorials. They are fantastic. Appreciate your help.

    • @RaghavPal
      @RaghavPal  7 лет назад

      Glad you liked it. Keep Learning.

  • @rahulsingh-jg9wt
    @rahulsingh-jg9wt 6 лет назад +2

    HI Raghav thanks for proving such a nice tutorial ..searching for solution for my work from a long time but finally I got help from here ..Please keep up the good work God bless you

    • @RaghavPal
      @RaghavPal  6 лет назад

      Glad to see your message Rahul, All the best

  • @kapilkaushal6178
    @kapilkaushal6178 6 лет назад +1

    i have gone through yours sessions. you explain very nice and it help me alot. thanks

  • @geethak.r7747
    @geethak.r7747 7 лет назад +1

    Clear explanation and this helps a lot. Thank you for this great work .Sir!

    • @RaghavPal
      @RaghavPal  7 лет назад

      You're welcome Geetha. keep learning.

  • @Tourforu56
    @Tourforu56 4 года назад +1

    He's the one real teacher in market lots of fake people's iam seeing most of them are m-minded.

    • @RaghavPal
      @RaghavPal  4 года назад

      So happy & humbled to see your message Daniel

  • @Michael-ed5fs
    @Michael-ed5fs 6 лет назад +2

    Thanks a lot, Raghav, really helpful series about Jenkins, superb explanation!

    • @RaghavPal
      @RaghavPal  6 лет назад

      Thanks for watching Michael

  • @jiyabhavin
    @jiyabhavin 6 лет назад

    All your videos are very well explained. Thanks you.

  • @arkajyotidas4603
    @arkajyotidas4603 3 года назад

    I don't usually comment but this tutorial series is very well planned and explained.

  • @timgrayden945
    @timgrayden945 7 лет назад +1

    Interesting tutorial. You can also see the status of newly created job right on the desktop with a tool like CatLight build monitor

    • @RaghavPal
      @RaghavPal  7 лет назад

      Thanks Tim, i will look into CatLight.

  • @douglasmartinssantos4059
    @douglasmartinssantos4059 8 лет назад +5

    Thanks for the class.

  • @michaeltruong9063
    @michaeltruong9063 5 лет назад +2

    Half way through, enjoying the content. Have taken some basic udemy courses but this is way more informative.

    • @RaghavPal
      @RaghavPal  5 лет назад

      Glad to know this Michael, humbled.

    • @sumeetmoralwar
      @sumeetmoralwar 5 лет назад

      Right.. This is much better than udemy course.. Really useful content.

  • @muniraahmed3788
    @muniraahmed3788 8 лет назад +4

    Thank you! very nice explanation .

  • @divyashirsat615
    @divyashirsat615 4 года назад +1

    Hi Raghav, really your videos are easy to understand....please make a video for windows 10 OS also

    • @RaghavPal
      @RaghavPal  4 года назад +1

      Sure I will do Divya, although most of the stuff here will apply to windows 10. Once you have Jenkins other things should be the same mostly

  • @TheKanav123
    @TheKanav123 7 лет назад +1

    Very nice Raghav! appreciate your work. Please post more videos.
    i have shared your videos with my colleagues

    • @RaghavPal
      @RaghavPal  7 лет назад +1

      Thanks for watching and sharing with others. I hope this reaches everyone who is in need and wants to learn step-by-step. Glad you liked it.

  • @SimonYells
    @SimonYells 4 года назад

    Very nicely explained! Thanks

    • @RaghavPal
      @RaghavPal  4 года назад

      Glad it was helpful Simon

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

    Awesome explanation as always .Thank u sir 🙂

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

      Always welcome Suchi

  • @anjalirawat8828
    @anjalirawat8828 5 лет назад

    wow......again a very good explanation.

    • @RaghavPal
      @RaghavPal  5 лет назад +1

      Thanks for watching Anjali

  • @jesseallaway1149
    @jesseallaway1149 6 лет назад

    Nice video! To get the jobs to run, I had to check ""Restrict where this job can be run" and enter the label for the node we previously created. Not sure why he didn't have to in the video, but try that if your jobs are stuck in Pending.

  • @Sailgodgreenearth
    @Sailgodgreenearth 3 года назад

    Great Series.

  • @manasmohamed2774
    @manasmohamed2774 4 года назад

    Very clear...Thanks for the explanation :)

    • @RaghavPal
      @RaghavPal  4 года назад

      You are welcome Manas

  • @reddirani4474
    @reddirani4474 6 лет назад +1

    Nice Explanation..Thank you..

  • @karthikyadav2869
    @karthikyadav2869 3 года назад +1

    Hi Raghav, your tutorials are very good and it helped me a lot. Could you please do a tutorial on how to integrate python unit tests with Jenkins

    • @RaghavPal
      @RaghavPal  3 года назад +1

      Sure will do Karthik

  • @prasannakumar9335
    @prasannakumar9335 6 лет назад

    Excellent Explanation.

    • @RaghavPal
      @RaghavPal  6 лет назад

      Thanks for watching and liking Prasanna

  • @sonam6349
    @sonam6349 6 лет назад +1

    very helpful and clear explanation. Please do videos on kubernetes too.
    Good Luck

    • @RaghavPal
      @RaghavPal  6 лет назад

      Will do it soon Sona. thanks for watching.

  • @manishabro
    @manishabro 4 года назад

    Great work Raghav, very well explained happy to learn from you..

  • @rajeshsaxena18
    @rajeshsaxena18 8 лет назад +1

    superb tutorial..have u published sessions beyond #7. detailed jobs configuration.

    • @RaghavPal
      @RaghavPal  8 лет назад +1

      Thanks Rajesh for liking. Will be publishing further sessions soon. Stay tuned..

  • @rinaldochristy
    @rinaldochristy 5 лет назад

    Excellent training videos Raghav, keep it up. What are the best use cases for triggering jobs remotely? why and when would someone need to do that? Would appreciate your feedback.

    • @RaghavPal
      @RaghavPal  5 лет назад

      Hi, thanks for watching. There can be many reasons like your jenkins is setup on some remote cloud system or there is a distributed system in place. In most of the cases, we have jenkins running on a separate cloud server.

  • @rajum8067
    @rajum8067 5 лет назад

    Simply Awesome Sir

  • @7Divine1
    @7Divine1 7 лет назад +1

    Thank you Sir for sharing this content

    • @RaghavPal
      @RaghavPal  7 лет назад

      Thanks Calvin for watching and learning.

  • @AZeeee
    @AZeeee 7 лет назад

    Great stuff sir !! Thanks a lot !

  • @Nagaraju-xe4df
    @Nagaraju-xe4df 6 лет назад +2

    Your Tutorials are very informative, is it possible to do more tutorials on AWS, GCP, Kubarnaties

    • @RaghavPal
      @RaghavPal  6 лет назад

      Thanks Naga, yes I will do more tutorials on these topics

  • @ivenkateswarlugemini666
    @ivenkateswarlugemini666 8 лет назад +3

    Thank you sir very nice explanation we waiting for next section; please take one project and explain point to point sir we are maintain one note book that's the resign sir ; vedio maintain bellow 20 minutes;
    thank you sir

    • @RaghavPal
      @RaghavPal  8 лет назад +2

      I am glad you found it helpful.
      I will add more sessions and project soon.

  • @Mohamed-uf5jh
    @Mohamed-uf5jh 6 лет назад

    Great Job , clear and helpful Thanks sir

    • @RaghavPal
      @RaghavPal  6 лет назад

      Glad to know this. Keep learning.

  • @donatobaonguis4315
    @donatobaonguis4315 7 лет назад +1

    Thank you! Good tutorial!!

  • @akashsaha7860
    @akashsaha7860 3 года назад +1

    Hi Ragav, Thanks a lot for this videos. Very well explained. I have a query. You have explained triggering of job test1 , when job test2 is triggered. Here test1 and test2 are in same jenkins server. How to configure build trigger on job test1 when job test2 is in different jenkins server.

    • @RaghavPal
      @RaghavPal  3 года назад

      HI Akash, you can try Generic Webhook Trigger plugin
      this should help you - stackoverflow.com/questions/11560992/can-one-jenkins-trigger-a-job-on-a-remote-jenkins

    • @akashsaha7860
      @akashsaha7860 3 года назад

      Thanks a lot Raghav. This link helped.

  • @sumeetmoralwar
    @sumeetmoralwar 5 лет назад

    Really useful content.. Can you please create series for docker and kubernetes..

    • @RaghavPal
      @RaghavPal  5 лет назад

      Thanks Sumeet. Docker you can find here - automationstepbystep.com/online-courses/ Kubernetes will be coming soon

  • @Ramachandran.2912
    @Ramachandran.2912 7 лет назад

    Excellent explanations for a beginner. Can we expect a docker tutorial soon?

    • @RaghavPal
      @RaghavPal  7 лет назад

      yes very soon. thanks for watching. Keep learning.

    • @RaghavPal
      @RaghavPal  7 лет назад

      subscribe to get updates on new videos.

  • @__greg__
    @__greg__ 4 года назад

    Very helpful, thanks!

  • @sanjeevkomma910
    @sanjeevkomma910 5 лет назад +1

    Very helpful. Can you please do videos on integration of docker, git with Jenkins? If done already, pls share me links

    • @RaghavPal
      @RaghavPal  5 лет назад

      Hi Sanjeev, you can find in Docker playlist - automationstepbystep.com/online-courses/

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

    Отличный урок.

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

      Большое спасибо

  • @romanmelon5845
    @romanmelon5845 3 года назад

    Thank you.

    • @RaghavPal
      @RaghavPal  3 года назад

      You're welcome Roman

  • @bharatvarshney2666
    @bharatvarshney2666 6 лет назад

    its really u r nice mentor, thanks for sharing this blog, it is possible for sharing some interview questions ask in interview

    • @RaghavPal
      @RaghavPal  6 лет назад

      I will do that soon Bharat.

  • @sumanshu.nankana
    @sumanshu.nankana 5 лет назад +1

    Hello Sir, What is the difference between ' Build Trigger - Build after other Projects are Built' and 'Post Build Actions' in example shown in video.
    Instead of choosing 'Post Build action' in testjob2' as test3...if we directly give in test3 (build trigger when testjob2' completed' - Both works same...i.e. both options same..OR is there any difference...for particular example (Chain Job Execution)

    • @RaghavPal
      @RaghavPal  5 лет назад +1

      Hi Sumanshu, Build trigger is we are providing the trigger for this current job. Post Build Action we are sending the trigger to another job. Yes for this chaining, both can work

  • @rajhawaldar
    @rajhawaldar 6 лет назад

    Thank You... Great Explanation

  • @ManuelJordan317
    @ManuelJordan317 8 лет назад +3

    Thanks so much by your valuable material. Good work!... I will wait eagerly your coming new material. Keep doing your good work!. Consider work around with Jenkins 2.0. It offers new items now.

    • @RaghavPal
      @RaghavPal  8 лет назад +2

      Thanks Manuel for watching and liking. Will check Jenkins 2.0.

    • @ManuelJordan317
      @ManuelJordan317 8 лет назад

      Let me know if you have an account in twitter, to share this playlist.

  • @JagdishOdedra
    @JagdishOdedra 6 лет назад +1

    Hello Sir.. can you please start the series for protractor testing .. it will be lot of help if it's possible.

    • @RaghavPal
      @RaghavPal  6 лет назад

      I will do it soon Jagdish

  • @ismaailismaail7221
    @ismaailismaail7221 6 лет назад

    Thanks a lot for you work!
    I do exactly like you but build queue not working for me, it still empty

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Ismaail, do you have any logs for this.

    • @ismaailismaail7221
      @ismaailismaail7221 6 лет назад +1

      Hi Raghav, you answered my question by talking about logs, when I consulted Jenkins logs I realized that the execution is normally done remotely but faster. This leaves no time for it to appear in the build queue ;)
      thank you very much!

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

    Thank you

  • @suprotimroy
    @suprotimroy 4 года назад

    Many thanks for the video. Many options have changed in the latest version of Jenkins but the mains things are unchanged.
    Finally my build succeeded after I read the comments and used echo 26-08-2020 | date

    • @RaghavPal
      @RaghavPal  4 года назад

      Thanks Suprotim for the message.

    • @gajapathij2010
      @gajapathij2010 3 года назад

      Have to give the date in correct format....mine worked after I enter echo %DATE%

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

      @@gajapathij2010 Hey thanks this worked for me

  • @meAadit6628
    @meAadit6628 7 лет назад +1

    nicely explained raghav

    • @RaghavPal
      @RaghavPal  7 лет назад

      Thanks for watching Gaurav

  • @lefang1232
    @lefang1232 7 лет назад

    Hi, Raghav Pal! I like your video which help me learn about Jenkins as a beginner. I also like your google background picture. I wonder which extension you are using. Please tell me where I could get it when you are free.

    • @RaghavPal
      @RaghavPal  7 лет назад

      hi Le, glad you know you are watching and learning from this channel. The browser background is through momentum (chrome extention)

  • @TheGuroguro12
    @TheGuroguro12 6 лет назад

    Thank you very much.

  • @roopadolli1910
    @roopadolli1910 4 года назад

    Hi raghav.. Thanks for the video these are awesome.. I want to ask one thing are these videos are enough for Automation Tester..?

    • @RaghavPal
      @RaghavPal  4 года назад

      Hi Roopa, yes this is enough for any automation project. There may be few more things to learn specific to the project/process but overall this will make the complete foundation for any jenkins project

    • @roopadolli1910
      @roopadolli1910 4 года назад

      @@RaghavPal thanks 👍

  • @HassanNaveed-c5s
    @HassanNaveed-c5s Год назад

    Hi Raghav,
    Im from Pak, your tutorials are very informative and makes the tech easy to learn. I have been watching your tutorials from a long time.
    I have a usecase to run playwright test scripts in my Raven service before pushing the build if playwright scripts are passed. If the build fails it is discarded.
    Can you help out with its jenkinsfile?

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

      Hassan
      Here is a Jenkinsfile that you can use to run Playwright test scripts in your Raven service before pushing the build:
      ```
      pipeline {
      agent any
      stages {
      stage('Build') {
      steps {
      sh 'npm install'
      sh 'npx playwright test'
      }
      }
      stage('Deploy') {
      when {
      expression {
      return sh(returnStatus: true, script: 'npx playwright test --exit-on-failure') == 0
      }
      }
      steps {
      sh 'npm run deploy'
      }
      }
      }
      }
      ```
      This Jenkinsfile will first install the Playwright dependencies and then run the Playwright test scripts. If the Playwright test scripts pass, then the build will continue to the `Deploy` stage. If the Playwright test scripts fail, then the build will be discarded.
      Here is a breakdown of the different stages in the Jenkinsfile:
      * `Build` stage: This stage installs the Playwright dependencies and then runs the Playwright test scripts.
      * `Deploy` stage: This stage is only executed if the Playwright test scripts pass. In this stage, the `npm run deploy` command is executed to deploy the application.
      I hope this helps

    • @HassanNaveed-c5s
      @HassanNaveed-c5s Год назад

      @@RaghavPal thanks for the prompt response. i should have also placed my test folder in the Raven repo? As it is going to run locally and if thats the case i will also set url to localhost in my playwright config file? Manifest.yml has also been already configured in the bitbucket.

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

      Yes, you should place your test folder in the Raven repo. This is because the Jenkinsfile will need to be able to access the test files in order to run them.
      If the playwright test scripts are running locally, then you will need to set the URL in the playwright config file to localhost. This is because the playwright test scripts will need to be able to connect to the Raven service running on your local machine.

    • @HassanNaveed-c5s
      @HassanNaveed-c5s Год назад

      Thanks @@RaghavPal
      Really appreciate for your help.

  • @arpithams
    @arpithams 5 лет назад +3

    when i give shell command as date , jenkins job is failing complaining about the java (i have installed jenkins using .exe instead of war .

    • @RaghavPal
      @RaghavPal  5 лет назад +3

      Hi Arpitha, pls use this command
      Use this if date command is throwing issue:
      echo 24-10-2019 | date

  • @cbdasvelho
    @cbdasvelho 6 лет назад

    Is possible a video with integration between Jenkins and TestLink ?

    • @RaghavPal
      @RaghavPal  6 лет назад +1

      I can try in some time.

    • @cbdasvelho
      @cbdasvelho 6 лет назад +1

      Great, i will wait, thank you for help !!!

  • @muralinaini7300
    @muralinaini7300 7 лет назад

    Hi Raghav can you explain me difference between Normal build and Parameterized Build..Thanks

    • @RaghavPal
      @RaghavPal  7 лет назад

      Hi Murali, Parameterized Build are for jobs that take external parameters. Read details here:
      wiki.jenkins.io/display/JENKINS/Parameterized+Build

  • @lavanyat1043
    @lavanyat1043 7 лет назад

    hi can you please share a video regarding integration of testng files in Jenkins

    • @RaghavPal
      @RaghavPal  7 лет назад

      Hi, please elaborate, what exactly is the use-case.

  • @gdhananjaya6644
    @gdhananjaya6644 5 лет назад

    excellent

  • @khyatidave6306
    @khyatidave6306 4 года назад

    Hi Raghav , Thanks for all your tutorials . I have set up jenkins with Maven and git. My run creates a folder called 'logs' inside workspace that stores the logs for failed cases ... I DO NOT want to expose workspace folder to others but want the 'logs' folder to be accessible .. Could you please guide me HOW and WHERE in jenkins can I copy the folder so its accessible when the link is shared .. Thanks

    • @RaghavPal
      @RaghavPal  4 года назад

      Hi Kyati, One of the ways can be you can create a shared folder and have the logs copied there manually or create some batch job for that. Within Jenkins, I will need to check. See if this helps you - www.jenkins.io/doc/book/system-administration/viewing-logs/

  • @utkarshgupta2909
    @utkarshgupta2909 3 года назад

    Why in test2 post build script are we attaching test3 why not in test3 job we are setting build after test2. Btw really really nice videos

    • @RaghavPal
      @RaghavPal  3 года назад

      You can do anyways as per your needs Utkarsh, thanks for watching

  • @sureshak2562
    @sureshak2562 6 лет назад

    Hey Raghav, Great series! Easy and Depth. I have a quick question. I am using MAC and recently tried to build a job in jenkins. But the jenkin build ended in error "cd: Directory not found" but i do have the directory and it has the permission 777. Any thoughts on this?

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Suresh, pls send me the commands you used

    • @RaghavPal
      @RaghavPal  6 лет назад

      Are there any spaces in any dir names in the path.

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Suresh, you are adding this in Build step - execute shell script right. Is there any other info you get in the logs

    • @RaghavPal
      @RaghavPal  6 лет назад

      Pls send me your commands.

  • @varungupta2508
    @varungupta2508 6 лет назад

    hi thanks for your tutorials, i am looking for a job to from jenkins cli.., as far as i searched i got videos only on already built/created jobs, but i want to know how to create new/configure job from jenkins cli (with all parameters what we give inside of a job)... please provide if you have any info on this.
    i have gone through our 4th tutorial on jenkins cli but not found what i am looking for.
    Thanks in advance

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Varun, if you goto jenkins cli (e.g. localhost:8080/cli) there you will find an option to create-job. This will use an xml file for configuration. I will try to do a video on this soon.

    • @varungupta2508
      @varungupta2508 6 лет назад

      hi thanks for your reply, i have tried the same thing but after executing the command, command prompt is not coming back(not writing/happening) anything (waited for 10-15min),
      After trying with multiple options i got to know like we need to add arguments like -v -f n N etc., but no luck.
      If possible please do provide the video for creating new job and also copy from existing job and build.
      waiting for the video. Thanks in advance.

    • @RaghavPal
      @RaghavPal  6 лет назад

      Sure Varun, will take out some time for this soon.

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

    Hi Raghav, Thanks for your tutorials, If possible could you please post some more in depth videos on JMeter Beanshell scripting. That will help us a lot, Thanks.....😃

  • @sudhakarreddy1572
    @sudhakarreddy1572 6 лет назад

    What is the use of job run remotely.
    Which scenario use this option
    Thanks for advance

    • @RaghavPal
      @RaghavPal  6 лет назад +1

      Hi Sudhakar, that is to trigger a job remotely from different machine.

    • @sudhakarreddy1572
      @sudhakarreddy1572 6 лет назад +1

      Automation Step by Step - Raghav Pal
      Thanks for answering the question.
      Youre a such great person
      Once again thanks.

    • @RaghavPal
      @RaghavPal  6 лет назад

      You're welcome Sudhakar

  • @rahulchoudhary6692
    @rahulchoudhary6692 7 лет назад

    Hi Raghav,
    Thanks for the tutorial, really it's good.
    I need your help regarding , I am trying to write a script to retrieve the url of artifacts uploaded in artifactory via Jenkins. But I am not getting were should I start from.....could you please help me on this...??

    • @RaghavPal
      @RaghavPal  7 лет назад

      Hi Rahul, need to understand you requirements in detail. Have you already written the script and want to run it via Jenkins ?

  • @supriyakeshri78
    @supriyakeshri78 7 лет назад

    How to create a job which will list the content of home directory. Pls sir reply...and also how to create another job which will trigger automatically after first build complete

    • @RaghavPal
      @RaghavPal  7 лет назад

      Hi Supriya, for listing contents of your home directory you can add a simple job and in the commands goto the location of your home directory and then use dir (windows) or ls (mac) command.
      You can chain the jobs in the Post Process actions. You will find this if you see the next tutorials in this series - ruclips.net/video/ndLbn24OwQg/видео.html

    • @supriyakeshri78
      @supriyakeshri78 7 лет назад

      Automation Step-by-Step - Raghav Pal sir I m getting the error while creating the job is system cannot find the file specified

    • @RaghavPal
      @RaghavPal  7 лет назад

      Supriya, i did not exactly got the issue, what did you try to do. Any error/logs info will help.

  • @ashishmishra238
    @ashishmishra238 4 года назад

    Your series on jenkins is too good however facing issue while building jobs every time it gets failed and by the way I'm running "date" command on windows machine is something to be configured in this case please revert?

    • @RaghavPal
      @RaghavPal  4 года назад

      What is the error in the logs console. Pls try this command
      echo 15-03-2020 | date

    • @ashishmishra238
      @ashishmishra238 4 года назад

      @@RaghavPal Issue resolved , after doing some jenkins configurations settings thank you this command too worked👌

  • @ShivaniSingh-no1ub
    @ShivaniSingh-no1ub 6 лет назад

    Hi sir,
    I am trying to achieve master slave architecture, but unable to keep 2 nodes online and trigger jobs simultaneously on both.
    could u please suggest me something

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Shivani, Have you set the executors, check this - stackoverflow.com/questions/38094132/how-many-jenkins-executors-can-you-have

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

    How to run tslint and checkstyle in angular application via jenkins job?

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

      Hi Pallavi,
      To run TSLint and Checkstyle in an Angular application via a Jenkins job, you can follow these steps:
      Install TSLint and Checkstyle:
      Install TSLint and Checkstyle as a local dev dependency in your Angular project by running npm install --save-dev tslint checkstyle.
      Configure TSLint and Checkstyle:
      Configure TSLint by creating a tslint.json file in the root of your Angular project.
      Configure Checkstyle by creating a checkstyle.xml file in the root of your Angular project.
      Run TSLint and Checkstyle in your Jenkins job:
      In your Jenkins job, add a build step to run TSLint by executing the command npx tslint --config tslint.json 'src/**/*.ts'.
      Add another build step to run Checkstyle by executing the command npx checkstyle-alt -c checkstyle.xml 'src/**/*.ts'.
      Configure Jenkins to fail the build if TSLint or Checkstyle reports errors:
      In your Jenkins job, add a post-build step to fail the build if TSLint or Checkstyle reports any errors. You can use the Jenkins plugins like Text-finder or Conditional BuildStep to implement this.
      Save and run the Jenkins job:
      Save your changes to the Jenkins job and run it. The job should now run TSLint and Checkstyle on your Angular project and fail the build if any errors are reported.
      By following these steps, you can integrate TSLint and Checkstyle into your Jenkins build process, ensuring that your Angular project adheres to your code quality standards with every build

  • @waheedahmed6524
    @waheedahmed6524 7 лет назад

    I see you have set the trigger wouldn't that mean job will run automatically? If so why did you clicked Build Now? If I have to set the build job to run after every 5 minutes would this be pattern H/5 * * * *? If so what is H stands here?

    • @RaghavPal
      @RaghavPal  7 лет назад

      hi Waheed, if you click the ? icon besides build periodically, there the cron expression is explained very well.

  • @arunpapani519
    @arunpapani519 7 лет назад

    where can i find war files to specify the path while Automated Deployment.
    Please provide the exact path.
    Thanks in advance.

    • @RaghavPal
      @RaghavPal  7 лет назад

      Hi Arun, this path will be as per your settings. Its the path where your project places the war files.

  • @manikanthkommoju3176
    @manikanthkommoju3176 7 лет назад

    is maven prerequisite for jenkins?

    • @RaghavPal
      @RaghavPal  7 лет назад +1

      Not for Jenkins, But if you are running any project, or any program that requires maven, it should be available.

  • @kitttypie
    @kitttypie 4 года назад

    Hi raghav , is it compulsory to learn jenkins and git for 2 years of experience guy...?..

    • @RaghavPal
      @RaghavPal  4 года назад

      Hi, If you know, it will help you a lot, and it's very easy, you can get the basics in few days

  • @jitendrasawant3872
    @jitendrasawant3872 4 года назад

    Hi Raghav, Thank you for the jenkins tutorial, i have one question, i was made one demo maven project and configure that with jenkins and it successfully run after this in same package i made one more class in cmd both classes was run but in jenkins only one class is running i want to run all classes in jenkins please help

    • @RaghavPal
      @RaghavPal  4 года назад +1

      Hi Jitendra, check your jenkins commands and logs

    • @jitendrasawant3872
      @jitendrasawant3872 4 года назад

      @@RaghavPal Thx now it's working

  • @gangaramrajput7283
    @gangaramrajput7283 6 лет назад

    hi......raghav sir thanks for ur guidance......
    i want to be how can configure own git repo. own machine -{client & server} to access repo client user.... &how can create own repo url .....
    pls explain completely solution..{linux machine}

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Gangaram, I have .a session on git & github. For a very specific scenario like yours will need to use linux or unix. I will try to do a session on this, but can take time.

  • @suprotimroy
    @suprotimroy 4 года назад

    I have one question, We have not linked with any git or svn repo. This means job is not doing a build for a real project. Then how its getting successful?

    • @RaghavPal
      @RaghavPal  4 года назад

      As of here, Jenkins is running on the local system. You can watch later sessions for git and remote executions

  • @krishnanannuri872
    @krishnanannuri872 5 лет назад

    Instead of showing in Build queue (In 13:38 its showing in Build queue), But for me its downloading a file named as build queue also its not showing any count in Build Queue

    • @RaghavPal
      @RaghavPal  5 лет назад

      Hi Krishna, pls check the steps again, in case you missed something.

  • @divyashirsat615
    @divyashirsat615 4 года назад +1

    In your case it's shows safe html....but in my Jenkins it shows that plan text....how I can change this.....and I also make simple job like only date command...select windows bash but it's shows build error...how I can solve this problem

    • @divyashirsat615
      @divyashirsat615 4 года назад +1

      If possible please make a video for windows Sir....first job creation 🙂

    • @RaghavPal
      @RaghavPal  4 года назад +1

      I will check for date command Use this if date command is throwing issue:
      echo 27-03-2018 | date

    • @divyashirsat615
      @divyashirsat615 4 года назад

      @@RaghavPal It shows that...Build step ' Execute windows batch command ' marked build as failure

    • @divyashirsat615
      @divyashirsat615 4 года назад

      @@RaghavPal "date" command used for windows command prompt or not ?

    • @RaghavPal
      @RaghavPal  4 года назад

      Try to use
      "date \T."

  • @rakeshreddydontireddy2600
    @rakeshreddydontireddy2600 3 года назад

    Thanks Raghav

  • @డ్రైఫ్రూట్ఇదితెలుగొడిఅడ్డాగురు

    hi getting exception like below ..while installing the suggested plugins for first time .
    "An error occurred during installation: No such plugin: cloudbees-folder"

    • @RaghavPal
      @RaghavPal  6 лет назад

      Did you install from manage plugin.

    • @melangeoftales
      @melangeoftales 6 лет назад

      Hi, I also get the same error. During the initial Jenkins installation itself I got this error and now if I try to install plugins it is asking me to install in .hpi format.

  • @SHOVALSO
    @SHOVALSO 3 года назад

    Hi,
    I updated Jenkins and it deleted all the old information jobs and pipelines, do we have a way to restore it?

    • @RaghavPal
      @RaghavPal  3 года назад

      all the information is there in .jenkins folder, if you have not removed it, you can get all back

  • @brainlessgenerationgopi5092
    @brainlessgenerationgopi5092 8 лет назад

    Hi Raghav (13.1 video) i am not getting any build queue and the link not opening?

    • @RaghavPal
      @RaghavPal  8 лет назад

      hi Gopinath, can you recheck the url with ip and port is correct. Try again and send me some more details to troubleshoot if it does not work.

  • @cenubit
    @cenubit 6 лет назад

    I don't understand how you can send a command to a remote linux host (bash command or script). Where do you specify where to deliver the command?

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Girts, looks like the question is not related to this video. You can tell me your scenario and issue you are facing.

    • @cenubit
      @cenubit 6 лет назад

      I want to send linux shell command or script to other remote Linux server from My Jenkins server as Job. I looking how is it possible, but I don't understand how defines destination. Maybe need install jenkins node for my remote linux?
      Or maybe create SSH KEY authority with ssh-keygen for Jenkins server access to remote linux server and use shell command in Jenkins Job, for example:
      ~# ssh root@remote.linux 'uptime; df -h'

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi, for any kind of interaction between 2 system through jenkins, it (jenkins) shoul be installed on both
      And you can make one as master and other one as slave

  • @sravangoud5617
    @sravangoud5617 6 лет назад

    how to run command line arguments in jenkins

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Sraven, you can see ruclips.net/video/ooA8RS3hC6k/видео.html & ruclips.net/video/hgqBGNPlLlU/видео.html

  • @AbhijitVelhal
    @AbhijitVelhal 7 лет назад

    Hi Raghav,
    I got the steps but I didn't understand why we are doing this.

    • @RaghavPal
      @RaghavPal  7 лет назад

      Hi Abhijit, you can watch the jenkins series from beginning. That should help. ruclips.net/p/PLhW3qG5bs-L_ZCOA4zNPSoGbnVQ-rp_dG

  • @pratyushtripathy1463
    @pratyushtripathy1463 4 года назад

    in build periodically when we open in other tab in windows it is coming blank screen

    • @RaghavPal
      @RaghavPal  4 года назад

      Hi Pratyush, did you check with a diff ver of Jenkins

  • @deepakshrivastava2182
    @deepakshrivastava2182 6 лет назад

    hello sir, i am following all steps but i am not getting build queue can you pls help me!!

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Deepak, what exactly is the error you are getting. What step you are stuck at.

    • @JagdishOdedra
      @JagdishOdedra 6 лет назад

      Seriously like your attitude... :) hats off to u man... god bless you with lots hapiness :)

  • @si3148
    @si3148 5 лет назад +1

    your videos are very slow, I have to put it in 2x speed to hear it at normal pace. other than that, great content

    • @RaghavPal
      @RaghavPal  5 лет назад

      Hi, I will increase the speed in new videos. Thanks for your feedback

  • @AbhayKumar-oz4oh
    @AbhayKumar-oz4oh 4 года назад

    In My jenkins I am not getting option "Trigger builds remotely" under Build Trigger

    • @RaghavPal
      @RaghavPal  4 года назад

      Hi Abhay, did you install all suggested plugins. Check again, and check this too stackoverflow.com/questions/31935344/trigger-builds-remotely-does-not-appear-after-installing-build-token-root-plug

  • @pavithrar1725
    @pavithrar1725 3 года назад

    I followed as u said but facing errors.
    The current date is 15-03-2021
    Enter the new date ( dd-mm-yy)
    Build step 'execute window batch command 'marked build as failure
    Finished:failure
    How i can solve this

    • @RaghavPal
      @RaghavPal  3 года назад

      Hi Pavithra, Use this if date command is throwing issue:
      echo 27-03-2018 | date
      OR
      use "date \T."

  • @vikasray4837
    @vikasray4837 4 года назад

    I am getting this error, Any idea how to resolve this. using a window machine
    Build step 'Execute Windows batch command' marked build as failure
    [Checks API] No suitable checks publisher found.
    Finished: FAILURE

    • @RaghavPal
      @RaghavPal  4 года назад

      Hi Vikas, this should help
      www.reddit.com/r/jenkinsci/comments/ithgek/checks_api_no_suitable_checks_publisher_found/

  • @gourabgoswami1291
    @gourabgoswami1291 6 лет назад

    date is not considered as a valid windows batch expression( Build option in project)

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Gourab. try this command
      echo 27-03-2018 | date

    • @RaghavPal
      @RaghavPal  6 лет назад

      Hi Gourab. try this command
      echo 27-03-2018 | date