Re: doesn't look like a JNLP file ?

2013-07-29 Thread fishnochips
--1--  I verified that JNLP files are associated with Java Web Start on my 
Mac slave. It still complains that slave-agent.jnlp doesn't look like a 
JNLP file; content type was text/HTML; charset=iso-8859-1.

--2-- Also the jnlp file appears to refer to the host only by host name (vs 
fully qualified domain name). How can I change this?

Help? :)

On Tuesday, July 23, 2013 11:38:59 AM UTC-4, fishn...@gmail.com wrote:
>
> I get this error message
>
> Failing to obtain 
> http://my.jenkins.com/jenkins/computer/my-computer/slave-agent.jnlp?encrypt=true
> java.io.IOException: 
> http://my.jenkins.com/jenkins/computer/my-computer/slave-agent.jnlp?encrypt=truedoesn't
>  look like a JNLP file; content type was text/HTML; 
> charset=iso-8859-1
>   at hudson.rempting.Launcher.parseJnlpArguments(Launcher.java:292)
>
> I used the command found on the jenkins page for my slave after tweaking 
> it 
> [1] because I downloaded slave.jar to a particular directory
> [2] because my slave needs to use FQDN to refer to the jenkins master
>
> So my command was 
>
> java -jar /some/directory/slave.jar -jnlpUrl 
> http://my.jenkins.com/jenkins/computer/my-computer/slave-agent-jnlp-secret 
> thesecretfoundonthepageformyslave
>
> The slave is a Mac. The master is a linux box running Jenkins ver. 1.523
>
> What should I do differently? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: bug? batch command calling child batch script with labels

2013-07-25 Thread fishnochips
discovered that preceding the call to the child batch script with cmd /c 
appears to handle both issues.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: bug? batch command calling child batch script with labels

2013-07-25 Thread fishnochips
here's a different issue:

   - create a batch file in a job's workspace that jumps to a label near 
   the end 
   - configure the job with a batch command that does two things
  - calls the child batch file in the first bullet
  - echos something
   - run the job

the job will execute the batch file but not perform the echo after the 
batch file call

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




bug? batch command calling child batch script with labels

2013-07-25 Thread fishnochips
is this a bug?

   - create batch script with labels in a job's workspace -- have the 
   script jump forward to a label later in the same script
   - configure the job to have a single batch command which calls this 
   batch script (above) twice -- echo that you're about to call
   - run the job

console output will show only one call (or at least it does for me) because 
the first call jumps to a label and jenkins allows it to jump to the label 
in the second call.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




doesn't look like a JNLP file ?

2013-07-23 Thread fishnochips
I get this error message

Failing to obtain 
http://my.jenkins.com/jenkins/computer/my-computer/slave-agent.jnlp?encrypt=true
java.io.IOException: 
http://my.jenkins.com/jenkins/computer/my-computer/slave-agent.jnlp?encrypt=true
 
doesn't look like a JNLP file; content type was text/HTML; 
charset=iso-8859-1
  at hudson.rempting.Launcher.parseJnlpArguments(Launcher.java:292)

I used the command found on the jenkins page for my slave after tweaking it 
[1] because I downloaded slave.jar to a particular directory
[2] because my slave needs to use FQDN to refer to the jenkins master

So my command was 

java -jar /some/directory/slave.jar -jnlpUrl 
http://my.jenkins.com/jenkins/computer/my-computer/slave-agent-jnlp -secret 
thesecretfoundonthepageformyslave

The slave is a Mac. The master is a linux box running Jenkins ver. 1.523

What should I do differently? 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.