How to Use the Delphix Plugin for Jenkins

Requirements

  • Jenkins 1.651+
  • Java 7+
  • Delphix Engine 5.0.0+
  • Delphix Self Service License

Install

Go to the Jenkins Plugin Manager and search for “Delphix” under the Available tab. Check the install box and then click “Download now and install after restart.” Then select the box to “Restart Jenkins when installation is complete and no jobs are running.” Once Jenkins has restarted, the Delphix Plugin is installed and can be configured.

Configure

Once the plugin is installed, go to Manage Jenkins > Configure System. Scroll down to the Delphix section and click the Add Engine button.

Usage

Once configured, Delphix — Self Service Bookmark and Delphix — Self Service Container are available as Build Step options for job configurations.

Self Service Container Build Step

Self Service Container Build Steps have four basic setting: Engine, Operation, Self Service Container, and Bookmark. Engine is a list of configured Delphix engines from the System Configuration. Operation is a list of available Self Service Container operations, described in more detail below. Self Service Container is the list of containers that are available for the selected Engine. Bookmark is a list of bookmarks for the selected Engine.

Self Service Bookmark Build Step

Self Service Bookmark Build Steps have four basic setting: Engine, Operation, Bookmark and Self Service Container. Engine is a list of configured Delphix engines from the System Configuration. Operation is a list of available Bookmark operations, described in more detail below. Self Service Container is the list of containers that are available for the selected Engine. Bookmark is a list of bookmarks for the selected Engine.

Advanced Settings

Both Self Service Container and Bookmark build steps have an Advanced section. The purpose of this section is to save the output from one build step and then load it into another build step. The Container build step can “Save Container to Properties” and “Load Bookmark from Properties”. The Bookmark build step can “Load Container from Properties” and “Save Bookmark to Properties”. An example of how to use the advanced options would be create a bookmark in one build step, select “Save Bookmark to Properties”. Then create a Container build step, select the Restore operation and then select the advanced option to “Load Bookmark from Properties”. The bookmark that was created in the first build step will be used to restore the container in the next build step. This can be useful when creating a bookmark from one container and then restoring that dataset to a different container.

Conclusion

When it came to updating a plugin that had not been updated in 2.5 years, it was definitely a good decision to start over. We were able to get past some of the problems and complaints the old plugin had while making strides forward with integrating Jenkins jobs with the Delphix Dynamic Data Platform. Delphix customers that are looking to speed up their SDLC and automate Self Service Container operations will very likely find this plugin useful.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Derek Smart

Derek Smart

Derek is a software developer based in Atlanta, GA who loves tinkering and working on Open Source projects.