Jenkins cli copy command not working

2013-07-29 Thread suresh
Hi, 

I am not able to copy the job from copy-job command 

Explain: 

I created Jenkins user suresh and password suresh 

Below command i tried but did not work 

>java -jar c:\jenkins.jar -s http://localhost:8181/jenkins copy-job project1
project2 --username suresh --password suresh 


Below command also i tried but did not work 

>java -jar c:\jenkins.jar -s http://localhost:8181/jenkins copy-job 
--username suresh --password suresh project1 project2 

Output: 

No such job 'project1' 

java -jar jenkins-cli.jar copy-job args... 
Copies a job. 
 SRC : Name of the job to copy 
 DST : Name of the new job to be created. 
 --username VAL  : User name to authenticate yourself to Jenkins 
 --password VAL  : Password for authentication. Note that passing a 
   password in arguments is insecure. 
 --password-file VAL : File that contains the password 

Note: project1 exists in jenkins dashboard

Please help on this how to resolve

Regards,
Suresh



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Jenkins-cli-copy-command-not-working-tp4675079.html
Sent from the Jenkins users mailing list archive at Nabble.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.




jenkins can't see OpenLDAP's namingContexts, but ldapsearch can

2013-07-29 Thread Trent W. Buck
I'm trying to point jenkins at an fairly bog-standard OpenLDAP RFC2307
user database, but it complains:

30/07/2013 11:49:11 AM hudson.security.LDAPSecurityRealm inferRootDN
WARNING: namingcontexts attribute not found in root DSE of 127.0.0.1

Please help me isolate the fault.

At first I blamed slapd, but I can query the attribute by hand:

# ldapsearch -H ldap://127.0.0.1 -xLLL -b '' -s base namingcontexts
dn:
namingContexts: dc=planetinnovation,dc=com,dc=au

I'm using a http://mirrors.jenkins-ci.org/war/latest/jenkins.war that I
just downloaded and ran, and haven't touched anything else within
jenkins.  It says "ver. 1.525" at the bottom of each page.

All I did was go to Manage > Configure Global Security, tick Enable
Security, tick LDAP, and enter 127.0.0.1 under Server.

Since I'm not using TLS yet, I just took packet dumps of lo port 389.
The first one shows me configuring LDAP and attempting to log in as
foo/bar (not a valid account) which for some reason got "connection
terminated unexpectedly"; the second shows retrying the latter again,
geting redirected to /loginError.

Attempting with a valid LDAP account also fails, but I'm not including a
dump of that.

I am testing with webkitgtk's test browser "GtkLauncher", as at 1.4.3.

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




tmp.pcap
Description: Binary data


tmp2.pcap
Description: Binary data


Re: Windows XP Slave

2013-07-29 Thread Shannon Kerr
I've not had this problem that I remember.  Once I got the slave service 
setup via the web link, I've not seen issues.  I think that I did have 
issues when I let Jenkins setup the service via remote management though. 
 That would have been early on in my Jenkins trials.  The service wouldn't 
consistently start up and went down and I couldn't get it to come back up 
without a VM restart.

For the ssh, I thought about this and thought about using the ssh daemon in 
Cygwin, but I wasn't sure how our existing batch scripts would operate 
running through the ssh daemon, and JNLP was running fine so I didn't 
pursue it.  I guess the batch scripts should be fine, but haven't thought 
it through or tested it.  I do run Cygwin on my WinXP VMs w/ the ssh 
daemon, so I could test it at some point if JNLP starts acting up.

If I test it at some point I'll comment back here.  If you end up running a 
ssh solution, do share your results.

Sorry I'm not more help.


