I worked through this exact scenario after our pol-2310 upgrade and can address all the key integration points:
Jenkins Webhook Configuration: The webhook fires correctly (200 response), but pol-2310 changed the expected payload structure. You need to update your Jenkins configuration:
// Jenkins Pipeline - Updated webhook format
post {
always {
polarionNotify(
jobPath: "${env.JOB_NAME}",
buildResult: "${currentBuild.result}"
)
}
}
The critical change is using jobPath instead of jobName - pol-2310 requires full path resolution.
Job Path Mapping: This is where most issues occur. In Polarion ci-cd-connectors module, your mapping must match Jenkins folder structure exactly:
Jenkins Path: Project/Feature/BuildJob
Polarion Mapping: Project/Feature/BuildJob
Pol-2310 removed automatic path normalization, so “project/feature/buildjob” won’t match “Project/Feature/BuildJob” anymore. Case and slashes must be identical.
Token Permissions: The token needs three specific permissions in pol-2310:
project.read - Read build artifacts
webhook.process - Process incoming webhooks
ci.sync - Sync build data to reports
Go to Administration > Users & Groups > [Service Account] > Permissions and verify all three are enabled. The webhook.process permission is new in pol-2310 and often missing after upgrades.
Test Results Sync: If test results aren’t flowing through, check the result format mapping. Pol-2310 expects JUnit XML format by default:
jenkins.result.format=junit
jenkins.result.path=target/surefire-reports/*.xml
Add these properties to your connector configuration in ci-cd-connectors module.
Complete Resolution Steps:
- Update Jenkins pipeline to use
jobPath in webhook calls
- Verify exact case-sensitive path mapping in Polarion connector settings
- Add
webhook.process and ci.sync permissions to your service account token
- Configure test result format mapping (junit by default)
- Restart Polarion connector service to pick up permission changes
- Trigger a test build and monitor Polarion logs for processing confirmation
After these changes, our connector sync latency dropped to under 30 seconds and we’re now seeing 100% of build results in release reporting dashboards. The key was the combination of exact path matching and the new webhook.process permission - both are required in pol-2310.