-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins version: 2.222.3
Persistent Parameter: 1.1
I am creating Pipeline job and adding one Persistent String Parameter to it, then just printing the parameter in the declarative pipeline stages.
Expecting on every build the persistent string parameter to keep the value, with which it was called on the previous build, but eventually it is empty after the first build is done.
How to reproduce:
Here is simple PIPELINE code, which is reproducing the issue:
pipeline {
agent any
environment {
TEST = "${params.test}"
}
stages {
stage('TEST') {
steps {echo TEST}
}
}
}
NOTE: The Persistent String parameter is working fine on Freestyle jobs!