Hi,

Ok.

1) For a Jenkins Job, you want to execute several different scripts? or 
just one per job?
One solution can be:
> Create a job
> This build is parameterized
> Add parameter String
> Name: SOURCE_POWERSHELL
> Default Value: .\Scripts\script.ps1
> Description: Source folder
> Add parameter String
> Name: DESTINATION_POWERSHELL
> Default Value: .\Scripts\script.ps1
> Description: Source folder
> Add build step
> Windows Powershell
> $env:SOURCE_POWERSHELL $env:DESTINATION_POWERSHELL

This solution use environmental variables. A variant can be to use 
https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin (values not in 
job parameter)

2) This plugin is just for your company (private)?
If yes: you can fork powershell plugin and customize it
If no: you can add properties to existing plugin

3) I don't know, how to modify a functionality of a plugin 
(powershell-plugin) from another plugin (your plugin).

I hope that it helps you.
Damien

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to