Created
December 12, 2013 21:41
-
-
Save clifford-github/7936030 to your computer and use it in GitHub Desktop.
access build parameter in Jenkins plugin
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
try { | |
EnvVars envVars; | |
envVars = build.getEnvironment(listener); | |
listener.getLogger().println("DEPLOY_ON-DEV: " + envVars.get("DEPLOY_ON_DEV")); | |
} catch (IOException e1) { | |
listener.getLogger().println(e1); | |
} catch (InterruptedException e1) { | |
listener.getLogger().println(e1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment