[JIRA] [deploy] (JENKINS-22403) allow deploy plugin to accept parametrized variables like %parameter% or $parameter
First Name Last Name commented on JENKINS-22403 allow deploy plugin to accept parametrized variables like %parameter% or $parameter Is there any solution or workaround for this? I am desperate to have 1 deployment job which can be used for many environments (DEV, TST etc.) This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [deploy] (JENKINS-22403) allow deploy plugin to accept parametrized variables like %parameter% or $parameter
First Name Last Name commented on JENKINS-22403 allow deploy plugin to accept parametrized variables like %parameter% or $parameter Looking up similar codes I came to 'copyartifact-plugin-master'. \src\main\java\hudson\plugins\copyartifact\CopyArtifact.java ... public boolean perform(AbstractBuild?,? build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException { upgradeIfNecessary(build.getProject()); PrintStream console = listener.getLogger(); String expandedProject = project, expandedFilter = filter; try { EnvVars env = build.getEnvironment(listener); env.overrideAll(build.getBuildVariables()); // Add in matrix axes.. expandedProject = env.expand(project); ... I guess we need similar mechanism in 'deploy-plugin-master' This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [deploy] (JENKINS-22403) allow deploy plugin to accept parametrized variables like %parameter% or $parameter
Lukáš Vasek created JENKINS-22403 allow deploy plugin to accept parametrized variables like %parameter% or $parameter Issue Type: Bug Affects Versions: current Assignee: Unassigned Components: deploy Created: 28/Mar/14 9:46 AM Description: Please add support for deploy plugin to accept parametrized variables for url, user and password. I tried injecting parameters with envinject and then referencing them in deploy-plugin like %app.server.url%, ${app.server.url}, $app.server.url, but I'm still getting exception FATAL: java.net.MalformedURLException: no protocol: %app.server%/manager java.lang.AssertionError: java.net.MalformedURLException: no protocol: %app.server%/manager Project: Jenkins Priority: Major Reporter: Lukáš Vasek This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.