I configured jenkins in spinnaker as follows and setup spinnaker pipeline.
jenkins: # If you are integrating Jenkins, set its location here using the bas
Head over to Manage Jenkins => Configure global security.
Then uncheck "Prevent Cross Site Request Forgery exploits"