Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot convert value to type System.String #5

Closed
grandynguyen opened this issue Jul 13, 2018 · 2 comments

Comments

@grandynguyen
Copy link

commented Jul 13, 2018

Something must have changed on VSTS. I don't think this repo has seen any commits since this error occured. Error message shown below. I tried leaving the source input box blank and with $(Build.SourcesDirectory). I'll try to look into it when I get a chance.

2018-07-13T04:22:18.3827699Z ##[section]Starting: Hugo generate 
2018-07-13T04:22:18.4068045Z ==============================================================================
2018-07-13T04:22:18.4068308Z Task         : Hugo
2018-07-13T04:22:18.4068578Z Description  : Generate a static web site using Hugo, a Fast and Flexible Website Generator
2018-07-13T04:22:18.4068793Z Version      : 1.0.1
2018-07-13T04:22:18.4068976Z Author       : Giulio Vian
2018-07-13T04:22:18.4069236Z Help         : [More Information on Task](https://github.com/giuliov/hugo-vsts-extension/README.md), for [Information on Hugo](https://gohugo.io/).
2018-07-13T04:22:18.4069551Z ==============================================================================
2018-07-13T04:22:26.3617317Z ##[error]Cannot process argument transformation on parameter 'SourceUrl'. Cannot convert value to type System.String.
2018-07-13T04:22:26.3647731Z ##[section]Finishing: Hugo generate 
@giuliov

This comment has been minimized.

Copy link
Owner

commented Jul 14, 2018

It is not VSTS: something changed in GitHub Hugo site. It breaks trying to list the executable in order to download it.
Now I see that I can get the right URL on the first request.

@giuliov giuliov referenced this issue Jul 14, 2018
Merged

@giuliov giuliov closed this in eb5ad84 Jul 14, 2018

@giuliov

This comment has been minimized.

Copy link
Owner

commented Jul 14, 2018

Please check, should be fixed now. Make sure that the task version is 1.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.