Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
console only seems to work for "lastBuild", but only when un-specified.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Patrick Connolly  
View profile  
 More options Feb 18 2012, 3:50 pm
From: Patrick Connolly <patrick.c.conno...@gmail.com>
Date: Sat, 18 Feb 2012 12:50:02 -0800 (PST)
Local: Sat, Feb 18 2012 3:50 pm
Subject: console only seems to work for "lastBuild", but only when un-specified.

TO REPRODUCE (performed all in same shell)

$ gem install jenkins
$ export JENKINS_HOST=jenkins.example.com
$ export JENKINS_PORT=8080
$ jenkins console myjob #shows /job/myjob/lastBuild/consoleText
$ # The following all return this response<https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/h...>
$ jenkins console myjob 10
$ jenkins console myjob "10"
$ jenkins console myjob lastBuild
$ jenkins console myjob "lastBuild"

All of these succeed:
$ curl jenkins.example.com:8080/job/myjob/10/consoleText
$ curl jenkins.example.com:8080/job/myjob/lastBuild/consoleText

Relevant
cli.rb: https://github.com/cowboyd/jenkins.rb/blob/master/lib/jenkins/cli.rb#...
Relevant
api.rb: https://github.com/cowboyd/jenkins.rb/blob/master/lib/jenkins/api.rb#...

The last version release was 2mo ago, but neither of these files has had
any edits since 3mo ago, so I assume it's not something that's just in dev
still.

Is this a bug. Seems someone else would have run into this. I normally have
a squidman proxy set up, but I disabled just in case, and confirm that it
was off (in the same shell I was running jenkins.rb) for curl and wget. Any
advice would be greatly appreciated :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Patrick Connolly  
View profile  
 More options Feb 18 2012, 3:53 pm
From: Patrick Connolly <patrick.c.conno...@gmail.com>
Date: Sat, 18 Feb 2012 12:53:03 -0800 (PST)
Local: Sat, Feb 18 2012 3:53 pm
Subject: Re: console only seems to work for "lastBuild", but only when un-specified.

And while I did have basic jenkins user database auth enabled. I disabled
just now, and had the same issue.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »