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

Butler is using system Jenkins URL internally and fails if it does not match the server URL argument #18

Open
DKroot opened this issue Oct 5, 2020 · 0 comments

Comments

@DKroot
Copy link

DKroot commented Oct 5, 2020

Description

Our project Jenkins is set up for external access over an SSH tunnel only. Jenkins URL (Manage System > Jenkins Location) = http://localhost:58080/: the tunneled URL.
Locally on the same server, Jenkins is available over http://localhost:8080. If I try to run jobs export on the same server over http://localhost:8080, Butler fails.

Workaround: configure Jenkins temporarily to use the same URL.

Related Issue

N/A

Changes proposed

Fix this

Screenshots

Terminal log:

$ butler jobs export --server localhost:8080 --username {user} --password {password}
Exporting job: CaseStudy-BLAST-generate-dataset
Get http://localhost:58080/job/CaseStudy-BLAST-generate-dataset//config.xml: dial tcp [::1]:58080: getsockopt: connection refused
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant