Jump to content

"Pending Merge Links" env. variable return empty value


Ofirk

Recommended Posts

Hello,

 

I'm trying to use the "before checkin" trigger to validate the checkin source is a merge and not direct checkin to the main branch.

I'm trying to read the "PLASTIC_PENDING_MERGE_LINKS" (see reference : https://www.plasticscm.com/documentation/triggers/plastic-scm-version-control-triggers-guide.shtml#Checkin) 

 

My problem is that the env. variable "PLASTIC_PENDING_MERGE_LINKS" returns empty value when the trigger is fired.

 

I've noticed that when I do merge operation, new files are created in my workspace : (1) plastic.merges, (2) plastic.mergeschanges. The problem is that I use server trigger, while these files are on the client side.

 

 

BTY, I'm using version 4.1.10.465

 

 

Q:

1) Can you help me figure out how to read the pending merge link information?

2) Is there an option to read client workspace information from the server side?

3) Is there a better solution in newer PlasticSCM releases?

 

 

Thanks,

Ofir.

  

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...