Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-75091] Fix null pointer exception when title is missing (#169)
https://issues.jenkins.io/browse/JENKINS-75091 provides a sample Pipeline that throws a null pointer exception when viewing plots after a few executions of the job. pipeline { agent { label 'linux' } stages { stage('Hello') { steps { echo 'Hello World' sh '''#!/bin/bash [ ! -f plot-a.csv ] && echo "Line-A,Line-B" > plot-a.csv let "OTHER_VAR=2*BUILD_ID+1" echo $BUILD_ID,$OTHER_VAR >> plot-a.csv ''' plot csvFileName: 'plot-923ffed9-0b83-4a7d-93eb-55894c27e904.csv', csvSeries: [[file: 'plot-a.csv']], group: 'Z-group', style: 'line' plot csvFileName: 'plot-923ffed9-0b83-4a7d-93eb-111111111111.csv', csvSeries: [[file: 'plot-a.csv']], group: 'Z-group', style: 'line' } } } }
- Loading branch information