On Monday, July 29, 2013 4:05:44 PM UTC-4, David Gayman wrote:
>
> I tried this procedure including running under the correct user, and it 
> works, but there have been reliability issues. Occasionally the service has 
> failed to start for no apparent reason. This has not happened since I 
> uninstalled (sc delete jenkinsservice-C__jenkins), and re-installed the 
> service.
>
> Have you had similar reliability issues?
>
> The second part of my question is how to configure ssh. I see it as way 
> more reliable, if configured properly. If a user cannot get JNLP to work 
> for some reason, they can't fall back to the ssh option.
>
>
>
>
> On Mon, Jul 29, 2013 at 10:47 AM, Shannon Kerr 
> 
> > wrote:
>
>> I run multiple Windows XP VMs with no issues.  I set them up using "Java 
>> Web Start" and once they are started click on "File" in the pop up window 
>> to enable them as a service on that Windows XP machine (for me they are 
>> VMs).  Once I set them up as a service, I change the account that the 
>> service runs under (I needed this, but you may not) by going to "Services" 
>> on the Win XP VM and restarting the service.  It works great.  Have you 
>> tried this and you are not getting it working?
>>
>>
>>
>> On Sunday, July 28, 2013 8:28:07 PM UTC-4, qbd...@vt.edu wrote:
>>>
>>> I am having a hard time connecting a windows XP slave to a jenkins build 
>>> system. Builds currently take place on linux, unix, and windows 7.
>>>
>>> I successfully installed the JNLP option as a service, as is working for 
>>> windows 7. However it is unreliable, sometimes won't start, and after a day 
>>> or two it disconnects from the system (only xp has this problem).
>>>
>>> ssh to my linux slaves works great! Why can't ssh to windows slave work? 
>>> It seems to be the most reliable. But how can I configure ssh to connect to 
>>> the WINDOWS command prompt, not EMULATED LINUX shell? I am using the cygwin 
>>> ssh server, and there don't seem to be many other free options.
>>>
>>> Alternatively, I've considered how to run a command in cygwin that would 
>>> expose the underlying windows command-line environment, but I don't know 
>>> enough about windows to make "system calls" from within cygwin, much less 
>>> what these calls need to be.
>>>
>>> If I had enough time I would consider writing my own ssh server, 
>>> correctly so none of these issues exist.
>>>
>>  -- 
>> 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/jM-FgGgrBXo/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> jenkinsci-use...@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: Windows XP Slave

2013-07-29 Thread David Gayman
I tried this procedure including running under the correct user, and it
works, but there have been reliability issues. Occasionally the service has
failed to start for no apparent reason. This has not happened since I
uninstalled (sc delete jenkinsservice-C__jenkins), and re-installed the
service.

Have you had similar reliability issues?

The second part of my question is how to configure ssh. I see it as way
more reliable, if configured properly. If a user cannot get JNLP to work
for some reason, they can't fall back to the ssh option.




On Mon, Jul 29, 2013 at 10:47 AM, Shannon Kerr wrote:

> I run multiple Windows XP VMs with no issues.  I set them up using "Java
> Web Start" and once they are started click on "File" in the pop up window
> to enable them as a service on that Windows XP machine (for me they are
> VMs).  Once I set them up as a service, I change the account that the
> service runs under (I needed this, but you may not) by going to "Services"
> on the Win XP VM and restarting the service.  It works great.  Have you
> tried this and you are not getting it working?
>
>
>
> On Sunday, July 28, 2013 8:28:07 PM UTC-4, qbd...@vt.edu wrote:
>>
>> I am having a hard time connecting a windows XP slave to a jenkins build
>> system. Builds currently take place on linux, unix, and windows 7.
>>
>> I successfully installed the JNLP option as a service, as is working for
>> windows 7. However it is unreliable, sometimes won't start, and after a day
>> or two it disconnects from the system (only xp has this problem).
>>
>> ssh to my linux slaves works great! Why can't ssh to windows slave work?
>> It seems to be the most reliable. But how can I configure ssh to connect to
>> the WINDOWS command prompt, not EMULATED LINUX shell? I am using the cygwin
>> ssh server, and there don't seem to be many other free options.
>>
>> Alternatively, I've considered how to run a command in cygwin that would
>> expose the underlying windows command-line environment, but I don't know
>> enough about windows to make "system calls" from within cygwin, much less
>> what these calls need to be.
>>
>> If I had enough time I would consider writing my own ssh server,
>> correctly so none of these issues exist.
>>
>  --
> 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/jM-FgGgrBXo/unsubscribe.
> 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: doesn't look like a JNLP file ?

2013-07-29 Thread Richard Bywater
Have you tried downloading the JNLP file and inspecting its content -
perhaps that might help you in the right direction.

Richard.

On Tuesday, July 30, 2013, wrote:

