2 Replies Latest reply on Nov 15, 2016 3:39 PM by Antonio Caputo

    External Command in a BLPackage with Local Property

    Antonio Caputo

      Hi,

      I have a BLPackage that copies a set of files on a Windows target.

      At the end of the copy, as last item, I have an external command where I want to rename a file into another by using the value of a local property called MY_ENV.

      So this is the command I put in the external command of the package:

       

      ren d:\temp\Web.config.??MY_ENV?? d:\temp\Web.config

       

      but it does not work.

       

      The deploy job fails with no useful info:

       

      Command returned non-zero exit code: 1 (Time in agent's deploy log:: 11/15/2016 15:19:05)

       

      Is my approach wrong?

       

      Thanks,

      Antonio