-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
2.462.1 version with credential plugin
Description:
When attempting to configure Jenkins with a password that includes the ( character, Jenkins throws a syntax error. This issue prevents authentication when the password contains this special character.
Issue Explanation:
When attempting to push a jar file to JFrog Artifactory using Jenkins, I encountered a syntax error after updating my password via the CyberArk Vault. My new password included the special character (, specifically in the format "XXXX(XXXXXXXXXXX".
Before the password change, I was successfully able to push the jar files without any issues. However, after updating the password with the ( character, Jenkins threw an error:
"Syntax error near unexpected token '(' in Jenkins credentials."
This error suggests that Jenkins misinterpreted the special character ( as part of a script or command syntax rather than a literal character in the password.
To resolve the issue, I regenerated the password without the ( character and tested it, and the process worked as expected. Hence, the presence of the ( character in the password was the cause of the issue.
Conclusion:
It appears that when a password includes the ( character, Jenkins does not handle it properly, causing syntax-related errors. Regenerating the password without the special character resolved the issue.