Skip to content

Commit

Permalink
Upload node configs with an xml content type
Browse files Browse the repository at this point in the history
  • Loading branch information
mrrsm authored and mghesh-yseop committed Sep 24, 2024
1 parent 3384375 commit b5d0db5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jenkinsapi/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,7 @@ def upload_config(self, config_xml: str) -> None:
raise JenkinsAPIException("Built-In node does not have config.xml")

self.jenkins.requester.post_xml_and_confirm_status(
"%(baseurl)s/config.xml" % self.__dict__, data=config_xml
)
"%(baseurl)s/config.xml" % self.__dict__, data=config_xml)

def get_labels(self) -> str | None:
"""
Expand Down

0 comments on commit b5d0db5

Please sign in to comment.