Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions