Jump to content

Unable to add server-side trigger


rodgeralley

Recommended Posts

\We're doing some testing, and I'm trying to run the following trigger, to make Plastic run a basic .bat file when any commit is made in Plastic.  The .bat file (for now) just creates a text file letting us know the trigger works. I placed the .bat file on the Plastic Server, and had a user make a commit at their local machine.  But it doesn't appear to run the .bat file, because the .txt file it SHOULD create, doesn't get created.

cm maketrigger after-checkin "Alert Buildbot" "C:\Plastic_Commit_Triggers\Buildbot_Trigger.bat" --server=disti-plastic-1:8087 --filter="rep:M1A2S_VMT,*"

We've ran the .bat file on its own and it does create the .txt file when you run it.  But Plastic doesn't seem to run it.  Any suggestions, or am I possibly doing it wrong?

The .bat file literally only runs the following command:

SET > %TEMP%\SET.TXT
TEMP is set in environment variables to look in the following location:
%USERPROFILE%\AppData\Local\Temp

Which should create the "set.txt" file that lists the environment variables, in the following location:
C:\Users\ralley\AppData\Local\Temp\2

What am I missing?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...