Re: difficulty connecting to Mac slave

2013-04-30 Thread Kenny Ayers
You're experiencing at least two issues here.  First there's the OSX bug 
with your window manager permissions.  You need to run headless on OSX, as 
you already determined, so make sure you continue to do that. (The bug is 
reported here: https://issues.jenkins-ci.org/browse/JENKINS-15697).

Add this to the slave command line options: -Djava.awt.headless=true

Secondarily it seems like perhaps the slave node may not be properly 
configured within Jenkins?  Have you tried a combination of SSH + running 
headless (perhaps that was your error message you included)?

I hope this helps,

Kenny

On Tuesday, April 30, 2013 5:28:11 PM UTC-7, Dan Tenenbaum wrote:
>
> Hi all,
>
> I have tried a number of methods to connect to a Mac slave and have had no 
> success.
>
> My master is also a mac and it's called dhcp151178. The slave I'm trying 
> to connect to is called pelham. These of course are machines on my internal 
> network. 
>
> The first method I tried was "Launch slave agents on Unix machines via 
> SSH".
>
> It looks like the master can connect to the slave via ssh but then I get 
> the following (excerpted; full stack traces at end of message):
>
> java.io.IOException: Remote call on pelham failed
>
> ...
>
> Caused by: java.lang.InternalError: Can't connect to window server - not 
> enough permissions.
>
>
> Then I tried "Launch slave agents via Java Web Start"
>
> And on the slave I navigated to 
> http://dhcp151178:8080/computer/pelham/slave-agent.jnlp
>
> This gave me:
>
>
> java.lang.Exception: The server rejected the connection: Unauthorized access
>
> at hudson.remoting.Engine.onConnectionRejected(Engine.java:257)
>
> at hudson.remoting.Engine.run(Engine.java:232)
>
>
> Also, based on the following post:
>
> http://stackoverflow.com/questions/11824486/setting-up-a-hudson-slave-on-windows-xp
>
>
> I tried downloading the jnlp file from the URL above, replacing all instances 
> of 'localhost' with 'dhcp151178' and launching the jnlp with javaws, this 
> either gives me no console output at all (but the slave agent gui says 
> Terminated) or it says:
>
>
> ...
>
> Exception in thread "main" java.lang.InternalError: Can't connect to window 
> server - not enough permissions.
>
>
> I tried starting in headless mode, both as jenkins and as my regular admin 
> user. I did this on the slave:
>
>
> java -jar slave.jar -jnlpUrl 
> http://dhcp151178:8080/computer/pelham/slave-agent.jnlp
> Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener 
> INFO: Jenkins agent is running in headless mode.
> Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener status
> INFO: Locating server among [http://localhost:8080/, http://dhcp151178:8080/]
> Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener status
> INFO: Connecting to localhost:49161
> Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener status
> INFO: Handshaking
> Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener error
> SEVERE: The server rejected the connection: Unauthorized access
> java.lang.Exception: The server rejected the connection: Unauthorized access
>   at hudson.remoting.Engine.onConnectionRejected(Engine.java:257)
>   at hudson.remoting.Engine.run(Engine.java:232)
>
>
> There is no security set up on the master, so I'm not sure what the 
> unauthorized access is about, and there is no -auth username:password that I 
> can add to that command line.
>
>
> I'm not sure how to set up "Launch slave via execution of command on the 
> Master" because I can't find much documentation for that. 
>
>
> So I'm stuck. I was able to set up a windows slave so I know that it is 
> possible. But the Mac slave does not want to start. Can you help?
>
>
> Thanks,
>
> Dan
>
>
> Addenda: full stack trace from trying to launch slave agents on the master 
> using ssh:
>
>
> 04/30/13 17:23:29] [SSH] Opening SSH connection to pelham:22.
> [04/30/13 17:23:29] [SSH] Authentication successful.
> [04/30/13 17:23:29] [SSH] The remote users environment is:
> BASH=/bin/bash
> BASH_ARGC=()
> BASH_ARGV=()
> BASH_EXECUTION_STRING=set
> BASH_LINENO=()
> BASH_SOURCE=()
> BASH_VERSINFO=([0]="3" [1]="2" [2]="48" [3]="1" [4]="release" 
> [5]="x86_64-apple-darwin10.0")
> BASH_VERSION='3.2.48(1)-release'
> DIRSTACK=()
> EUID=216
> GROUPS=()
> HOME=/Users/Shared/Jenkins
> HOSTNAME=pelham.fhcrc.org
> HOSTTYPE=x86_64
> IFS=$' \t\n'
> LOGNAME=jenkins
> MACHTYPE=x86_64-apple-darwin10.0
> MAIL=/var/mail/jenkins
> OPTERR=1
> OPTIND=1
> OSTYPE=darwin10.0
> PATH=/usr/bin:/bin:/usr/sbin:/sbin
> PPID=545
> PS4='+ '
> PWD=/Users/Shared/Jenkins
> SHELL=/bin/bash
> SHELLOPTS=braceexpand:hashall:interactive-comments
> SHLVL=1
> SSH_CLIENT='140.107.151.178 56267 22'
> SSH_CONNECTION='140.107.151.178 56267 140.107.150.101 22'
> TERM=dumb
> UID=216
> USER=jenkins
> _=bash
> [04/30/13 17:23:29] [SSH] Checking java version of java
> [04/30/13 17:23:29] [SSH] java -version returned 1.6.0_45.
> [04/30/13 17:23:29] [SSH] Starting sftp client.
> [04/30/13 17:

Re: difficulty connecting to Mac slave

2013-04-30 Thread Dan Tenenbaum
On Tue, Apr 30, 2013 at 5:55 PM, Scott Evans  wrote:
> Dan,
>
> I'm not a mac person so can't help you in detail, but can you, from your
> mac, browse to your Jenkins server with a web browser?


Yes.

> It almost sounds
> like your slave mac isn't giving the jenkins slave process enough
> permissions to reach out, or there is some sort of firewall blocking
> connections to the jenkins server on port 8080 perhaps.
>

There is no firewall.


To me it seems like the slave can contact the master, but is having an
authorization problem once it does.

Dan


> Scott
>
>
> On Tue, Apr 30, 2013 at 7:28 PM, Dan Tenenbaum  wrote:
>>
>> Hi all,
>>
>> I have tried a number of methods to connect to a Mac slave and have had no
>> success.
>>
>> My master is also a mac and it's called dhcp151178. The slave I'm trying
>> to connect to is called pelham. These of course are machines on my internal
>> network.
>>
>> The first method I tried was "Launch slave agents on Unix machines via
>> SSH".
>>
>> It looks like the master can connect to the slave via ssh but then I get
>> the following (excerpted; full stack traces at end of message):
>>
>> java.io.IOException: Remote call on pelham failed
>>
>> ...
>>
>> Caused by: java.lang.InternalError: Can't connect to window server - not
>> enough permissions.
>>
>>
>> Then I tried "Launch slave agents via Java Web Start"
>>
>> And on the slave I navigated to
>> http://dhcp151178:8080/computer/pelham/slave-agent.jnlp
>>
>> This gave me:
>>
>>
>>
>> java.lang.Exception: The server rejected the connection: Unauthorized
>> access
>>
>> at hudson.remoting.Engine.onConnectionRejected(Engine.java:257)
>>
>> at hudson.remoting.Engine.run(Engine.java:232)
>>
>>
>>
>> Also, based on the following post:
>>
>>
>> http://stackoverflow.com/questions/11824486/setting-up-a-hudson-slave-on-windows-xp
>>
>>
>> I tried downloading the jnlp file from the URL above, replacing all
>> instances of 'localhost' with 'dhcp151178' and launching the jnlp with
>> javaws, this either gives me no console output at all (but the slave agent
>> gui says Terminated) or it says:
>>
>>
>> ...
>>
>> Exception in thread "main" java.lang.InternalError: Can't connect to
>> window server - not enough permissions.
>>
>>
>> I tried starting in headless mode, both as jenkins and as my regular admin
>> user. I did this on the slave:
>>
>>
>> java -jar slave.jar -jnlpUrl
>> http://dhcp151178:8080/computer/pelham/slave-agent.jnlp
>> Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener 
>> INFO: Jenkins agent is running in headless mode.
>> Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener status
>> INFO: Locating server among [http://localhost:8080/,
>> http://dhcp151178:8080/]
>> Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener status
>> INFO: Connecting to localhost:49161
>> Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener status
>> INFO: Handshaking
>> Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener error
>> SEVERE: The server rejected the connection: Unauthorized access
>> java.lang.Exception: The server rejected the connection: Unauthorized
>> access
>> at hudson.remoting.Engine.onConnectionRejected(Engine.java:257)
>> at hudson.remoting.Engine.run(Engine.java:232)
>>
>>
>> There is no security set up on the master, so I'm not sure what the
>> unauthorized access is about, and there is no -auth username:password that I
>> can add to that command line.
>>
>>
>> I'm not sure how to set up "Launch slave via execution of command on the
>> Master" because I can't find much documentation for that.
>>
>>
>> So I'm stuck. I was able to set up a windows slave so I know that it is
>> possible. But the Mac slave does not want to start. Can you help?
>>
>>
>> Thanks,
>>
>> Dan
>>
>>
>>
>> Addenda: full stack trace from trying to launch slave agents on the master
>> using ssh:
>>
>>
>> 04/30/13 17:23:29] [SSH] Opening SSH connection to pelham:22.
>> [04/30/13 17:23:29] [SSH] Authentication successful.
>> [04/30/13 17:23:29] [SSH] The remote users environment is:
>> BASH=/bin/bash
>> BASH_ARGC=()
>> BASH_ARGV=()
>> BASH_EXECUTION_STRING=set
>> BASH_LINENO=()
>> BASH_SOURCE=()
>> BASH_VERSINFO=([0]="3" [1]="2" [2]="48" [3]="1" [4]="release"
>> [5]="x86_64-apple-darwin10.0")
>> BASH_VERSION='3.2.48(1)-release'
>> DIRSTACK=()
>> EUID=216
>> GROUPS=()
>> HOME=/Users/Shared/Jenkins
>> HOSTNAME=pelham.fhcrc.org
>> HOSTTYPE=x86_64
>> IFS=$' \t\n'
>> LOGNAME=jenkins
>> MACHTYPE=x86_64-apple-darwin10.0
>> MAIL=/var/mail/jenkins
>> OPTERR=1
>> OPTIND=1
>> OSTYPE=darwin10.0
>> PATH=/usr/bin:/bin:/usr/sbin:/sbin
>> PPID=545
>> PS4='+ '
>> PWD=/Users/Shared/Jenkins
>> SHELL=/bin/bash
>> SHELLOPTS=braceexpand:hashall:interactive-comments
>> SHLVL=1
>> SSH_CLIENT='140.107.151.178 56267 22'
>> SSH_CONNECTION='140.107.151.178 56267 140.107.150.101 22'
>> TERM=dumb
>> UID=216
>> USER=jenkins
>> _=bash
>> [04/30/13 17:23:29] [SSH] Checking java version of java
>> [04/30/13 17:23:29] [SSH] java -v

Re: difficulty connecting to Mac slave

2013-04-30 Thread Scott Evans
Dan,

I'm not a mac person so can't help you in detail, but can you, from your
mac, browse to your Jenkins server with a web browser?  It almost sounds
like your slave mac isn't giving the jenkins slave process enough
permissions to reach out, or there is some sort of firewall blocking
connections to the jenkins server on port 8080 perhaps.

Scott


On Tue, Apr 30, 2013 at 7:28 PM, Dan Tenenbaum  wrote:

> Hi all,
>
> I have tried a number of methods to connect to a Mac slave and have had no
> success.
>
> My master is also a mac and it's called dhcp151178. The slave I'm trying
> to connect to is called pelham. These of course are machines on my internal
> network.
>
> The first method I tried was "Launch slave agents on Unix machines via
> SSH".
>
> It looks like the master can connect to the slave via ssh but then I get
> the following (excerpted; full stack traces at end of message):
>
> java.io.IOException: Remote call on pelham failed
>
> ...
>
> Caused by: java.lang.InternalError: Can't connect to window server - not 
> enough permissions.
>
>
> Then I tried "Launch slave agents via Java Web Start"
>
> And on the slave I navigated to 
> http://dhcp151178:8080/computer/pelham/slave-agent.jnlp
>
> This gave me:
>
>
> java.lang.Exception: The server rejected the connection: Unauthorized access
>
> at hudson.remoting.Engine.onConnectionRejected(Engine.java:257)
>
> at hudson.remoting.Engine.run(Engine.java:232)
>
>
> Also, based on the following post:
>
> http://stackoverflow.com/questions/11824486/setting-up-a-hudson-slave-on-windows-xp
>
>
> I tried downloading the jnlp file from the URL above, replacing all instances 
> of 'localhost' with 'dhcp151178' and launching the jnlp with javaws, this 
> either gives me no console output at all (but the slave agent gui says 
> Terminated) or it says:
>
>
> ...
>
> Exception in thread "main" java.lang.InternalError: Can't connect to window 
> server - not enough permissions.
>
>
> I tried starting in headless mode, both as jenkins and as my regular admin 
> user. I did this on the slave:
>
>
> java -jar slave.jar -jnlpUrl 
> http://dhcp151178:8080/computer/pelham/slave-agent.jnlp
> Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener 
> INFO: Jenkins agent is running in headless mode.
> Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener status
> INFO: Locating server among [http://localhost:8080/, http://dhcp151178:8080/]
> Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener status
> INFO: Connecting to localhost:49161
> Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener status
> INFO: Handshaking
> Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener error
> SEVERE: The server rejected the connection: Unauthorized access
> java.lang.Exception: The server rejected the connection: Unauthorized access
>   at hudson.remoting.Engine.onConnectionRejected(Engine.java:257)
>   at hudson.remoting.Engine.run(Engine.java:232)
>
>
> There is no security set up on the master, so I'm not sure what the 
> unauthorized access is about, and there is no -auth username:password that I 
> can add to that command line.
>
>
> I'm not sure how to set up "Launch slave via execution of command on the 
> Master" because I can't find much documentation for that.
>
>
> So I'm stuck. I was able to set up a windows slave so I know that it is 
> possible. But the Mac slave does not want to start. Can you help?
>
>
> Thanks,
>
> Dan
>
>
> Addenda: full stack trace from trying to launch slave agents on the master 
> using ssh:
>
>
> 04/30/13 17:23:29] [SSH] Opening SSH connection to pelham:22.
> [04/30/13 17:23:29] [SSH] Authentication successful.
> [04/30/13 17:23:29] [SSH] The remote users environment is:
> BASH=/bin/bash
> BASH_ARGC=()
> BASH_ARGV=()
> BASH_EXECUTION_STRING=set
> BASH_LINENO=()
> BASH_SOURCE=()
> BASH_VERSINFO=([0]="3" [1]="2" [2]="48" [3]="1" [4]="release" 
> [5]="x86_64-apple-darwin10.0")
> BASH_VERSION='3.2.48(1)-release'
> DIRSTACK=()
> EUID=216
> GROUPS=()
> HOME=/Users/Shared/Jenkins
> HOSTNAME=pelham.fhcrc.org
> HOSTTYPE=x86_64
> IFS=$' \t\n'
> LOGNAME=jenkins
> MACHTYPE=x86_64-apple-darwin10.0
> MAIL=/var/mail/jenkins
> OPTERR=1
> OPTIND=1
> OSTYPE=darwin10.0
> PATH=/usr/bin:/bin:/usr/sbin:/sbin
> PPID=545
> PS4='+ '
> PWD=/Users/Shared/Jenkins
> SHELL=/bin/bash
> SHELLOPTS=braceexpand:hashall:interactive-comments
> SHLVL=1
> SSH_CLIENT='140.107.151.178 56267 22'
> SSH_CONNECTION='140.107.151.178 56267 140.107.150.101 22'
> TERM=dumb
> UID=216
> USER=jenkins
> _=bash
> [04/30/13 17:23:29] [SSH] Checking java version of java
> [04/30/13 17:23:29] [SSH] java -version returned 1.6.0_45.
> [04/30/13 17:23:29] [SSH] Starting sftp client.
> [04/30/13 17:23:29] [SSH] Copying latest slave.jar...
> [04/30/13 17:23:29] [SSH] Copied 284,251 bytes.
> Expanded the channel window size to 4MB
> [04/30/13 17:23:29] [SSH] Starting slave process: cd 
> '/Users/Shared/Jenkins/master' && java  -jar slave.jar
> <===[JENKINS REMO

difficulty connecting to Mac slave

2013-04-30 Thread Dan Tenenbaum
Hi all,

I have tried a number of methods to connect to a Mac slave and have had no 
success.

My master is also a mac and it's called dhcp151178. The slave I'm trying to 
connect to is called pelham. These of course are machines on my internal 
network. 

The first method I tried was "Launch slave agents on Unix machines via SSH".

It looks like the master can connect to the slave via ssh but then I get 
the following (excerpted; full stack traces at end of message):

java.io.IOException: Remote call on pelham failed

...

Caused by: java.lang.InternalError: Can't connect to window server - not enough 
permissions.


Then I tried "Launch slave agents via Java Web Start"

And on the slave I navigated to 
http://dhcp151178:8080/computer/pelham/slave-agent.jnlp

This gave me:


java.lang.Exception: The server rejected the connection: Unauthorized access

at hudson.remoting.Engine.onConnectionRejected(Engine.java:257)

at hudson.remoting.Engine.run(Engine.java:232)


Also, based on the following post:

http://stackoverflow.com/questions/11824486/setting-up-a-hudson-slave-on-windows-xp


I tried downloading the jnlp file from the URL above, replacing all instances 
of 'localhost' with 'dhcp151178' and launching the jnlp with javaws, this 
either gives me no console output at all (but the slave agent gui says 
Terminated) or it says:


...

Exception in thread "main" java.lang.InternalError: Can't connect to window 
server - not enough permissions.


I tried starting in headless mode, both as jenkins and as my regular admin 
user. I did this on the slave:


java -jar slave.jar -jnlpUrl 
http://dhcp151178:8080/computer/pelham/slave-agent.jnlp
Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener 
INFO: Jenkins agent is running in headless mode.
Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://localhost:8080/, http://dhcp151178:8080/]
Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to localhost:49161
Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
Apr 30, 2013 5:19:02 PM hudson.remoting.jnlp.Main$CuiListener error
SEVERE: The server rejected the connection: Unauthorized access
java.lang.Exception: The server rejected the connection: Unauthorized access
at hudson.remoting.Engine.onConnectionRejected(Engine.java:257)
at hudson.remoting.Engine.run(Engine.java:232)


There is no security set up on the master, so I'm not sure what the 
unauthorized access is about, and there is no -auth username:password that I 
can add to that command line.


I'm not sure how to set up "Launch slave via execution of command on the 
Master" because I can't find much documentation for that. 


So I'm stuck. I was able to set up a windows slave so I know that it is 
possible. But the Mac slave does not want to start. Can you help?


Thanks,

Dan


Addenda: full stack trace from trying to launch slave agents on the master 
using ssh:


04/30/13 17:23:29] [SSH] Opening SSH connection to pelham:22.
[04/30/13 17:23:29] [SSH] Authentication successful.
[04/30/13 17:23:29] [SSH] The remote users environment is:
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_EXECUTION_STRING=set
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="2" [2]="48" [3]="1" [4]="release" 
[5]="x86_64-apple-darwin10.0")
BASH_VERSION='3.2.48(1)-release'
DIRSTACK=()
EUID=216
GROUPS=()
HOME=/Users/Shared/Jenkins
HOSTNAME=pelham.fhcrc.org
HOSTTYPE=x86_64
IFS=$' \t\n'
LOGNAME=jenkins
MACHTYPE=x86_64-apple-darwin10.0
MAIL=/var/mail/jenkins
OPTERR=1
OPTIND=1
OSTYPE=darwin10.0
PATH=/usr/bin:/bin:/usr/sbin:/sbin
PPID=545
PS4='+ '
PWD=/Users/Shared/Jenkins
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
SSH_CLIENT='140.107.151.178 56267 22'
SSH_CONNECTION='140.107.151.178 56267 140.107.150.101 22'
TERM=dumb
UID=216
USER=jenkins
_=bash
[04/30/13 17:23:29] [SSH] Checking java version of java
[04/30/13 17:23:29] [SSH] java -version returned 1.6.0_45.
[04/30/13 17:23:29] [SSH] Starting sftp client.
[04/30/13 17:23:29] [SSH] Copying latest slave.jar...
[04/30/13 17:23:29] [SSH] Copied 284,251 bytes.
Expanded the channel window size to 4MB
[04/30/13 17:23:29] [SSH] Starting slave process: cd 
'/Users/Shared/Jenkins/master' && java  -jar slave.jar
<===[JENKINS REMOTING CAPACITY]===>channel started
Slave.jar version: 2.23
This is a Unix slave
Copied maven-agent.jar
Copied maven3-agent.jar
Copied maven3-interceptor.jar
Copied maven-interceptor.jar
Copied maven2.1-interceptor.jar
Copied plexus-classworld.jar
Copied classworlds.jar
Evacuated stdout
Tue Apr 30 17:23:31 pelham.fhcrc.org java[551] : kCGErrorFailure: Set a 
breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
java.io.IOException: Remote call on pelham failed
at hudson.remoting.Channel.call(Channel.java:681)
at 
org.jenkinsci.modules.slave_installer.impl.ComputerListenerImpl.onOnline(ComputerListenerImpl.java:32)
a

Jenkins windows slave - How do I catch windows batch file errors

2013-04-30 Thread rakhee Kulkarni
All,

I have build running on a windows slave which gets launched by a windows 
batch file. if the builds fail I do not see Jenkins catching the error. 
Please advise.

Thanks,
Rakhee

-- 
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: AW: Proxy authentication

2013-04-30 Thread CLOSE Dave
I asked:

> Searching around on the Net, I find many people who have had trouble
> getting a headless Eclipse/Buckminster build to work when the
> builder is located behind a proxy that requires authentication. But I
> haven't found any real solutions. I'd really like to see a
> step-by-step guide.
>
> Most suggestions involve running Eclipse to set the
> username/password. If I have to, I might be able to do that, but we
> don't actually run Eclipse on the builder box at this time. In fact,
> no one actually sits at that box; access is via SSH.
>
> I can easily put the correct proxy server name and port into
> /var/lib/jenkins/tools/hudson.plugins.buckminster.BuckminsterInstallation/Buckminster/director/configuration/.settings/org.eclipse.core.net.prefs.
>But no one suggests putting the user/password there, though I'd be
> happy to do so. Instead, I see hints that Eclipse wants this
> information to go into some sort of keyring. If true, then I'd like
> to see a way to do that without using Eclipse itself.
>
> If I have to set this up using Eclipse, then a few additional
> questions arise. Which user, Jenkins? Where should the project files
> be located? (Maybe its obvious but I'm not actually an Eclipse user
> and I'd prefer not to have to become one to make this work.)

Wolfgang Hauser answered:

> perhaps a look at cntlm helps here, using cntlm you be able to setup
> a local authentificating proxy that could be accessed from local
> machine w/o user/passwd. Additionaly you are able to use it as an
> proxy for other machines too. But this probaly kills security on the
> corporate network.

Thanks for the idea. cntlm won't help me because the proxy doesn't use 
NTLM authentication. But the idea of using another proxy to add the 
credentials might be a breakthrough.

Unfortunately, I haven't yet found a light-weight proxy that seems to 
work properly with the upstream proxy. (And I haven't tried squid, 
fearing the time sink that might involve.) Resolving that issue isn't a 
proper subject for this forum so I'll take it elsewhere. But in the 
interim, I'd still like to see a solution for Eclipse/Buckminster 
directly, if anyone can offer one.
-- 
Dave Close

I don't send HTML email and I prefer not to receive it.
HTML email is ugly and a significant security exposure.

-- 
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.




Can I fail builds if Sonar code coverage/violations don't meet threshold?

2013-04-30 Thread Jeff
We use Maven and have enabled the Sonar Jenkins plugin.  Is there a way to
fail a build based on the results of the Sonar run?

-- 
Jeff Vincent
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBox  !!

-- 
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.




Deploy to Nexus

2013-04-30 Thread Kris
Hi, I would like to deploy my artifacts to a Nexus server. 

On Nexus I have create to repositories. 

a snapshot and a release. 

In Jenkins under : Deploy artifacts to a Maven repository
I setup repository URL and repository ID 

But how can I choose the snapshot repo or the release repo ??? 

I would like the snapshot versions to of cause go in snapshot repo, and 
release in release repo
Thanks

-- 
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: Running Slow VS Fast TEsts in Jenkins

2013-04-30 Thread Kamal Ahmed


P.S

One thing i left out:

I am sure Jenkin users  have come across this pattern, so if there is a plugin, 
or any other way to segregate and run these tests, they would have some 
experience of it and how they resolved it.

Hope this is clear now.



>
> From: Kamal Ahmed 
>To: "jenkinsci-users@googlegroups.com"  
>Sent: Tuesday, April 30, 2013 3:14 PM
>Subject: Re: Running Slow VS Fast TEsts in Jenkins
> 
>
>
>ok let me try to explain further.
>
>
>I have a set of unit tests , lets say 3000. 
>
>Some of the tests have setup() and teardown() , and takes them ( 5 minutes 
>approx ) to run.
>Now i want to run all these tests in jenkins , so i can collect and report on 
>results.
>
>
>SInce it takes more then 2 hours, or so to run, i want to segregate these 
>tests, so i have individual tests that run under 5 seconds go in one batch, 
>versus those individual tests that take more than 30 seconds, go to another 
>job in the pipeline.
>
>
>so we dont have to wait for ALL tests, to finish,a nd THEN get the results.
>
>
>In Java / JUnit, we have something like:
>
>
>@Test ( groups = {"integration-tests"})
>
>
>is there something in Prove ? or TAP ? or anything else in Perl, that i can 
>use annotations to separate slow tests, from fast tests.
>
>
>I hope its a bit more clear now.
>
>
>Thanks,
>-Kamal.
>
>
>
>
>>
>> From: Adam PAPAI 
>>To: jenkinsci-users@googlegroups.com 
>>Sent: Tuesday, April 30, 2013 2:48 PM
>>Subject: Re: Running Slow VS Fast TEsts in Jenkins
>> 
>>
>>
>>Can you a bit more 
detailed? What is the question? What do you mean "how to run slow unit 
tests"?
>>
>>You should run them just like the fast ones. How would you like to 
separate them? Why is it a question?
>>
>>
>>Kamal Ahmed
>>>April 30, 2013 
6:28 PM
>>>Hi,
>>>What is the best way to 
run slow unit tests, as compared to the ones that take longer to run.
>>>Keeping in mind that my Application is Perl based. and i am using maven to 
>>>run 
the tests.
>>>
>>>
>>>Thanks,
>>>-Kamal.
>>>
-- 
>>>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.
>>> 
>>> 
>>>
>>
>>-- 
>>Adam PAPAI
>>E-mail: w...@wooh.hu
>>Phone: +3630 3355735
>>Web: http://www.wooh.hu
>>
>>
-- 
>>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.
>> 
>> 
>>
>>
>>
-- 
>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.
> 
> 
>
>
>

-- 
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: Using all agents available

2013-04-30 Thread Hari Kodungallur
Thank you much Scott.
I don't quite understand it fully -- expected as I don't understand the
Jenkins terminology yet. Let me try out whatever you mentioned and I will
send updates / follow up questions after that.

Thanks,
-Hari





On Tue, Apr 30, 2013 at 11:45 AM, Scott Evans  wrote:

> Just put a label on the agents and assign both the build and test jobs to
> that label and it should work just as you expect.  Note that unless you use
> a matrix configuration, a job will only use one agent at a time, so you'd
> want to look into matrix jobs if you have several sets of tests you want to
> run against a single job configuration.
>
>
> On Tue, Apr 30, 2013 at 12:51 PM, Hari Kodungallur  > wrote:
>
>> Hello,
>>
>> I am a new Jenkins user. I am looking through tools that have a support
>> for the following functionality or similar.
>>
>> I want to configure a pool of agents that can either do builds or tests.
>> But when a particular type of test comes in, I would like to use all
>> available agents and kick off tests on them.
>>
>> Suppose I have 5 agents in the pool. They are just waiting for jobs --
>> builds or tests. Let us say two of them get busy doing builds. And at this
>> time I kick off my test. It should detect that three of the agents are idle
>> and kick off tests on the three agents. At a later time, possibly all 5
>> agents are idle and I want the test to be kicked off on all 5 of them.
>>
>> I am wondering if there a feature or a plugin in Jenkins that can
>> accomplish this task.
>>
>> Thank you much.
>> -Hari
>>
>> --
>> 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.
>>
>>
>>
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/OlYAG-zu4dg/unsubscribe?hl=en
> .
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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: Running Slow VS Fast TEsts in Jenkins

2013-04-30 Thread Kamal Ahmed
ok let me try to explain further.

I have a set of unit tests , lets say 3000. 

Some of the tests have setup() and teardown() , and takes them ( 5 minutes 
approx ) to run.
Now i want to run all these tests in jenkins , so i can collect and report on 
results.

SInce it takes more then 2 hours, or so to run, i want to segregate these 
tests, so i have individual tests that run under 5 seconds go in one batch, 
versus those individual tests that take more than 30 seconds, go to another job 
in the pipeline.

so we dont have to wait for ALL tests, to finish,a nd THEN get the results.

In Java / JUnit, we have something like:

@Test ( groups = {"integration-tests"})

is there something in Prove ? or TAP ? or anything else in Perl, that i can use 
annotations to separate slow tests, from fast tests.

I hope its a bit more clear now.

Thanks,
-Kamal.




>
> From: Adam PAPAI 
>To: jenkinsci-users@googlegroups.com 
>Sent: Tuesday, April 30, 2013 2:48 PM
>Subject: Re: Running Slow VS Fast TEsts in Jenkins
> 
>
>
>Can you a bit more 
detailed? What is the question? What do you mean "how to run slow unit 
tests"?
>
>You should run them just like the fast ones. How would you like to 
separate them? Why is it a question?
>
>
>Kamal Ahmed
>>April 30, 2013 
6:28 PM
>>Hi,
>>What is the best way to 
run slow unit tests, as compared to the ones that take longer to run.
>>Keeping in mind that my Application is Perl based. and i am using maven to 
>>run 
the tests.
>>
>>
>>Thanks,
>>-Kamal.
>>
-- 
>>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.
>> 
>> 
>>
>
>-- 
>Adam PAPAI
>E-mail: w...@wooh.hu
>Phone: +3630 3355735
>Web: http://www.wooh.hu
>
>
-- 
>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.
> 
> 
>
>
>

-- 
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: Running Slow VS Fast TEsts in Jenkins

2013-04-30 Thread Adam PAPAI
Can you a bit more 
detailed? What is the question? What do you mean "how to run slow unit 
tests"?

You should run them just like the fast ones. How would you like to 
separate them? Why is it a question?


   	   
   	Kamal Ahmed  
  April 30, 2013 
6:28 PM
  Hi,What is the best way to 
run slow unit tests, as compared to the ones that take longer to run.Keeping
 in mind that my Application is Perl based. and i am using maven to run 
the tests.Thanks,-Kamal.

-- 
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.
 
 

  


-- Adam PAPAI

E-mail: w...@wooh.hu
Phone: +3630 3355735

Web: http://www.wooh.hu







-- 
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: Using all agents available

2013-04-30 Thread Scott Evans
Just put a label on the agents and assign both the build and test jobs to
that label and it should work just as you expect.  Note that unless you use
a matrix configuration, a job will only use one agent at a time, so you'd
want to look into matrix jobs if you have several sets of tests you want to
run against a single job configuration.


On Tue, Apr 30, 2013 at 12:51 PM, Hari Kodungallur
wrote:

> Hello,
>
> I am a new Jenkins user. I am looking through tools that have a support
> for the following functionality or similar.
>
> I want to configure a pool of agents that can either do builds or tests.
> But when a particular type of test comes in, I would like to use all
> available agents and kick off tests on them.
>
> Suppose I have 5 agents in the pool. They are just waiting for jobs --
> builds or tests. Let us say two of them get busy doing builds. And at this
> time I kick off my test. It should detect that three of the agents are idle
> and kick off tests on the three agents. At a later time, possibly all 5
> agents are idle and I want the test to be kicked off on all 5 of them.
>
> I am wondering if there a feature or a plugin in Jenkins that can
> accomplish this task.
>
> Thank you much.
> -Hari
>
> --
> 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.
>
>
>

-- 
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.




Using all agents available

2013-04-30 Thread Hari Kodungallur
Hello,

I am a new Jenkins user. I am looking through tools that have a support for 
the following functionality or similar.

I want to configure a pool of agents that can either do builds or tests. 
But when a particular type of test comes in, I would like to use all 
available agents and kick off tests on them. 

Suppose I have 5 agents in the pool. They are just waiting for jobs -- 
builds or tests. Let us say two of them get busy doing builds. And at this 
time I kick off my test. It should detect that three of the agents are idle 
and kick off tests on the three agents. At a later time, possibly all 5 
agents are idle and I want the test to be kicked off on all 5 of them. 

I am wondering if there a feature or a plugin in Jenkins that can 
accomplish this task. 

Thank you much.
-Hari

-- 
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: Changelog for LTS versions?

2013-04-30 Thread Les Mikesell
On Tue, Apr 30, 2013 at 11:15 AM, James Nord (jnord)  wrote:
>
> The LTS changelog is at
> http://jenkins-ci.org/changelog-stable
>
> any backports from later mainline versions mentioned for the first (.1) 
> release.
>

Thanks!   Any idea when a release might include the fix in issue 15466?

--
   Les Mikesell
 lesmikes...@gmail.com

-- 
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.




Running Slow VS Fast TEsts in Jenkins

2013-04-30 Thread Kamal Ahmed
Hi,
What is the best way to run slow unit tests, as compared to the ones that take 
longer to run.
Keeping in mind that my Application is Perl based. and i am using maven to run 
the tests.

Thanks,
-Kamal.

-- 
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: Changelog for LTS versions?

2013-04-30 Thread James Nord (jnord)
Hi Les,

The LTS changelog is at 
http://jenkins-ci.org/changelog-stable

any backports from later mainline versions mentioned for the first (.1) release.

Regards,

/James

> -Original Message-
> From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-
> us...@googlegroups.com] On Behalf Of Les Mikesell
> Sent: 30 April 2013 16:16
> To: jenkinsci-users
> Subject: Changelog for LTS versions?
> 
> What is the best way to track the changes in the LTS releases?   I'm
> seeing the problem where workspace files can't be deleted:
> https://issues.jenkins-ci.org/browse/JENKINS-15466
> but don't know how to tell when/if the change happened for LTS versions.
> 
> Also, I recall being surprised when a security-related fix announced for a 
> later
> non-LTS release appeared in an earlier-numberd LTS version.  Is there a
> separate changelog that shows the different changes going into the LTS
> versions?
> 
> --
>Les Mikesell
>  lesmikes...@gmail.com
> 
> --
> 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.
> 

-- 
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.




Changelog for LTS versions?

2013-04-30 Thread Les Mikesell
What is the best way to track the changes in the LTS releases?   I'm
seeing the problem where workspace files can't be deleted:
https://issues.jenkins-ci.org/browse/JENKINS-15466
but don't know how to tell when/if the change happened for LTS versions.

Also, I recall being surprised when a security-related fix announced
for a later non-LTS release appeared in an earlier-numberd LTS
version.  Is there a separate changelog that shows the different
changes going into the LTS versions?

--
   Les Mikesell
 lesmikes...@gmail.com

-- 
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: [M2Release] MAVEN RELEASE - SVN 403 Forbidden

2013-04-30 Thread James Nord (jnord)
The only difference I see between what is working on my environment is the 
servers used to copy from and to are different.

One will come from where Jenkins has checked out from, the other will come from 
your pom.

Although "mydomain" and 192.168.30.48 are very possibly the same machine you 
could try changing Jenkins/pom.xml so they are both identical.
(I recommend using the fully qualified domain name)

Other than that - I am not an expert on WebDAV and don't know if not hading 
access at the root of the repo would/should/could block that user being able to 
create the tag.

/James

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Angelo Scaldaferri
Sent: 30 April 2013 13:12
To: jenkinsci-users@googlegroups.com
Subject: Re: [M2Release] MAVEN RELEASE - SVN 403 Forbidden

I understand what you mean, but in my configuration I've already specified the 
user and password that have to be passed to the maven release plugin, in fact 
these are visible in the log file, as you can see:

[LOG]
Executing Maven:  -B -f /opt/...thepath.../pom.xml 
-DdevelopmentVersion=1.2.31-SNAPSHOT -DreleaseVersion=1.2.30 
-Dusername=myusername -Dpassword=* 
-DscmCommentPrefix=[maven-release-plugin] -Dtag=1.2.30 -Dresume=false 
release:prepare release:perform
[/LOG]

I suspect that Jenkins try to reach the root of the svn folder in the 
release:prepare phase with the user that I've specified, but this user can see 
only the leaf of the project and not the root of the company's svn...

svn --username myusername --password '*' --no-auth-cache --non-interactive 
copy --file /tmp/maven-scm-1426693027.commit --revision 26982 
http://mydomain/svn/svnroot/myproject/trunk 
http://192.168.30.48/svn/svnroot/myproject/tag/1.2.30

>> in response to PROPFIND request for '[root_dir_svn]'


Regards
Angelo

Il giorno lunedì 29 aprile 2013 22:56:56 UTC+2, teilo ha scritto:
The release process will use the authentication available to the subversion 
command line client when run as the user that Jenkins runs as on the slave.

If you have not told the release plugin otherwise it won't pass a user to the 
svn client either, so if Jenkins is running as root it will try and create the 
tag as the root user.

It sounds like you need to use a user other than root and if you don't want to 
have to specify a username/password eachtime then you can add -Dusername=myuser 
to the real ease goals and put the password for this used in the subversion 
credential cache (this is not the Jenkins svn credential store)
--
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.


-- 
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: Questions on Jenkin

2013-04-30 Thread Mandeville, Rob
The high level requirements you are giving (compare record counts, run two SQL 
commands and compare the results, compare test results from static values) are 
requirements for a test harness, not a continuous integration server.  If you 
don't have a test harness, Jenkins cannot help you.  If you have a test 
harness, Jenkins can run it for you whenever somebody checks a change in to 
your source control.

If you have:
1: A source control system supported by Jenkins
2: A command-line build process to create your program (I believe they're 
called "Graphs" in Ab Initio)
3: A command-line test harness that Jenkins understands (there are plugins for 
several, and the Build Log Parser plugin can be used to read results like "TEST 
PASSED" and "TEST FAILED")

Then a release engineer can make something demoable in a matter of days, not 
weeks.  Basically, they'll be able to get Jenkins to poll the source control 
system every n minutes, and when something changes, it can check out your code, 
run your command-line-based build procedure and then your test harness.

If you're asking for a tool that will compare record counts, expected vs. 
actual results, or SQL validation, you need a test harness, and Jenkins is not 
a test harness.  Jenkins runs test harnesses for a living, but you need such a 
harness first.

--Rob

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of avineet gupta
Sent: Tuesday, April 30, 2013 6:27 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Questions on Jenkin

Just to elaborate in details:
1.I need to understand how much effort is required for the initial setup so 
that we can map it to cost figures. For example, if we need 2 Java developers 
and 1 System admin working for a month to set the tool up, we know we are 
talking about 3 FTEs worth of effort which we can convert to cost figures 
easily.
2.These are the high level requirement.We want our tool should help us to 
execute the below scenerio's example:
Compare input and output record counts
Compare input values and output values
Validates transformations
Compares checksums created against the input and output (e.g. The sum of input 
column 1 = sum of output column 1)
 Compare input with a filter record count with output record count
 Supports files and tables as either the input or output (File to Table, Table 
to Table, Table to File)
 Supports the validation of a test against a static value, e.g. Sum of column 1 
= value x
Supports embedded SQL to use for the validation routine, e.g. Output of SQL 1 
is equal to the output of SQL 2 or Output of SQL 1 is equal to this expected 
value




Compares checksums created against the input and output

Compare input with a filter record count with output record count

Supports files and tables as either the input or output (File to Table, Table 
to Table, Table to File)

Supports the validation of a test against a static value, e.g. Sum of column 1 
= value x

Supports embedded SQL to use for the validation routine



On Tue, Apr 30, 2013 at 3:25 PM, avineet gupta 
mailto:avineet.gupt...@gmail.com>> wrote:
Thanks a lot Rob.It helps a lot.Just have few questions
1.What would be skills set required and effort required to implement the tool.
2.Does it supports embedded SQL to use for the validation routine

On Fri, Apr 26, 2013 at 4:35 PM, Mandeville, Rob 
mailto:rmandevi...@litle.com>> wrote:
Do you mean Ab Intio?  BTW, it's Jenkins, not Jenkin.

The procurement cost of Jenkins is zero.  Just go to http://www.jenkins-ci.org 
and download.  Cloudbees will sell you an enterprise edition with extra plugins 
and a support contract, or sell you a service where you run Jenkins on their 
cloud.  I'd start with the free copy to see if it even meets your needs, then 
consider the possibility of going to Cloudbees (Truth in advertising: my 
company just bought their enterprise edition for the support contract).

I have found nothing that specifically connects Jenkins to Ab Inito, Jenkins 
can run with a bunch of different tools because it supports running tasks as 
Windows batch scripts or Unix shell scripts.  This is how it connects to all 
but a few general development tools.

While Jenkins is useful for automating running of tests, I don't think that it 
directly supports the sorts of tests that you show below.  There are plugins to 
read *Unit style logs, or to read certain patterns (such as "TEST PASSED" or 
"TEST FAILED") as pass/fail criteria, but doesn't have the logic to compare 
results.  Basically, you would have to write the tests yourself, generate 
simple pass-or-fail strings, and have Jenkins parse the logs for those 
pass-or-fail strings.  The nice thing about Jenkins is that it will do so 
unattended, either on a schedule or whenever you submit a change to your source 
control system.

--Rob

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com

Re: [M2Release] MAVEN RELEASE - SVN 403 Forbidden

2013-04-30 Thread Angelo Scaldaferri
I understand what you mean, but in my configuration I've already specified 
the user and password that have to be passed to the maven release plugin, 
in fact these are visible in the log file, as you can see:

[LOG]
Executing Maven:  -B -f /opt/...thepath.../pom.xml 
-DdevelopmentVersion=1.2.31-SNAPSHOT -DreleaseVersion=1.2.30 
-Dusername=myusername -Dpassword=* 
-DscmCommentPrefix=[maven-release-plugin] -Dtag=1.2.30 -Dresume=false 
release:prepare release:perform
[/LOG]

I suspect that Jenkins try to reach the root of the svn folder in the 
release:prepare phase with the user that I've specified, but this user can 
see only the leaf of the project and not the root of the company's svn...

svn --username myusername --password '*' --no-auth-cache 
--non-interactive copy --file /tmp/maven-scm-1426693027.commit --revision 
26982 http://mydomain/svn/svnroot/myproject/trunk 
http://192.168.30.48/svn/svnroot/myproject/tag/1.2.30

>> in response to PROPFIND request for '[root_dir_svn]'
 

Regards
Angelo

Il giorno lunedì 29 aprile 2013 22:56:56 UTC+2, teilo ha scritto:
>
> The release process will use the authentication available to the 
> subversion command line client when run as the user that Jenkins runs as on 
> the slave.
>
> If you have not told the release plugin otherwise it won't pass a user to 
> the svn client either, so if Jenkins is running as root it will try and 
> create the tag as the root user.
>
> It sounds like you need to use a user other than root and if you don't 
> want to have to specify a username/password eachtime then you can add 
> -Dusername=myuser to the real ease goals and put the password for this used 
> in the subversion credential cache (this is not the Jenkins svn credential 
> store)
>
>

-- 
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: Questions on Jenkin

2013-04-30 Thread avineet gupta
Just to elaborate in details:
1.I need to understand how much effort is required for the initial setup so
that we can map it to cost figures. For example, if we need 2 Java
developers and 1 System admin working for a month to set the tool up, we
know we are talking about 3 FTEs worth of effort which we can convert to
cost figures easily.

2.These are the high level requirement.We want our tool should help us to
execute the below scenerio's example:
 Compare input and output record counts
Compare input values and output values
Validates transformations
Compares checksums created against the input and output (e.g. The sum of
input column 1 = sum of output column 1)
 Compare input with a filter record count with output record count
 Supports files and tables as either the input or output (File to Table,
Table to Table, Table to File)
 Supports the validation of a test against a static value, e.g. Sum of
column 1 = value x
Supports embedded SQL to use for the validation routine, e.g. Output of SQL
1 is equal to the output of SQL 2 or Output of SQL 1 is equal to this
expected value



 Compares checksums created against the input and output   Compare input
with a filter record count with output record count  Supports files and
tables as either the input or output (File to Table, Table to Table, Table
to File)  Supports the validation of a test against a static value, e.g.
Sum of column 1 = value x  Supports embedded SQL to use for the validation
routine


On Tue, Apr 30, 2013 at 3:25 PM, avineet gupta wrote:

> Thanks a lot Rob.It helps a lot.Just have few questions
> 1.What would be skills set required and effort required to implement the
> tool.
> 2.Does it supports embedded SQL to use for the validation routine
>
>
> On Fri, Apr 26, 2013 at 4:35 PM, Mandeville, Rob wrote:
>
>>  Do you mean Ab Intio?  BTW, it’s Jenkins, not Jenkin.
>>
>> ** **
>>
>> The procurement cost of Jenkins is zero.  Just go to
>> http://www.jenkins-ci.org and download.  Cloudbees will sell you an
>> enterprise edition with extra plugins and a support contract, or sell you a
>> service where you run Jenkins on their cloud.  I’d start with the free copy
>> to see if it even meets your needs, then consider the possibility of going
>> to Cloudbees (Truth in advertising: my company just bought their enterprise
>> edition for the support contract).
>>
>> ** **
>>
>> I have found nothing that specifically connects Jenkins to Ab Inito,
>> Jenkins can run with a bunch of different tools because it supports running
>> tasks as Windows batch scripts or Unix shell scripts.  This is how it
>> connects to all but a few general development tools.
>>
>> ** **
>>
>> While Jenkins is useful for automating running of tests, I don’t think
>> that it directly supports the sorts of tests that you show below.  There
>> are plugins to read *Unit style logs, or to read certain patterns (such as
>> “TEST PASSED” or “TEST FAILED”) as pass/fail criteria, but doesn’t have the
>> logic to compare results.  Basically, you would have to write the tests
>> yourself, generate simple pass-or-fail strings, and have Jenkins parse the
>> logs for those pass-or-fail strings.  The nice thing about Jenkins is that
>> it will do so unattended, either on a schedule or whenever you submit a
>> change to your source control system.
>>
>> ** **
>>
>> --Rob
>>
>> ** **
>>
>> *From:* jenkinsci-users@googlegroups.com [mailto:
>> jenkinsci-users@googlegroups.com] *On Behalf Of *avineet
>> *Sent:* Friday, April 26, 2013 6:05 AM
>> *To:* jenkinsci-users@googlegroups.com
>> *Subject:* Questions on Jenkin
>>
>> ** **
>>
>> Hi,
>>
>> We wanted to implement Jenkin in our project which require some kind of
>> automation tool which support testing around Abnitio.
>>
>> I have heard that Jenkin works with Abnitio,Could you please confirm me
>> the same.
>> *What would be the Procurement cost of the product.
>> *
>> Also,I drafted few high level cases which we want the tool should
>> support.Could anyone please have a look and let me know if these cases
>> works with Jenkin.
>>
>> Compare input and output record counts
>> Compare input values and output values
>> Validates transformations
>> Compares checksums created against the input and output (e.g. The sum
>> of input column 1 = sum of output column 1)
>> Compare input with a filter record count with output record count
>> Supports files and tables as either the input or output (File to
>> Table, Table to Table, Table to File)
>> Supports the validation of a test against a static value, e.g. Sum of
>> column 1 = value x
>> Supports embedded SQL to use for the validation routine, e.g. Output
>> of SQL 1 is equal to the output of SQL 2 or Output of SQL 1 is equal to
>> this 
>>
>> --
>> 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 je

Re: Questions on Jenkin

2013-04-30 Thread avineet gupta
Thanks a lot Rob.It helps a lot.Just have few questions
1.What would be skills set required and effort required to implement the
tool.
2.Does it supports embedded SQL to use for the validation routine


On Fri, Apr 26, 2013 at 4:35 PM, Mandeville, Rob wrote:

>  Do you mean Ab Intio?  BTW, it’s Jenkins, not Jenkin.
>
> ** **
>
> The procurement cost of Jenkins is zero.  Just go to
> http://www.jenkins-ci.org and download.  Cloudbees will sell you an
> enterprise edition with extra plugins and a support contract, or sell you a
> service where you run Jenkins on their cloud.  I’d start with the free copy
> to see if it even meets your needs, then consider the possibility of going
> to Cloudbees (Truth in advertising: my company just bought their enterprise
> edition for the support contract).
>
> ** **
>
> I have found nothing that specifically connects Jenkins to Ab Inito,
> Jenkins can run with a bunch of different tools because it supports running
> tasks as Windows batch scripts or Unix shell scripts.  This is how it
> connects to all but a few general development tools.
>
> ** **
>
> While Jenkins is useful for automating running of tests, I don’t think
> that it directly supports the sorts of tests that you show below.  There
> are plugins to read *Unit style logs, or to read certain patterns (such as
> “TEST PASSED” or “TEST FAILED”) as pass/fail criteria, but doesn’t have the
> logic to compare results.  Basically, you would have to write the tests
> yourself, generate simple pass-or-fail strings, and have Jenkins parse the
> logs for those pass-or-fail strings.  The nice thing about Jenkins is that
> it will do so unattended, either on a schedule or whenever you submit a
> change to your source control system.
>
> ** **
>
> --Rob
>
> ** **
>
> *From:* jenkinsci-users@googlegroups.com [mailto:
> jenkinsci-users@googlegroups.com] *On Behalf Of *avineet
> *Sent:* Friday, April 26, 2013 6:05 AM
> *To:* jenkinsci-users@googlegroups.com
> *Subject:* Questions on Jenkin
>
> ** **
>
> Hi,
>
> We wanted to implement Jenkin in our project which require some kind of
> automation tool which support testing around Abnitio.
>
> I have heard that Jenkin works with Abnitio,Could you please confirm me
> the same.
> *What would be the Procurement cost of the product.
> *
> Also,I drafted few high level cases which we want the tool should
> support.Could anyone please have a look and let me know if these cases
> works with Jenkin.
>
> Compare input and output record counts
> Compare input values and output values
> Validates transformations
> Compares checksums created against the input and output (e.g. The sum
> of input column 1 = sum of output column 1)
> Compare input with a filter record count with output record count
> Supports files and tables as either the input or output (File to
> Table, Table to Table, Table to File)
> Supports the validation of a test against a static value, e.g. Sum of
> column 1 = value x
> Supports embedded SQL to use for the validation routine, e.g. Output
> of SQL 1 is equal to the output of SQL 2 or Output of SQL 1 is equal to
> this 
>
> --
> 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.
>
>  
>  The information in this message is for the intended recipient(s) only
> and may be the proprietary and/or confidential property of Litle & Co.,
> LLC, and thus protected from disclosure. If you are not the intended
> recipient(s), or an employee or agent responsible for delivering this
> message to the intended recipient, you are hereby notified that any use,
> dissemination, distribution or copying of this communication is prohibited.
> If you have received this communication in error, please notify Litle & Co.
> immediately by replying to this message and then promptly deleting it and
> your reply permanently from your computer.
>
> --
> 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.
>
>
>



-- 
Thanks and Regards..
Avineet

-- 
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.