jakobehn / VSTSGitHubTasks

MIT License
21 stars 10 forks source link

Error when deploying #3

Closed dangershony closed 6 years ago

dangershony commented 8 years ago

I get this error in the vso logs

2016-06-30T15:22:04.0832101Z ##[error]System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Assets' because it is null. 2016-06-30T15:22:04.0842074Z ##[error] at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate) 2016-06-30T15:22:04.0842074Z ##[error] at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext) 2016-06-30T15:22:04.0852083Z ##[error] at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame) 2016-06-30T15:22:04.0862099Z ##[error] at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

Sebosek commented 8 years ago

Same here. Any progress or support?

Eynorey commented 7 years ago

getting the same error - did anyone fix it yet?

giuliov commented 7 years ago

I set the Release variable system.debug to true, and found that the error is located in

[bool]$draftBool= Convert-String $draft Boolean
[bool]$prereleaseBool= Convert-String $prerelease Boolean

anyway, the task will move on and do its job.

One trick is mark the Task as Continue on error so the Build / Release is not marked as Failed.

yannduran commented 7 years ago

Still having this problem in December 2016

jakobehn commented 7 years ago

Sorry guys for the slow response to this, I've finally gotten around to complete the PR for this issue. I've uploaded a new version (0.9.9) of the build task to the gallery