> --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.comwrote:
>>
>> 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
>>  thesecretfoundonthepageformysl
>> **ave
>>
>> 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  'cvml', 'jenkinsci-users%2bunsubscr...@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: Jenkins Job list empty after JENKINS_HOME was moved

2013-07-29 Thread Eduardo Dias
Hi, I did a similar move las weekend, (the diference is that I donĀ“t have
Tomcat) and my jod disapered.
In my case I only move the jobs directory to a new Jenkins installation
with plugins updated.
Then, I moved the plugins directory and the jobs appered.

Thake a look in plugins versions.

Eduardo


2013/7/29 Thomas Keller 

> Sorry, I forgot, but this is Jenkins 1.524.
>
>
> Am Montag, 29. Juli 2013 18:01:08 UTC+2 schrieb Thomas Keller:
>
>> Hi all!
>>
>> I moved our Jenkins instance from a "java -jar"-based installation to one
>> using Tomcat as servlet container. Jenkins comes up as it should and
>> according to catalina.out it finds its Home directory at the correct place
>> (and all files in the home directory are owned by the tomcat user), still,
>> the jobs are not loaded and apparently other things like installed plugins
>> neither.
>>
>> Is there any way to debug this issue?
>>
>> Thanks in advance,
>> Thomas.
>>
>  --
> 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.
>
>
>



-- 

Atenciosamente,

Eduardo

-- 
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: Jenkins Job list empty after JENKINS_HOME was moved

2013-07-29 Thread Thomas Keller
Sorry, I forgot, but this is Jenkins 1.524.


Am Montag, 29. Juli 2013 18:01:08 UTC+2 schrieb Thomas Keller:
>
> Hi all!
>
> I moved our Jenkins instance from a "java -jar"-based installation to one 
> using Tomcat as servlet container. Jenkins comes up as it should and 
> according to catalina.out it finds its Home directory at the correct place 
> (and all files in the home directory are owned by the tomcat user), still, 
> the jobs are not loaded and apparently other things like installed plugins 
> neither.
>
> Is there any way to debug this issue?
>
> Thanks in advance,
> Thomas.
>

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




Jenkins Job list empty after JENKINS_HOME was moved

2013-07-29 Thread Thomas Keller
Hi all!

I moved our Jenkins instance from a "java -jar"-based installation to one 
using Tomcat as servlet container. Jenkins comes up as it should and 
according to catalina.out it finds its Home directory at the correct place 
(and all files in the home directory are owned by the tomcat user), still, 
the jobs are not loaded and apparently other things like installed plugins 
neither.

Is there any way to debug this issue?

Thanks in advance,
Thomas.

-- 
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: 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: Block upstream parameterized jobs, but don't trigger a new job?

2013-07-29 Thread Daniel Beck
You could also set up slave nodes specific to these jobs and give them only one 
executor each, preventing parallel execution of jobs. I've been using this 
approach for more than two years on a number of systems for preventing parallel 
executions of tools that couldn't handle that.

On 29.07.2013, at 15:48, Andreas Ebbert-Karroum  wrote:

> Hi,
> 
> I am out of ideas at the moment. I am replacing a home-grown build solution, 
> that had the unique capability of only running one job at any given time. The 
> first step is to get rid of that home-grown system, changes and improvements 
> to the build process will surely follow. 
> 
> Since only one build can run at any given time, there are tools, that 
> schedule many parameterized jobs that depend on each other. To compensate for 
> that feature there are three paralell (home-grown) build servers available.
> 
> I have a problem to simulate that with jenkins. I do have parameterized jobs. 
> First I thought that I model the dependencies via up-/downstream projects and 
> just use "Block build when upstream project is building", but this has the 
> effect, that the downstream-project is built twice. First with the correct 
> parameters, triggered by the external tool. The second time, after the 
> upstream project finished.
> 
> So, another solution could be the Locks & Latches plugin, but that either 
> ends up in a) a lock that blocks each and every related job or b) a very 
> difficult lock setup (basically a lock for every library, like lock_library, 
> which is then used in every job that produces or depends on library_foo)
> 
> To end in a specific question: is it possible to block a downstream, 
> parameterized job, while the upstream job is still running, without 
> triggering a new instance of that job?
> 
> Thanks for your help,
> Andreas
> 
> -- 
> 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: Windows XP Slave

