-
Task
-
Resolution: Not A Defect
-
Blocker
-
None
Hi Team,
Jenkins Version: 2.319.1
While saving any config changes in Jenkins Dashboard getting 502 Gateway Error.
We increase Jenkins logging level to DEBUG and try to analyze logs but didn't get much info.
At last, we found out that pipeline groovy and shell script variable declaration leads to the problem.
Issue happening running the following script.
pipeline {
agent any
environment
stages {
stage('Example Test') {
steps {
echo "${name}"
}
}
}
}
Find out the Fix:
While removing Curly Bracket from "${name}" to ${name} is working fine and able to save the configuration.
We are using n number of pipeline scripts is using the same variable declaration.
Now the same issue happening for Jenkins Freestyle jobs also.
Please understand this is happening due to any Bug in the version.