MENU

Fun & Interesting

Using Resource Files From a Jenkins Shared Library

CloudBeesTV 33,744 4 years ago
Video Not Working? Fix It Now

Need help with your Jenkins questions? Visit https://community.jenkins.io/c/using-jenkins/support/8 Timecodes ⏱: 0:00 Intro 0:36 Review of pipeline 1:33 Review helloWorld 2:09 Converting helloWorld into a bash script 2:28 Understanding the libraryResource step 4:42 Create helloWorldExternal 5:55 Review loadLinuxScript 6:39 Review resources file location 8:36 Back to loadLinuxScript 10:27 Back to helloWorldExternal 11:14 Update pipeline to use helloWorldExternal 13:01 Recap 13:14 Conclusion Information referenced in this video: Getting Started With Shared Libraries in Jenkins https://www.youtube.com/watch?v=Wj-weFEsTb0 Extending with Shared Libraries https://www.jenkins.io/doc/book/pipeline/shared-libraries/ Darin's example shared library repository https://github.com/darinpope/github-api-global-lib CloudBees on Twitter: https://twitter.com/CloudBees Darin on Twitter: https://twitter.com/DarinPope

Comment