2013-07-29 Thread Shannon Kerr
I run multiple Windows XP VMs with no issues.  I set them up using "Java 
Web Start" and once they are started click on "File" in the pop up window 
to enable them as a service on that Windows XP machine (for me they are 
VMs).  Once I set them up as a service, I change the account that the 
service runs under (I needed this, but you may not) by going to "Services" 
on the Win XP VM and restarting the service.  It works great.  Have you 
tried this and you are not getting it working?



On Sunday, July 28, 2013 8:28:07 PM UTC-4, qbd...@vt.edu wrote:
>
> I am having a hard time connecting a windows XP slave to a jenkins build 
> system. Builds currently take place on linux, unix, and windows 7.
>
> I successfully installed the JNLP option as a service, as is working for 
> windows 7. However it is unreliable, sometimes won't start, and after a day 
> or two it disconnects from the system (only xp has this problem).
>
> ssh to my linux slaves works great! Why can't ssh to windows slave work? 
> It seems to be the most reliable. But how can I configure ssh to connect to 
> the WINDOWS command prompt, not EMULATED LINUX shell? I am using the cygwin 
> ssh server, and there don't seem to be many other free options.
>
> Alternatively, I've considered how to run a command in cygwin that would 
> expose the underlying windows command-line environment, but I don't know 
> enough about windows to make "system calls" from within cygwin, much less 
> what these calls need to be.
>
> If I had enough time I would consider writing my own ssh server, correctly 
> so none of these issues exist.
>

-- 
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: Jenkins hangs after tomcat restart

2013-07-29 Thread Arnaud CORNELY
Uploading worked for my colleague

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




Jenkins hangs after tomcat restart

2013-07-29 Thread Arnaud CORNELY
Hi all, I am running Jenkins 1.5.21 but an upgrade to 1.5.24 didn't change 
anything.

Today we stop-started tomcat for an upgrade of Nexus (we have 2 webaps in 
tomcat) and since then Jenkins does not respond to any requests (when 
tomcat is running...)

I am hitting the no http answer type of hang, but Jenkins stills 'take the 
hand' since browsers keeps waiting for an answer, not timeout or not found.

I found this 
posttalking
 about an out-dated library, but I don't think it's useful anymore 
since the library used it the one suggested.

Any suggestion is welcome.

(I'll try attaching the thread dumps in secondary message since it seems I 
have a proxy issue)

-- 
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: Block upstream parameterized jobs, but don't trigger a new job?

2013-07-29 Thread Andreas Ebbert-Karroum
Of course, I found the solution myself shortly after writing to the list,
despite the fact that I played with the problem the whole day...

The solution is
https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin

When you don't check the option to trigger unparameterized builds, and also
don't provide any parameters, it will not trigger a new build, but the
downstream job will still be blocked. Exactly what I needed.

Thanks for listening,
Andreas


2013/7/29 Andreas Ebbert-Karroum 

> Hi,
>
> I am out of ideas at the moment. I am replacing a home-grown build
> solution, that had the unique capability of only running one job at any
> given time. The first step is to get rid of that home-grown system, changes
> and improvements to the build process will surely follow.
>
> Since only one build can run at any given time, there are tools, that
> schedule many parameterized jobs that depend on each other. To compensate
> for that feature there are three paralell (home-grown) build servers
> available.
>
> I have a problem to simulate that with jenkins. I do have parameterized
> jobs. First I thought that I model the dependencies via up-/downstream
> projects and just use "Block build when upstream project is building", but
> this has the effect, that the downstream-project is built twice. First with
> the correct parameters, triggered by the external tool. The second time,
> after the upstream project finished.
>
> So, another solution could be the Locks & Latches plugin, but that either
> ends up in a) a lock that blocks each and every related job or b) a very
> difficult lock setup (basically a lock for every library, like
> lock_library, which is then used in every job that produces or depends on
> library_foo)
>
> To end in a specific question: is it possible to block a downstream,
> parameterized job, while the upstream job is still running, without
> triggering a new instance of that job?
>
> Thanks for your help,
> Andreas
>

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




Block upstream parameterized jobs, but don't trigger a new job?

2013-07-29 Thread Andreas Ebbert-Karroum
Hi,

