Electric Make

2 minute readExtensibilityDeveloper productivity

Electric Make (eMake) distributes build jobs in parallel to a cluster of nodes to automatically execute a build faster than with a sequential build. Electric Make is compatible with GNU Make, Microsoft NMAKE, Symbian’s Make variant, Ant, and Visual Studio.

More information can be found in the Electric Make user guide.

Plugin Version 1.0.8.2020102201

Revised on July 1, 2015

Electric Make (eMake) distributes build jobs in parallel to a cluster of nodes to automatically execute a build faster than with a sequential build. Electric Make is compatible with GNU Make, Microsoft NMAKE, Symbian’s Make variant, Ant, and Visual Studio.

More information can be found at this website.

CloudBees CD integration to electric make

The plugin calls the ElectricAccelerator tool’s "emake" command line and passes the user-provided parameters.

Integrated version

This plugin was developed and tested against version 5.0.0.

Plugin procedures

In the CloudBees CD UI, from the Home page, open the Main Menu, and click Admin > Plugins to open the Plugin Manager.
For all parameter descriptions below, required parameters are shown in bold italics.

RunElectric make

This procedure allows you to build your applications using the eMake tool.

ParameterDescription

Working Directory

Provide the directory where the eMake project is located.

Cluster manager

Name of the cluster manager host. (Host:port) (This is the command-line '--emake-cm' option.)

Emake root

List of eMake roots (/c/example[path separator]/c/example2/root[path separator]…​). Default is the job workspace. (This is the command-line '--emake-root' option). (Required)

Emulation mode

Emake emulation mode. (Required)

Starting directory

Root of the build tree. Use this option to run a build in a subdirectory. (This is the command-line '-C' option)

Targets

List of targets to be built; if blank, eMake will build the default target for the makefile in the specified starting directory.

Additional options

Additional command-line options for eMake.

Annotation level

Emake annotation detail settings. (This is the command-line '--emake-annodetail' option).

Examples and use cases

In this example we are going to use the Electric Make plugin to compile execute defined task in a Makefile just as GNU Make would do it.

  1. Lets create a simple Makefile with a single task called "sayHello"

  1. Now we are going to create a procedure and fill in the parameter form:

  1. Run the procedure and see results:

Release notes

EC-EMake 1.0.8

  • The documentation has been migrated to the main documentation site.

EC-EMake 1.0.7

  • Added metadata that is required for 9.0 release.

EC-EMake 1.0.6

  • Renamed to ElectricFlow.

EC-EMake 1.0.5

  • Added the possibility to provide a working directory.

EC-EMake 1.0.4

  • Procedure name(s) were changed in the step picker section.

EC-EMake 1.0.3

  • XML parameter panel.

  • Help page was updated.

  • Code improvements.

EC-EMake 1.0.2

  • Fix local resource issue.

  • Postp matchers were added.

EC-EMake 1.0.1

  • Help page improvements.

EC-EMake 1.0.0

  • Code implementation.