Hi

I never used the dynamic parameters, so I'll have a look into this.
Keeping you posted.


with kind regards
Ruben Willems

On 14 September 2011 20:10, SteveS <[email protected]> wrote:

> Hello, I'm trying to pass a variable from ccnet.config to my powershell
> script and I'm having a lot of trouble.  Essentially, I'm trying to put the
> CCNet variable into an environment variable which can be retrieved from the
> script.   Do you have any ideas what could be wrong?
>
> Here's a snippet of what I've tried.
>
>        <selectParameter>
> <name>IsPerformBackup</name>
> <description>Backup Code</description>
> <display>Backup Code?</display>
> <default>YES</default>
> <allowedValues>
>     <value name="YES">Yes</value>
>     <value name="NO">No</value>
> </allowedValues>
>  <required>true</required>
> </selectParameter>
> ..
> ..
> ..
> <powershell>
> <script>DeployWebsite.ps1</script>
> <scriptsDirectory>S:\scripts\</scriptsDirectory>
>
> <executable>C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.exe</executable>
> <buildArgs></buildArgs>
> <environment>
> <variable name="Backup_ShouldBackupBeforeDeploy" value=*
> "$[IsPerformBackup]*" />
> </environment>
> <buildTimeoutSeconds>600</buildTimeoutSeconds>
> </powershell>
>
>
>
> Thank you in advance for your help!!
>
> SteveS
>

Reply via email to