13 comments
Comment actions Permalink

Hi

There is no such plugin yet, please vote for TW-12162. It would be great if you share use cases, what kind of sources do you have outside of version control.

Also, developing custom VCS plugin may be an option.

Michael

0
Comment actions Permalink

Just for your information:
Currently there is URL build trigger plugin available for TeamCity (http://confluence.jetbrains.net/display/TW/Url+Build+Trigger). It can trigger a build when detecting a file change.
Not exactly what you desire, but can be useful.

0
Comment actions Permalink

Thanks..

Here is why I'd want it..

I currently don't use source control, since I use TeamCity for personal projects, my current setup is..

I use TeamCity more of a way to make sure my code works outside of my IDE, so I have it installed on my machine instead of on a server.
I have my projects in my Visual Studio folder, and I back then up into my Dropbox folder..
It would be nice to have my project in my dropbox folder as my "source control", atm I have
to use a command line to copy to my work folder.. it would be very nice to see changes since then etc


I'd love to make a plugin, but i have yet to find anyway to create version control plugins using .NET, since I know extremely little java.

0
Comment actions Permalink

I might try this.. but being url, dunno..

Would like to see if "file://<path>" will work with that..

0
Comment actions Permalink

Yes, it works with file paths, but doesn't monitor directory tree recursively.

0
Comment actions Permalink

Well, I would consider version control even for small personal projects. Even if you are the single person who modify a code, it's extremly helpful to review recent chages, and sometimes revert them.

Michael

0
Comment actions Permalink

We have data coming in from external vendors that gets ftp'd into some folder on the network. The moment the data is there, some consuming build needs to trigger. Our use cases are:

1. One file is there with a persistent name, but gets updated every now and then.
2. A folder is there and one of more files may appear there.
3. A folder is there and one or more subfolders with data files may appear there.

0
Comment actions Permalink

Oleg,

Currently url-build-trigger plugin can be configured to monitor a particular file or folder on the ftp with a persistent name.
Monitoring a folder means that we detect all add file/folder, delete file/folder, change file operations right inside the specified folder but not in it's descendant folders.
Does this behaviour suit your case?

0
Comment actions Permalink

Thanks, Victory. Seems like it will. The only other question I have is this:
If I have a network folder \\somemachine\myfolder that is empty and I set the plugin to watch \\somemachine\myfolder\specialfile.txt, will it pick it up when the file appears there?

0
Comment actions Permalink

Oleg,

Yes, it will.
In current trigger implementation the side effect is that before the file appears you'll see an error about unexisitng file.

0
Comment actions Permalink

Would this error be same as VCS root error that appears next to the build config name on the overview?

0
Comment actions Permalink

Yes, the error will appear near the config name. But it will never prevent the build from running.

0
Comment actions Permalink

Great. This is what I am looking for at the moment. Thanks!

0

Please sign in to leave a comment.