msbuild - TFS build step WriteCustomSummaryInfo with Replace -


how run "replace" within writecustomsummaryinfo step.

i'm trying display link html report on build summary:

  • get drop location do:

    \tfsbuild03\temp\dev-deployment\dev-deployment_20160115.22

  • replace \ / , append report.html @ end

i assume way it.

i've tried following doesn't work:

string.format("dotcover [coverage results]file:({0})/{1}", replace(droplocation,"\","/"), "report.html") 

edit enter image description here

i figured out. it's suppose this:

string.format("dotcover [coverage results]file:({0})/{1}", droplocation.replace("\", "/"), "report.html") 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -