Correct way to get build/label into file name?

View: New views
2 Messages — Rating Filter:   Alert me  

Correct way to get build/label into file name?

by Brian Kosick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

I gave up trying to get the scp publisher working, and switched to the
execute publisher.

<execute command="pscp -i WDSBuild.ppk c:\WDSConnector\src
\Web_Defense_Connector_Setup\Release\WDS_Connector_Setup.exe
WDSBuild@...:/var/mxl/qa/wds-connector/WDS_Connector_Setup-${project.label}.exe" />

It's working except for on thing, the file on the server gets copied to
literally

WDS_Connector_Setup-${project.label}.exe

whereas I'm looking for it to be

WDS_Connector_Setup-build.11.exe

Am I not using the correct property to do this?   I've searched the docs
and they mention something like ${label} I tried this as well and the
files gets copied literally named as well.  What should I be doing?

Thanks,


--
Brian Kosick

CM Manager
Brian_Kosick@...
bkosick@...
720-895-4479


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Correct way to get build/label into file name?

by Rajib Basu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Please replace ${project.label} with ${label} and you should be fine

-----Original Message-----
From: Brian Kosick [mailto:bkosick@...]
Sent: Thursday, October 15, 2009 1:50 PM
To: cruisecontrol-user@...
Subject: [Cruisecontrol-user] Correct way to get build/label into file name?

Hi All,

I gave up trying to get the scp publisher working, and switched to the
execute publisher.

<execute command="pscp -i WDSBuild.ppk c:\WDSConnector\src
\Web_Defense_Connector_Setup\Release\WDS_Connector_Setup.exe
WDSBuild@...:/var/mxl/qa/wds-connector/WDS_Connector_Setup-
${project.label}.exe" />

It's working except for on thing, the file on the server gets copied to
literally

WDS_Connector_Setup-${project.label}.exe

whereas I'm looking for it to be

WDS_Connector_Setup-build.11.exe

Am I not using the correct property to do this?   I've searched the docs
and they mention something like ${label} I tried this as well and the files
gets copied literally named as well.  What should I be doing?

Thanks,


--
Brian Kosick

CM Manager
Brian_Kosick@...
bkosick@...
720-895-4479


----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the
only developer event you need to attend this year. Jumpstart your developing
skills, take BlackBerry mobile applications to market and stay ahead of the
curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user