How to set Jenkins job to Failure on specific word in console | Jenkins for beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024
  • This video gives idea how to set job status to fail when specific word occurs in console output
    github link - github.com/Dee...

ความคิดเห็น • 17

  • @abirganguly2626
    @abirganguly2626 3 ปีที่แล้ว +2

    Does it need any other plugin apart from pipeline plugin

  • @SurattuDurgaprasad
    @SurattuDurgaprasad ปีที่แล้ว

    This is helpful. Can we store a string value from the console output into an environmental varibale in Jenkins?

  • @siddheshrahate3987
    @siddheshrahate3987 4 ปีที่แล้ว +2

    Hi Bro.... great explanation.... Can we do this log analysis after build is completed and not when its going on parallelly. I am putting a condition in my code which if TRUE would print a Unique string in console at the end of the build. Need to capture it and set the build result accordingly. Any suggestions on this..? Thanks in Advance.

  • @dezfuliAmin
    @dezfuliAmin 3 ปีที่แล้ว

    thanks for this useful lesson.

    • @DeekshithSN
      @DeekshithSN  3 ปีที่แล้ว

      Glad it was helpful!

  • @gaddamravikumar2189
    @gaddamravikumar2189 3 ปีที่แล้ว

    If branch is not available in github while build jenkins pipeline then which error comes

  • @ankireddy5483
    @ankireddy5483 4 ปีที่แล้ว

    Useful content bro.....

  • @venkatshvenky115
    @venkatshvenky115 3 ปีที่แล้ว

    hey hi. my issue . a problem occurred while processing the request.consoul output is not display.(i m stop and start the service and update new version past but it not show .consoul output.please give me the solution

  • @vinilgohil3287
    @vinilgohil3287 3 ปีที่แล้ว +1

    If we replace sh with bat and grep with findstr, will it work for windows?

  • @ankireddy5483
    @ankireddy5483 4 ปีที่แล้ว +1

    How can I take backup 1 job only can you please reply

    • @DeekshithSN
      @DeekshithSN  4 ปีที่แล้ว

      Please have a look into this th-cam.com/video/sxXJw5o2tWg/w-d-xo.html, copy workspace of the job and folder named with job_name in jobs folder of .jenkins

  • @ashutoshmishra3297
    @ashutoshmishra3297 3 ปีที่แล้ว

    Thanks alot, this was really helpful but my build is still saying SUCESS, can you please help?

    • @DeekshithSN
      @DeekshithSN  3 ปีที่แล้ว

      Thanks for watching, my check on logs were case sensitive can you reverify. still are you facing the same issue?

  • @jayakishorereddy5462
    @jayakishorereddy5462 3 ปีที่แล้ว +1

    How to do in freestyle job

    • @gowthamn175
      @gowthamn175 ปีที่แล้ว

      I have also same doubt if your find out tag me