-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Major
-
Component/s: influxdb-plugin
-
None
I never get a 'SUCCESS' in the `build_result` field if data is reported to Influx in a pipeline `post` section.
I would expect that at this time, the outcome is of the pipeline run is set.
pipeline{
stages {
stage('A') {
steps {
echo "build result: ${currentBuild.result}"
echo "current build result: ${currentBuild.currentResult}"
}
}
}
post{
always{
script {
node {
step([$class: 'InfluxDbPublisher', selectedTarget: 'myInflux'])
}
}
}
}
}