Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

[closed] Autobuilds and auto generated baseline

The automated build process in RTC v4 (previous versions as well) creates a baseline. Isn't there way to control when this baseline is created? (I'm sure the answer to that is 'No') I'm not sure I understand why the baseline gets created at the start of the build instead of at the end of the build when you may or may not want to apply that baseline.

I'm calling scm deliver at the end of the build process which used to deliver the automated build baseline but now it appears to be having trouble. I've a thread where I was having trouble getting the baseline delivered and got it working.
https://jazz.net/forum/questions/72003/scmexe-deliver

I inserted a status command before my deliver in the hopes it would deliver that baseline. The output that I get is as follows:
     [exec] Local file system is consistent.
     [exec] Workspace: (1002) "Prototype App Auto Workspace" <-> (1003) "Test"  (sv>
     [exec]   Component: (1004) "AppTest"
     [exec]     Baseline: (1055) 101 "App auto build def_20120914-1618"
     [echo] SCMTools: C:\Program Files\IBM\TeamConcert\scmtools\eclipse\scm.exe
     [exec] Nothing to deliver. No outgoing changes were found.

Yet the baseline is sitting in the outgoing folder.

Also it sure would be nice to be able to control the text in the baseline. I believe I'm going to have to use a snapshot but the only problem I have with that is the fact if the component doesn't have any changes a new baseline isn't applied.

0 votes


The question has been closed for the following reason: "Additional information is required to adequately answer this question" by daviddl Oct 13 '17, 3:50 p.m.

Accepted answer

Permanent link
The build creates a baseline when the build starts just in case other changes are delivered to the Stream/Workspace while the build is happening.

According to the output of your "scm status" above, there is no outgoing baseline in your workspace. It's not clear to me what you mean by "Yet the baseline is sitting in the outgoing folder". Could you elaborate on this?
David Lafreniere selected this answer as the correct answer

0 votes

Comments

I'm tracking the workspace in my pending changes view and I can see that baseline sitting in the outgoing folder.

I modify file during the build process and deliver them back to the stream and I would like that change be included in the baseline.

Are you sure you're looking at the same workspace, i.e. the build workspace that's configured in the build definition? Unless the build script created a new baseline, or checked in some changes, there would be nothing to deliver, since the accept at the start of the build brought the build workspace into sync with what's in the stream (it actually does a multi-component replace, not a regular accept, to properly handle discards).

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 562

Question asked: Sep 14 '12, 6:33 p.m.

Question was seen: 4,334 times

Last updated: Oct 13 '17, 3:50 p.m.

Confirmation Cancel Confirm