Getting Started With Shared Libraries in Jenkins

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

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

  • @mohankumar9511
    @mohankumar9511 3 года назад +9

    I was struggling to work this concept on my system for hours 😃 . He resolved my issues is just 23 minutes. Thank you sir

  • @satheeshcharles
    @satheeshcharles 3 года назад +7

    I was breaking my head for hours to make it work the library. Thank you @Darin. Lifesaver :)

  • @RobertKleinKromhof
    @RobertKleinKromhof Год назад +1

    Explained well and such an amazing function. I found it was explained so well that I could even follow it perfectly at 1.5x speed.

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

    Thanks! Perfect simple example, just what I needed

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

    Thank you so much Sir. I was searching this kind of tutorial to implement in my project and finally I found it. It's really helpful and understanding...

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

    Thanks from RUS, very good quality material!

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

    This is gamechanger for keeping pipelines DRY, thanks! :)

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

    I was banging my head & searching for that underscore ‘_’ meaning. And here I get it. Thank You 😊

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

    Very useful, thx a lot. Clear explaination, all important details commented, nice!

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

    Darin, thanks a lot for your github repositories, there are very usefull. Thank you also for knowledges on youtube!

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

    Really Superb. Nice video for beginners !

  • @royedri6519
    @royedri6519 2 года назад +2

    Amazing explanation - so helpful and summarized, thanks !

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

    spectacular presentation, very well presented

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

    Thanks a lot. Very clear and helpful

  • @ravikumar-su5py
    @ravikumar-su5py 2 года назад

    Fantastic.. This is what i wanted to understand.. God Bless you.

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

    Excellent explanation. Very helpful.

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

    Nice video. I like the Map param example vs the positional params

  • @saragalal5413
    @saragalal5413 6 месяцев назад

    thanks , great video you help to understand the concept and implemented in my work

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

    Very well explained sir, could you make another video more complex, with src, var and classes ? Thanks again !

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

    Crystal clear instructions. Thanks.

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

    Thank You! It's what I was searching for. Great tutorial.

  • @halitdemir3926
    @halitdemir3926 17 дней назад

    Great video, very informative thanks

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

    Really helpful, thank you!

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

    @darin Im loving your videos. they are just awesome....tough concepts explained in an easy way

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

    very clean and concise

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

    Amazing explanation.

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

    It's amazing. Thank you very much!

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

    Thank you for this awesome video

  • @dannyhd8301
    @dannyhd8301 8 месяцев назад +1

    Absolutely great!!!

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

    It was a very insightful video. 👌👍

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

    Thank you very much Sir, Good and clear explanation😊👌👍

  • @sumitsharma-mg3el
    @sumitsharma-mg3el 3 года назад +1

    Well explained, Thank you Sir!

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

    I think the "master" branch is now called "main". I was able to map the repository this way :)

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

    thank you so much for this video !!

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

    Wonderful explanation! Thank you very much. :)

  • @jean-pierrefouche1827
    @jean-pierrefouche1827 3 года назад

    Thanks for this great video!
    When I configure Shared Libraries in "Configure System", it appears to be scanning all of my repos and then changing my configured repo and default version to the last item it finds! Very annoying - do you have any idea what's going on there? (I am using an SSH key with a lot of permissions granted to it)

  • @ImSh1ni
    @ImSh1ni 5 месяцев назад

    If someone else was checking step-by-step and got revision invalid error. Change default version from "master" to "main" to resolve revision problem

  • @siroussayahi7972
    @siroussayahi7972 6 месяцев назад

    Absolutely great 👍

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

    great video. Thank you

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

    I’ve started wondering how to use languages other than groovy for this. We’re constantly experiencing issues with groovy and wish that Jenkins would look at something like Kotlin for pipeline library code.

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

    thank you for the amazing video

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

    This was great

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

    Thank you very much!!

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

    Great tutorial!

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

    could you please do a video on jenkins and netsparker integration

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

    解决了 No such library resource xxx could be found. 非常感谢

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

    I used to have
    @Library("shared-library@my-branch") _
    But now I need to define the branch dynamically, so I am using
    library ("shared-library@$BRANCH_NAME")
    But now Jenkins is not able to find my Classes. Here is the error:
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
    WorkflowScript: 145: unable to resolve class Artifactory
    @ line 145, column 30.
    artifactoryObj = new Artifactory(script:this, repoName:my_ARTIFACTORY_DEV_FW_REPO, repoHost:my_ARTIFACTORY_LOC, repoCredentialID:my_ARTIFACTORY_CREDENTIALS)
    The Artifactory Class is part of the package com.ibm.cio.dcs.ci_cd in my shared library.
    How can I define, at the library load time, the packages to import? I would now like to update my code to add full qualified classes paths...
    Thanks!

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

    getting message ‘Jenkins’ doesn’t have label ‘linux’ , can somebody please suggest

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

      agent is just like another machine which you associate with Jenkins.
      So suppose I configure 2 slaves on Jenkins ->
      1. windows
      2. linux
      Now I have the flexibility run a specific job on windows machine, and maybe some other job on linux machine.
      So agent { lable "linux" }, is our way of telling jenkins to use linux machine to build this job.
      If you have not configured any slaves then go ahead and skip this step altogether

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

    When I first saw shared libraries I was still using bash scripting; it broke me.
    I had to teach myself Java - detours on django, pytorch, golang c#, c++ to get to Groovy (yeah it was the scenic route) .
    I'm back for a rematch.

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

    Sir, in your taskbar it says it's Wednesday not Thursday. :-P

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

    Superr

  • @DevOpsPulse
    @DevOpsPulse 4 месяца назад

    thank you

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

    good video

  • @AmitKumar-im1pf
    @AmitKumar-im1pf 2 года назад

    I only have created helloWorld.groovy in my vars directory and configured the shared-library. Getting below error + hello world
    /var/lib/jenkins/workspace/library-test-pipeline@tmp/durable-4418e25e/script.sh: 1: hello: not found
    define helloWorld.groovy
    def call() {
    sh "echo Hello World."
    }
    But once the repo which you shared I am updating system configuration shared-library it worked perfectly fine. Can you help where I can fix this issue. Appreciate this video is very interesting and clarity for this topic