I am out of ideas at the moment. I am replacing a home-grown build
solution, that had the unique capability of only running one job at any
given time. The first step is to get rid of that home-grown system, changes
and improvements to the build process will surely follow.

Since only one build can run at any given time, there are tools, that
schedule many parameterized jobs that depend on each other. To compensate
for that feature there are three paralell (home-grown) build servers
available.

I have a problem to simulate that with jenkins. I do have parameterized
jobs. First I thought that I model the dependencies via up-/downstream
projects and just use "Block build when upstream project is building", but
this has the effect, that the downstream-project is built twice. First with
the correct parameters, triggered by the external tool. The second time,
after the upstream project finished.

So, another solution could be the Locks & Latches plugin, but that either
ends up in a) a lock that blocks each and every related job or b) a very
difficult lock setup (basically a lock for every library, like
lock_library, which is then used in every job that produces or depends on
library_foo)

To end in a specific question: is it possible to block a downstream,
parameterized job, while the upstream job is still running, without
triggering a new instance of that job?

Thanks for your help,
Andreas

-- 
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 Jenkins and a Raspberry PI to control an extreme feedback device

2013-07-29 Thread Marcel Birkner
I wrote a blog post that explains how to setup a Raspberry PI from scratch 
to control a USB traffic light.

http://blog.codecentric.de/en/2013/07/u ... 
k-devices/

Here is an example what my setup looks like.
[image: Image]

For displaying the status of a software project I was working on with a 
team of developers, I bought a USB traffic light. Depending on the status 
of a Jenkins continuous integration job, the traffic light would change to 
RED, YELLOW or GREEN. 

I wrote a script for controlling the USB traffic light that is connected to 
a Raspberry PI. You can find the project on github: 
https://github.com/marcelbirkner/jenkins-extreme-feedback-devices

Have fun 

-- 
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: [ANN] Beta testing of Git plugin 2.0

2013-07-29 Thread Mark Waite
I've seen inconsistent results from the "Recent Changes" links on my 
various Jenkins jobs which use the Git plugin 2.0 beta.

One of the jobs stopped showing history, even though I know the changes 
were arriving because that job was merging them and pushing the merge 
results to the central repository.  

One of the jobs shows only the most recent change, not the changes which 
preceded it.  

Most of the jobs show the expected set of changes as they did before the 
upgrade to the Git plugin 2.0 beta.

Unfortunately, I don't have a way to duplicate the problem and don't have 
any obvious differences between the jobs which are behaving as expected and 
hte jobs which are not behaving as expected.

Mark Waite

On Thursday, July 25, 2013 4:40:36 PM UTC-6, Kohsuke Kawaguchi wrote:
>
>
> Hi, 
>
> We've been working on a major improvement on Git plugin, and it's now at 
> the point that it's ready for general consumption. 
>
> As Git plugin is used by many and we want to reduce the chance of 
> regressions, I'm calling for people to try out this unreleased Git 2.0 
> plugin. 
>
> Please see [1] for the new features and how to try this out on your own 
> instance. Looking forward to hearing the feedbacks. 
>
>
> [1] 
> https://wiki.jenkins-ci.org/display/JENKINS/Git+plugin+2.0+beta+testing 
> -- 
> Kohsuke Kawaguchi | CloudBees, Inc. | http://cloudbees.com/ 
> Try Jenkins Enterprise, our professional version of Jenkins 
>

-- 
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: Jenkins release mailing group

2013-07-29 Thread Gregory, Lawrence E.
I could be very wrong, but here's my $.02...I'm not sure how beneficial that 
would be, and the administration of another mailing list probably isn't the 
best use of the community's already limited resources.

