Get parameter from dependent configuration

Hello,

in one project I have two build configurations (Build and Deploy).

Deploy depends on Build

Build has the parameter DEVICENAME.

Now I want to read DEVICENAME in a buildstep (command line) in Deploy.

 

One possibility is to use %dep.<PROJECT>_Build.DEVICENAME%

But I want to write Deploy as Template. That's why <PROJECT> is different in each project.

I tried %dep.%teamcity.project.id%_Build.DEVICENAME%. But that does not work. TeamCity interprets _Build.DEVICENAME as parameter which I have to define.

 

Has someone a solution for this problem?

Best regards,

Heiko

0

Please sign in to leave a comment.