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

jenkins base url mismatch leads to unreadable errors #28

Open
Artalus opened this issue Sep 10, 2021 · 0 comments
Open

jenkins base url mismatch leads to unreadable errors #28

Artalus opened this issue Sep 10, 2021 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@Artalus
Copy link
Owner

Artalus commented Sep 10, 2021

.jenotrc: http://localhost:8080
pasted url: http://bar:8080/job/...

Traceback (most recent call last):
  File "s:\git\jenot\src\jenot\qt\processor.py", line 34, in _run
    result = run(self.jenkins_base_url, self.user, self.token, self.build_part)
  File "s:\git\jenot\src\jenot\__init__.py", line 69, in run
    result, actual_url = iterate(url, USER, TOKEN)
  File "s:\git\jenot\src\jenot\__init__.py", line 40, in iterate
    resp = requests.get(f'{url}/api/json', auth=auth).json()
  File "s:\git\Jenot\venv\lib\site-packages\requests\models.py", line 910, in json
    return complexjson.loads(self.text, **kwargs)
  File "C:\Python\39\lib\json\__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "C:\Python\39\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Python\39\lib\json\decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
@Artalus Artalus added the bug Something isn't working label Sep 10, 2021
@Artalus Artalus added this to the 1.1 milestone Jul 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant