1

I am adding a SQL script(StoredProc) for deployment using TeamCity Projects and the deployment fails and says(* Process exited with Code 1). It throws an Error in Deploying script to DB. But it was fine before. Seems to me some issue with permissions, but I havent changed any.

Could anyone enlighten?

3
  • Please describe how you're attempting to add this script. What are the commands and parameters?
    – John Hoerr
    Apr 28, 2015 at 13:52
  • @JohnHoerr, thanks it has already worked. I was missing an error in build since yesterday. Apr 28, 2015 at 14:03
  • 1
    Good! If you have time, you might consider posting your resolution here. It may help users with similar problems in the future.
    – John Hoerr
    Apr 28, 2015 at 14:12

1 Answer 1

0

Thanks this issue is resolved, I was missing a build error( was creating an SP in the script that I was deploying, but which already existed in DB with same name). The exit code error message isnt always very descriptive, but stumbled upon "already exists" keyword somewhere in between the build-log. Hence rectified . Good idea to examine log carefully.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.