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.
For more information, refer to the Electric Make user guide.
The Electric Make plugin calls the ElectricAccelerator tool’s emake
command-line tool and passes it user-provided parameters.
Plugin Version 1.0.8.2020102201
Revised on October 22, 2020
Create Electric Make plugin procedures
Plugin procedures can be used in procedure steps, process steps, and pipeline tasks, allowing you to orchestrate third-party tools at the appropriate time in your component, application process, or pipeline.
Depending on your plugin configuration and how you run procedures, the Differences in plugin UI behavior. field may behave differently in the CloudBees CD/RO UI. For more information, refer to |
RunElectric make
Builds your applications using the eMake tool.
Parameter | Description |
---|---|
Working Directory |
Provide the directory where the eMake project is located. |
Cluster manager |
Required. Name of the cluster manager host ( |
Emake root |
Required. List of eMake roots, for example, |
Emulation mode |
Required. Emake emulation mode. |
Starting director |
Root of the build tree. Use this option to run a build in a subdirectory. This is equivalent to the command-line |
Targets |
List of targets to be built. If not specified, eMake builds 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 equivalent to the command-line |
Electric Make plugin example
In this example, the Electric Make plugin is used to compile and execute defined tasks in a Makefile just as if using GNU Make to do it.
-
Create a simple Makefile with a single task named
sayHello
: -
Create a procedure and fill in the parameter form:
-
Run the procedure to view the results: