Working now. The problem was with another property that was defined as username/password credential and not secret text credential.
-- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9afe041a-fcdc-4d3b-a3b5-6a8b5a62e61f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.