Skip to content

Refactor: Useful utility/helper methods could be refactored into seperate classes #291

@dellgreen

Description

@dellgreen

There are several useful jenkins url manipulation/creation private methods in JenkinsServer and other classes for example:

toJobBaseUrl()
toBaseUrl()
toViewBaseUrl()
api()
urlJoin()
noapi()

It would be nice if these were in public utility classes as some applications may like to create full URIs without drilling down through multiple calls to the server. It would also reduce the size of the main classes and make unit testing simpler for these methods.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions