I configured jenkins in spinnaker as follows and setup spinnaker pipeline.
jenkins: # If you are integrating Jenkins, set its location here using the bas
This solution is SAFE to use
came along this issue when we changed jenkins to be accessible via reverse proxy.
There is an option in the "Configure Global Security" that "Enable proxy compatibility" This helped with my issue.