Options

Folder is not a valid source?

lee5i3lee5i3 Posts: 48
edited October 16, 2013 6:40AM in Deployment Manager
I am using a SQL Database project, and I've been using the following command in TeamCity to package up the project


"%env.ProgramFiles%\Red Gate\Deployment Manager\Tools\RgPublish.exe" /source="%system.teamcity.build.workingDir%\trunk\source\My.Database" /target=feed:http://localhost:7070/nuget /packageid=My.Database /Configuration=Release

This has worked in the past, but haven't actually deployed in a while.. and now TeamCity is complaining..

[14:02:23][Step 3/6] Invalid source argument:
[14:02:23][Step 3/6] Could not interpret 'C:\TeamCity\buildAgent\work\92cb0b109899efe9\trunk\source\My.Database' as a valid source.
[14:02:23][Step 3/6] Process exited with code 1
[14:02:23][Step 3/6] Step Deploy My.Database (Command Line) failed

Comments

  • Options
    Hi Lee

    Which version of RGPublish are you using? Can you try appending /verbose to the command to see if it logs more information?
    Out of curiosity I tried packaging a folder with a period in the name using RGPublish and it was fine - although /Configuration isn't a switch I recognise, and my version certainly complained about it being there.
    Systems Software Engineer

    Redgate Software

  • Options
    Red Gate Package Publishing Tool version 2.2.18.1

    I'm not too sure why I put in Configuration, will remove it for now..

    I added /verbose but didn't give anymore information
  • Options
    I also ran it manually on the server, I got the same error...
  • Options
    AHH, I figured it out... LOL

    I renamed the project folder a while ago but didn't update my script, the "not a valid source", actually means the folder does not exist
  • Options
    Ah, yes- that would be it :)
    Systems Software Engineer

    Redgate Software

Sign In or Register to comment.