Jenkins Pipelines¶
Groovy Jenkins pipeline scripts that spawn multi-container Kubernetes agent pods and execute Python scripts against Panorama.
Available Pipelines¶
Address Objects Pipeline¶
Creates address objects on Panorama by:
- Spawning a K8s pod with JNLP agent + Python containers
- Cloning the automation repository
- Installing Python dependencies
- Running the address object creation script against Panorama
Security Policy Pipeline¶
Creates security policy rules on Panorama following the same pod-based execution pattern.
Pipeline Structure¶
Each pipeline defines:
- Pod template with two containers (JNLP for Jenkins connectivity, Python for script execution)
- Parameters for Panorama hostname, credentials, and configuration options
- Stages for checkout, setup, and execution
Credentials
Never hardcode credentials in pipeline scripts. Use Jenkins Credentials binding (withCredentials) to inject secrets at runtime: