-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
We are trying to pipeline a series of deployment chains using the dimensionscm plugin that are already in place and fully functional
but configured by user interface.
the process involves
downloading the source code from git
compilation if necessary
uploading files to serena
operating the files (at the moment this is done by calling serena jars directly)
creation of the baseline.
we tried to put the first instruction "dimensionsscm" and it already gives us a null pointer in the finddifference.
anyway we wouldn't know how to proceed
All help would be appreciated
The pipeline support provides the triggering of jobs and enumerating and downloading of source code - i.e. the SCM plugin functionality. See https://www.jenkins.io/doc/pipeline/steps/dimensionsscm/ - only the SCM plugin part of the main Jenkins Dimensions Plugin is available in pipelines.
The other functionality you can use with the plugin in freestyle jobs (i.e. the steps) is easily accessible using a `sh` step that calls the dmcli command line (e.g. locking and unlocking projects, creating baselines, invoking Dimensions Build, storing artifacts into DCM, etc.). In fact, this is the recommended way to do these operations - you can still use the Jenkins credentials plugin to keep the username and password secure, and by using dmcli commands, any Dimensions CM functionality at all is available to you.