https://jenkins-ci.org/changelog provides all of that information already, and 
more often than not, releases are done most Mondays.  Subscribing to the 
security mailing list (found here: 
https://jenkins-ci.org/content/mailing-lists) would alert you of any 
out-of-cycle releases which address vulnerabilities.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Maksim Selivanov
Sent: Monday, July 29, 2013 6:05 AM
To: jenkinsci-users@googlegroups.com
Subject: Jenkins release mailing group

Hi!

Please create Jenkins release (with changes list attached) mailing group!


Thanks in advance!

maks
--
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 email is confidential and may be legally privileged 
against disclosure other than to the intended recipient. It is intended solely 
for the addressee. Access to this email by anyone else is unauthorized. If you 
are not the intended recipient, any disclosure, copying, distribution or any 
action taken or omitted to be taken in reliance on it, is prohibited and may be 
unlawful. Please immediately delete this message and inform the sender of this 
error. 

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




Jenkins release mailing group

2013-07-29 Thread Maksim Selivanov
Hi!

Please create Jenkins release (with changes list attached) mailing group!


Thanks in advance!

maks

-- 
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: Readonly job parameters

2013-07-29 Thread Vincent Latombe
Hi,

The environment variable BUILD_CAUSE already provides you how the build has
been triggered. You don't need any plugin or parameter to get this
information.

Cheers,

Vincent


2013/7/29 Benjamin Hofmann 

> My personal usecase would be to differ between an auto triggered build and
> a manual build. But I believe the envinject can fulfill that need quite
> well.
>
>
> On Monday, July 22, 2013 11:42:20 AM UTC+2, Daniel Beck wrote:
>
>> An actual use case for this might be helpful. Right now, this looks a lot
>> like an XY problem [1].
>>
>> Also, a possible solution is a Choice parameter with only one value to
>> select. But note that e.g. Parameterized Trigger will just override this
>> when you specify a different value there, so it's on the UI only.
>>
>> 1: 
>> http://www.perlmonks.org/?**node_id=542341
>>
>> On 21.07.2013, at 22:53, Thomas Fields  wrote:
>>
>> > >>No, that I am aware of. I've been kind of thinking about something
>> similar
>> > but more of like a set of variables that can be defined with the job,
>> and
>> > then referenced in multiple places within the job configuration.
>> > Yeah, something like this would be perfect for my needs.
>> >
>> > Surely it's not too difficult to add a new "read only string parameter"
>> to the parameter options in the job description then display it but
>> obviously don't let the user edit it. Did you enter this in Jira already?
>> >
>> > Cheers
>> > Tom
>> >
>> > --
>> > 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-use...@**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: Readonly job parameters

2013-07-29 Thread Benjamin Hofmann
My personal usecase would be to differ between an auto triggered build and 
a manual build. But I believe the envinject can fulfill that need quite 
well.

On Monday, July 22, 2013 11:42:20 AM UTC+2, Daniel Beck wrote:
>
> An actual use case for this might be helpful. Right now, this looks a lot 
> like an XY problem [1]. 
>
> Also, a possible solution is a Choice parameter with only one value to 
> select. But note that e.g. Parameterized Trigger will just override this 
> when you specify a different value there, so it's on the UI only. 
>
> 1: http://www.perlmonks.org/?node_id=542341 
>
> On 21.07.2013, at 22:53, Thomas Fields > 
> wrote: 
>
> > >>No, that I am aware of. I've been kind of thinking about something 
> similar 
> > but more of like a set of variables that can be defined with the job, 
> and 
> > then referenced in multiple places within the job configuration. 
> > Yeah, something like this would be perfect for my needs. 
> > 
> > Surely it's not too difficult to add a new "read only string parameter" 
> to the parameter options in the job description then display it but 
> obviously don't let the user edit it. Did you enter this in Jira already? 
> > 
> > Cheers 
> > Tom 
> > 
> > -- 
> > 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-use...@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: Alter/Remove "All" view in "My Views"

2013-07-29 Thread Steffen Breitbach
Hi Daniel!

On Fri, 2013-07-26 at 22:04 +0200, Daniel Beck wrote:

> I just set up a 1.509.2 test instance from scratch. My 'reader' user 
> (permisisons Overall/Read, Job/Read when using Matrix-based security) can 
> create new views for himself and has access to configuring himself (including 
> the default 'My View') at /user/username/configure. Are you sure they're not 
> clicking on 'My Views' instead of their user name?

We're using our own authentication backend and plug in. I just switched
back to the original LDAP plug in and it immediately worked again. Seems
there is a bug in our plug in that we have to fix...

> It's similar to the global 'All' view: Configure a different one as default 
> to be able delete it afterwards. To rename, delete 'All' and then add it 
> again. Apart from that, 'All' has no configuration. 

It now works for me, too. I have no idea why it wouldn't work for me
before.

Thanks for your trouble!

Regards
  Steffen

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