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

BuildSystem: Snapshot on load

Hello

I'm involved in extending our build system. Besides a nightly build,
that runs once per day and builds all product variants with all extras,
we want to have a build that is performing the tests only and skips
everything not required for this. This build is supposed to be run as
often as possible.

When I specify a Jazz SCM page for my build definition, I can specify
that my build engine accepts all incoming changes. Anything else would
not make too much sense, as everyone delivering a changeset would have
to take care that the build engine workspace would get that change, too.
But if I enable the "accept all incoming changes before load", then Jazz
always creates a snapshot before loading. This is fine for a nightly
build and a must for a release build. But if a build runs 3 to 10 times
a day, I do not want my baseline numbers to mirror the amount of
changesets deliverd to that component. Means: It's okay to auto-accept
and auto-fetch the repo workspace, but I do not want to make a snapshot
every time. Those "small" builds need not to be reproducable, their
purpose is to give information about whether tests still run or not.

So I investigated in the Jazz help if I could use the "teamAccept" and
"teamFetch" Ant tasks, instead of using the build definition Jazz SCM
page. The "teamAccept" tasks can have the name for the snapshot as an
optional parameter. But the documentation is not telling whether a
snapshot will be created in case the parameter is skipped or not.

So, can I skip the creation of a snapshot when building?

Thanks and kind regards,
Stefan

0 votes



One answer

Permanent link
Hello,

If you use the "teamAccept" task and do not specify the snapshotName or buildResultUUID attribute, no snapshot will be created.

Martha
Jazz Developer

Hello

I'm involved in extending our build system. Besides a nightly build,
that runs once per day and builds all product variants with all extras,
we want to have a build that is performing the tests only and skips
everything not required for this. This build is supposed to be run as
often as possible.

When I specify a Jazz SCM page for my build definition, I can specify
that my build engine accepts all incoming changes. Anything else would
not make too much sense, as everyone delivering a changeset would have
to take care that the build engine workspace would get that change, too.
But if I enable the "accept all incoming changes before load", then Jazz
always creates a snapshot before loading. This is fine for a nightly
build and a must for a release build. But if a build runs 3 to 10 times
a day, I do not want my baseline numbers to mirror the amount of
changesets deliverd to that component. Means: It's okay to auto-accept
and auto-fetch the repo workspace, but I do not want to make a snapshot
every time. Those "small" builds need not to be reproducable, their
purpose is to give information about whether tests still run or not.

So I investigated in the Jazz help if I could use the "teamAccept" and
"teamFetch" Ant tasks, instead of using the build definition Jazz SCM
page. The "teamAccept" tasks can have the name for the snapshot as an
optional parameter. But the documentation is not telling whether a
snapshot will be created in case the parameter is skipped or not.

So, can I skip the creation of a snapshot when building?

Thanks and kind regards,
Stefan

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

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

Question asked: Dec 22 '08, 10:38 a.m.

Question was seen: 5,031 times

Last updated: Dec 22 '08, 10:38 a.m.

Confirmation Cancel Confirm