It's all about the answers!

Ask a question

EWM 7.0.2 - SCM Component Baselines and Deployment


Glyn Costello (1405555) | asked Feb 07, 4:27 a.m.
edited Feb 07, 4:56 a.m.

 Dear all, 


Non-Software person here.... 

We have an SCM stream with multiple components. When a component has reached maturity, we manually create a baseline. When a stream has reached maturity, we create a snapshot which contains all the latest baselines (doesn't create new baselines). 

How can we use a Jazz build defintion/engine to "publish" the contents of these component baseilnes to a network folder location?

Also, is it possible to get a report showing which components have changed since the last snapshot/build?

Also also... is it possible for the "publish" to only issue files of a certain type and ignore others?

Thanks, 

Glyn

One answer



permanent link
Ralph Schoon (63.6k33646) | answered Feb 07, 5:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Hi Glyn.

When you create a snapshot and there is a change on a component that is not in the latest baseline, the snapshot would always create a new baseline. Just to make sure this is understood. 

Build definitions for the JBE can have a tab Jazz Source Control. If you have a repository workspace created from the snapshot, you could use that to perform a load operation to load the files under SCM. This option is configurable, but not to an extend to have filters. 

In Jenkins, you could load SCM from a snapshot - but you have to provide the name in the build.

You could use the SCM Command Line and create a tool that loads the files into a location you want and delete the files you do not want. Or you could see if you can make the scm command line tool  only load the files you want. 

See https://www.ibm.com/docs/en/engineering-lifecycle-management-suite/lifecycle-management/7.0.2?topic=reference-source-control-command-line for documentation.

You can compare snapshots and builds can create snapshots that you can use to compare. You can use the SCM command line to do the compare and use the output for reporting.


Comments
Glyn Costello commented Feb 07, 8:58 a.m.

 Hi Ralph, thanks. Your first sentence I had not realised. The work around it seems is to create a work space which doesn't flow to a stream, then manually add the latest valid baseline for a component. 


Ralph Schoon commented Feb 07, 9:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

You could see the issue, if you see baselines that have the name of the snapshot. 
You should also be able to see this in the pending changes view. I think there is a markup for components that are beyond a baseline somewhere. But yes, you can add specific component baselines to a workspace or stream.

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.