linux_wiki:shared_libraries

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux_wiki:shared_libraries [2019/05/26 10:53]
127.0.0.1 external edit
linux_wiki:shared_libraries [2019/05/26 15:24] (current)
billdozor [Jenkins Server: Configure Shared Library]
Line 33: Line 33:
       * Library       * Library
         * Name: <short-descriptive-name>  (will be used in Jenkinsfiles to access shared library)         * Name: <short-descriptive-name>  (will be used in Jenkinsfiles to access shared library)
 +          * The example pipeline below assumes the library name is: "library-example"
         * Default version: <branch or tag to use as default> (example: master)         * Default version: <branch or tag to use as default> (example: master)
         * Retrieval method         * Retrieval method
Line 48: Line 49:
  
 \\ \\
-Example: https://gitlab.com/whowe/jenkins-shared-library/blob/master/vars/hello.groovy+Example:  
 +  * Pipeline: https://gitlab.com/whowe/jenkins-pipelines/blob/master/Jenkinsfile.shared-library 
 +  * Above pipeline accesses the custom step here: https://gitlab.com/whowe/jenkins-shared-library/blob/master/vars/hello.groovy
  
 ---- ----
  
  • linux_wiki/shared_libraries.1558882415.txt.gz
  • Last modified: 2019/05/26 10:53
  • by 127.0.0.1