Available for Enterprise Edition only.
- validate and test Prophecy pipelines on pull requests
- deploy pipelines to Databricks environments after merge
develop, qa, prod) maps to a separate Databricks workspace.
Typical promotion flow:
Prerequisites
You should have:- A Git repository containing a Prophecy project
- A Jenkins server with permission to create pipelines
- Databricks workspaces for each environment
Required Jenkins plugins
- GitHub Pull Request Builder (for test pipeline)
- GitHub plugin (for deploy pipeline)
Check plugin compatibility with your Jenkins version before installing.
Configuration
Secrets
Configure the following credentials in Jenkins:DEMO_DATABRICKS_HOSTDEMO_DATABRICKS_TOKENPROD_DATABRICKS_HOSTPROD_DATABRICKS_TOKEN
Fabric ID
Find your Fabric ID from:Metadata → Fabrics → <your fabric>
Testing pipeline (PR validation)
This pipeline:- runs on pull requests to
develop,qa, andprod - validates pipelines
- runs unit tests
Trigger
Use GitHub Pull Request Builder to trigger on:- new PRs
- updates to PRs
Jenkinsfile (test)
What this pipeline does
- Checks out the PR branch.
- Installs PBT and dependencies.
- Validates pipeline syntax.
- Runs unit tests.
Deploy pipeline (post-merge)
This pipeline:- runs on commits to
develop,qa,prod. - deploys pipelines to the corresponding Databricks environment.
Trigger
Use a GitHub webhook to trigger on push events.Jenkinsfile (deploy)
What this pipeline does
- Selects the target environment based on branch.
- Installs PBT.
- Builds pipelines into
.jar/.whlartifacts. - Uploads artifacts to Databricks.
- Creates or updates jobs.
Notes
- Each
shstep runs in a separate shell, so the virtual environment must be reactivated. - For Scala pipelines, ensure JDK 11 is installed on Jenkins nodes.
- Jenkins files are stored in the repository; Jenkins stores only triggers and credentials.

