Last active
April 6, 2017 20:52
-
-
Save moondev/d48a0fa2d11ac4842aaa4a8d187cba33 to your computer and use it in GitHub Desktop.
jenkinsfunctions.groovy
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
def buildImage(registry, imageName, tagName) { | |
sh "docker build -t ${registry}/${imageName}:${tagName} ." | |
} | |
return this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment