Folder is not a valid source?
lee5i3
Posts: 48
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
"%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
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.
Redgate Software
I'm not too sure why I put in Configuration, will remove it for now..
I added /verbose but didn't give anymore information
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
Redgate Software