[Anthill-pro] Stamps & Labels

Jeff Rodgers (jerodger) jerodger at cisco.com
Tue Mar 13 10:13:15 CST 2007


OK, Here's more detail.
I have a workflow for my promotion. It has two jobs. One job does the
labeling, and a second job copies files to another server.
The label job has three steps:

1.	
	Set working Directory
2.	
	Create Stamp Step
3.	
	StarTeam Label Step

In the Create Stamp Step I select the INT Stamp which is set indirectly
in the Project by creating a Stamp Style in my Stamp Style Group (Admin
tab). I then had to setup a Stamping Strategy in the Project which had
the actual text for the Stamp. The two come together in my Originating
workflow to set my stamps for DEV and INT. Note, this is not the
workflow I use for promotion, but the _originating_ workflow.
 
Confused? I was for awhile. But if you do it in the specified order, it
should work.
 
Jeff Rodgers
Cisco Remote Operations Services
 


________________________________

	From: anthill-pro-bounces at caladin.urbancode.com
[mailto:anthill-pro-bounces at caladin.urbancode.com] On Behalf Of Curtis
Yanko
	Sent: Tuesday, March 13, 2007 11:00 AM
	To: anthill-pro at caladin.urbancode.com
	Cc: anthill-pro at caladin.urbancode.com;
anthill-pro-bounces at caladin.urbancode.com
	Subject: RE: [Anthill-pro] Stamps & Labels
	
	

	Hmmm, I tried ${bsh:StampLookup.getLatestStampValue()} but I get
a null pointer exception. Do I need to pass in a parameter to look up
the buildlife or something? I assumed it would grab the stamp I just
gen'd up in the previous step. 
	
	- Curtis Yanko
	United Health Technologies
	Mail Route: CT028-06SA
	Internet email: curt_yanko at uhc.com
	Office 860.702.9059
	Cell 860.729.8171
	
	
	
	
"Jeff Rodgers \(jerodger\)" <jerodger at cisco.com> 
Sent by: anthill-pro-bounces at caladin.urbancode.com 

03/13/2007 11:39 AM 
Please respond to
anthill-pro at caladin.urbancode.com


To
<anthill-pro at caladin.urbancode.com> 
cc
Subject
RE: [Anthill-pro] Stamps & Labels

	




	I use the following as the "Label String" to label my
Integration build.
	I also use it to create a folder to store my artifacts in:
	
	${bsh:StampLookup.getLatestStampValueForStyle("INT")}
	
	Jeff Rodgers
	Cisco Remote Operations Services
	
	
	
	________________________________
	
	From: anthill-pro-bounces at caladin.urbancode.com
	[mailto:anthill-pro-bounces at caladin.urbancode.com] On Behalf Of
Curtis
	Yanko 
	Sent: Tuesday, March 13, 2007 9:29 AM
	To: anthill-pro at caladin.urbancode.com
	Cc: anthill-pro at caladin.urbancode.com; 
	anthill-pro-bounces at caladin.urbancode.com
	Subject: Re: [Anthill-pro] Stamps & Labels 
	
	
	
	I found this in the docs: StampLookup.getLatestStampValue()
	
	Didn't think I needed the style variant. Can I enter this as is?
	
	
	- Curtis Yanko
	United Health Technologies
	Mail Route: CT028-06SA
	Internet email: curt_yanko at uhc.com
	Office 860.702.9059
	Cell 860.729.8171 
	
	
	
	
	Curtis Yanko/CT/Unitedmail at Unitedmail
	Sent by: anthill-pro-bounces at caladin.urbancode.com
	
	03/13/2007 10:02 AM
	Please respond to
	anthill-pro at caladin.urbancode.com
	
	
	To
	anthill-pro at caladin.urbancode.com
	cc
	anthill-pro at caladin.urbancode.com,
	anthill-pro-bounces at caladin.urbancode.com
	Subject
	[Anthill-pro] Stamps & Labels
	
	
	
	
	
	
	All,
	
	I am trying to come to grip with Stamps and Labels. I was
	severely 
	mistaken when I thought Stamps resulted in applied labels but
	now I am 
	past that. I can see in an Ant builder how to enable labeling
	and it can 
	use the Stamp, excellent.
	
	Now I'm dealing with Post-Deployent steps and if I add a Label
	SVN Source 
	step it doesn't want to use the Stamp I have created. Instead it
	wants a 
	string or a script. I'm assuming that the script to reference
	the Stamp is 
	the way to go but I'm really weak when it comes to groking the
	AHP 
	scripting as it pertains to referencing AHP properties and
	values.
	
	Little help?
	
	- Curtis Yanko
	United Health Technologies
	Mail Route: CT028-06SA
	Internet email: curt_yanko at uhc.com
	Office 860.702.9059
	Cell 860.729.8171 
	
	
	This e-mail, including attachments, may include confidential
	and/or 
	proprietary information, and may be used only by the person or
	entity to 
	which it is addressed. If the reader of this e-mail is not the
	intended 
	recipient or his or her authorized agent, the reader is hereby
	notified 
	that any dissemination, distribution or copying of this e-mail
	is 
	prohibited. If you have received this e-mail in error, please
	notify the 
	sender by replying to this message and delete this e-mail
	immediately.
	
	
	
	_______________________________________________
	Anthill-pro mailing list
	Anthill-pro at lists.urbancode.com
	http://lists.urbancode.com/mailman/listinfo/anthill-pro 
	
	
	
	This e-mail, including attachments, may include confidential
	and/or 
	proprietary information, and may be used only by the person or
	entity to 
	which it is addressed. If the reader of this e-mail is not the
	intended 
	recipient or his or her authorized agent, the reader is hereby
	notified 
	that any dissemination, distribution or copying of this e-mail
	is 
	prohibited. If you have received this e-mail in error, please
	notify the 
	sender by replying to this message and delete this e-mail
	immediately.
	
	
	
	_______________________________________________
	Anthill-pro mailing list
	Anthill-pro at lists.urbancode.com
	http://lists.urbancode.com/mailman/listinfo/anthill-pro 
	
	
	
	This e-mail, including attachments, may include confidential
and/or 
	proprietary information, and may be used only by the person or
entity to 
	which it is addressed. If the reader of this e-mail is not the
intended 
	recipient or his or her authorized agent, the reader is hereby
notified 
	that any dissemination, distribution or copying of this e-mail
is 
	prohibited. If you have received this e-mail in error, please
notify the 
	sender by replying to this message and delete this e-mail
immediately.
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20070313/c7c38f2c/attachment-0001.htm


More information about the Anthill-pro mailing list