Skip to main content
How to use Jenkins with your Orka environment. The Orka by MacStadium plugin for Jenkins lets you provision permanent and ephemeral Jenkins agents in your Orka environment. The provisioning of permanent agents is useful when you need to have complete manual control over the process and the lifecycle of the agents. The provisioning of ephemeral agents is useful when you need to automatically create and delete agents based on the needs of your workflows.
Orka 3.1.x and above requires version v2.0.0+ of the plugin. If you are running Orka 2.x, use plugin version 1.35.

Install the plugin

The Orka by MacStadium plugin is available in the Jenkins Plugin Manager. For more information about how to install publicly available Jenkins plugins, see Jenkins Documentation: Managing Plugins. If you need to manually build, package, and run the plugin yourself, visit the plugin repo for the latest information.

Provision agents with the plugin

Your Jenkins master must be connected to your Orka environment through VPN before provisioning agents. Use a VPN client for temporary connectivity, or set up a site-to-site VPN tunnel for a persistent connection.
The Orka by MacStadium plugin wiki provides the latest information about how to use the plugin.
If you are deploying Apple Silicon images for the first time on an ARM-based node, increase the Jenkins agent connection timeout to account for the longer initial boot time.

How to Enable Logging for the Orka Plugin for Jenkins

If you’re troubleshooting issues with the Orka plugin for Jenkins (current version: v2.09), you can enable detailed plugin logging directly from the Jenkins interface using the built-in System Log feature.

Steps to Enable the Orka Plugin Logger

  1. In Jenkins, go to Manage Jenkins -> System Log.
  2. Click Add new log recorder.
  3. Enter a name for the log recorder (e.g., Orka Plugin).
  4. Click Add under Loggers.
  5. In the Logger field, enter:
   io.jenkins.plugins.orka
  1. Set the Log Level to All.
  2. Click Save.
Jenkins will now capture detailed logs for the Orka plugin. You can view them by returning to Manage JenkinsSystem Log and selecting the recorder you created.

Performance Note

Using the All log level is the most verbose setting and can slow down Jenkins. If you notice performance degradation, you can limit logging to the core cloud class instead:
  • In the Logger field, use:
  io.jenkins.plugins.orka.OrkaCloud
  • Keep the log level set to All.
This collects the most relevant logs while reducing overall volume.

Plugin Requirements

  • Orka by MacStadium 3.0+ — The current plugin requires Orka 3.0 or later.
  • A VPN connection to your Orka environment is required. Your Jenkins master must have network visibility to the Orka cluster.

Need more help?

If you’re still experiencing issues after reviewing the logs, contact MacStadium Support and include the log output for faster troubleshooting.