Skip to content
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

Publish jobs failing #550

Open
wainersm opened this issue Jul 11, 2023 · 0 comments
Open

Publish jobs failing #550

wainersm opened this issue Jul 11, 2023 · 0 comments
Labels
bug Incorrect behaviour needs-review Needs to be assessed by the team.

Comments

@wainersm
Copy link
Contributor

The publish job triggered after the merge of PR #547 failed with the error:

INFO:jenkins_jobs.cli.subcommand.update:Number of jobs updated: 40
INFO:jenkins_jobs.builder:Number of views generated:  1
INFO:jenkins_jobs.builder:Reconfiguring jenkins view Daily CCv0 baseline
Traceback (most recent call last):
  File "/home/runner/.local/lib/python3.8/site-packages/jenkins/__init__.py", line 578, in jenkins_request
    return self._response_handler(
  File "/home/runner/.local/lib/python3.8/site-packages/jenkins/__init__.py", line 539, in _response_handler
    response.raise_for_status()
  File "/usr/lib/python3/dist-packages/requests/models.py", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: http://jenkins.katacontainers.io/view/Daily%20CCv0%20baseline/config.xml

It seems that the JENKINS_USER being used on that job has not permission to change/publish Jenkins views.

@wainersm wainersm added bug Incorrect behaviour needs-review Needs to be assessed by the team. labels Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behaviour needs-review Needs to be assessed by the team.
Projects
None yet
Development

No branches or pull requests

1 participant