Created
April 5, 2017 11:00
-
-
Save xiii/3bce72d0ff2e2af6dee7d306410ab205 to your computer and use it in GitHub Desktop.
Post a groovy script to Jenkins
This file contains hidden or 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
# | |
# Posts plugins.groovy to JENKINS_ENDPOINT and returns output | |
# | |
curl -s --data-urlencode "script=$(<./plugins.groovy)" JENKINS_ENDPOINT/scriptText |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment