Skip to content
This repository was archived by the owner on Nov 7, 2023. It is now read-only.

Remote builds fail when using "build token root" without overall/read for anonymousΒ #11

@bekriebel

Description

@bekriebel

The current version of the code tries to touch /api/json endpoints in several cases, which fails when the Anonymous user doesn't have overall/read (and perhaps other) permissions. The errors are:

Server returned HTTP response code: 401 for URL: https:///job//api/json
Connection to remote server failed, waiting for to retry - 10 seconds until next attempt.

Can you make it so the api endpoint functions are skipped or failures ignored when using the build token root functions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions