Skip to content

PKG-685 : jenkins-job-builder unable to publish if there is xml binar… #3323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

satya-bodapati
Copy link
Collaborator

…y data in the YML file

Key Points:
JJB ≥ 4.0.0 switched from PyYAML to ruamel.yaml for parsing, which treats !!binary differently JJB 3.x and earlier used PyYAML, which allowed !!binary for Base64-encoded data JJB 4.0.0+ no longer supports !!binary out-of-the-box with ruamel.yaml

Fix:
Convert Base64 decoded string to regular string and remove the !!binary

…y data in the YML file

Key Points:
JJB ≥ 4.0.0 switched from PyYAML to ruamel.yaml for parsing, which treats !!binary differently
JJB 3.x and earlier used PyYAML, which allowed !!binary for Base64-encoded data
JJB 4.0.0+ no longer supports !!binary out-of-the-box with ruamel.yaml

Fix:
Convert Base64 decoded string to regular string and remove the !!binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants