It's all about the answers!

Ask a question

BuildSystem: Snapshot on load


Stefan Stern (4062128) | asked Dec 22 '08, 10:38 a.m.
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

One answer



permanent link
Martha (Ruby) Andrews (3.0k44351) | answered Dec 31 '08, 1:34 p.m.
JAZZ DEVELOPER
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

Your answer


Register or 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.