NullPointerException with Overops Jenkins plugin configured via Jenkins Pipeline Follow

 

 

Problem Description:

Jenkins runs configured with Jenkins Pipeline issues java.lang.NullPointerException

Environment:

SaaS:            Jenkins Plugin OverOps-Query 2.0 and newer
Hybrid:          Jenkins Plugin OverOps-Query 2.0 and newer
On-Premises: Jenkins Plugin OverOps-Query 2.0 and newer

Resolution:

Validate that the serviceId is setup in your pipeline configuration

stage('OverOps') {
  steps {
    OverOpsQuery(
      // build configuration
      applicationName: '${JOB_NAME}',
      deploymentName: '${JOB_NAME}-${BUILD_NUMBER}',
      serviceId: 'Sxxxxx',
.
.
.

 

Cause:

Missing mandatory parameter serviceId.

https://github.com/jenkinsci/overops-query-plugin#pipeline

 

 

 

 

Comments

0 comments