Created
April 12, 2017 20:07
-
-
Save HRMPW/92231e7b2344f20d9cc9d5f2eb778a54 to your computer and use it in GitHub Desktop.
Example using a shell script from the shared library resources directory.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent any | |
libraries { | |
lib('my-library@master') | |
} | |
stages { | |
stage("Test") { | |
steps { | |
sh (libraryResource('echo.sh')) | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment