Re: Moving a job to a Folder

2015-08-14 Thread Stephen Connolly
What I said:

1. You can use a groovy script right now. Will do exactly what you need.
Some research required.

2. Oh look some synchronicity, I happen to have just been working on some
stuff that would do this for a bigger set of problems... Sadly the stuff I
was working on is for our paid product

3. The OSS should have a CLI command too... I think it does, but if I am
wrong, adding a CLI command for the OSS plugin is something on our backlog,
so we will get to it.

I mentioned #2 not as a plug but more as a "oh, if you did happen to also
be one of our customers"... Apologies if it read differently.

-Stephen

On Saturday, August 15, 2015, Vanetta Floyd  wrote:

> Thanks...not interested in commercials for that product.  I'm interested
> in what the open source community has to say.
>
> Will all people asking questions going forward be spammed with plugs for
> that product?
> On Aug 14, 2015 10:48 AM, "VFloyd"  > wrote:
>
>> Any ideas on how to move more than one job at a time into a folder?
>>
>>
>>
>> On Thursday, August 6, 2015 at 1:45:47 PM UTC-7, Daniel Laird wrote:
>>>
>>> All,
>>>
>>> I amusing the cloudbees plugin that creates folders.
>>> I am now trying to move some jobs that are currently in a 'view' into a
>>> folder.
>>> I can easily query and list all the jobs in a view in groovy but I am
>>> struggling to move the job into a folder.
>>> I have tried various methods - if anyone has some example of doing this
>>> it would be greatly appreciated.
>>>
>>> Dan
>>>
>> --
>> 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/doYddgacqTQ/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> jenkinsci-users+unsubscr...@googlegroups.com
>> 
>> .
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/e4cd1d42-0fba-4faf-a023-caab8b466a52%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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
> 
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CAL40ccPVuPWnNeaRostT0uggh6PaOmwE3KUzTPN2mbdqvtX%2BvQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Sent from my phone

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMwrOMCJ%3DQM%2BE1La_kOstB9bG%2BSdX3Cjbikv8_wNKO5YTw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Debian package on Ubuntu 15.04 fails to start

2015-08-14 Thread Robert Arnonym
Hello

I just installed the latest deb-package on my ubuntu host. When starting 
jenkins nothing happens.
No logfile under /var/log/jenkins.

When debugging, I realized, that when running the classical init script, 
some weird systemd interceptor magic happens, which results in systemd 
trying to run jenkins.

Here is all I can see:

systemctl status jenkins.service
● jenkins.service - LSB: Start Jenkins at boot time
   Loaded: loaded (/etc/init.d/jenkins)
   Active: active (exited) since Sat 2015-08-15 01:53:02 CEST; 47min ago
 Docs: man:systemd-sysv-generator(8)

Aug 15 01:53:02 lighthouse systemd[1]: Started LSB: Start Jenkins at boot 
time.
Aug 15 02:00:11 lighthouse systemd[1]: Started LSB: Start Jenkins at boot 
time.
Aug 15 02:04:16 lighthouse systemd[1]: Started LSB: Start Jenkins at boot 
time.
Aug 15 02:14:28 lighthouse systemd[1]: Started LSB: Start Jenkins at boot 
time.
Aug 15 02:15:00 lighthouse systemd[1]: Started LSB: Start Jenkins at boot 
time.

when debiugging the init script,  this happens:

[] +++ '[' -z jenkins.service ']'
+++ echo -n 'Starting jenkins (via systemctl): jenkins.service'
Starting jenkins (via systemctl): jenkins.service+++ log_daemon_msg_post 
'Starting jenkins (via systemctl)' jenkins.service
+++ :
+++ /bin/systemctl start jenkins.service
+++ rc=0

Any Idea how to fix that, withoutt breaking the deb itself/installing 
jenkins manually?

Thx

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/41ce1dda-7c2c-427d-9270-aeb0a5492ed5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Setting multiple builds

2015-08-14 Thread Viswanath Jakkam
Hi,

I just started exploring for build automation and have couple questions. 

I want to perform 2 different flows as defined below. But i should be able 
to create the steps in one go and include the steps and order in multiple 
flows.

Flow - 1

1. Checkout
2. Compile
3. Generate WAR file
4. Embed Tomcat Server
5. Copy War to web-apps folder
6. Create Installer

Flow - 2

1. Checkout
2. Compile
3. Generate WAR file
4. Execute UNIT Test cases
5. Embed Tomcat Server
6. Copy War to web-apps folder
7. Create Installer

Can you please suggest the best plugins and how that can be configured?

Thanks In advance.

Thanks
Jakkam

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6bddd014-876f-4ace-a56b-7883ef84cbbe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Moving a job to a Folder

2015-08-14 Thread Vanetta Floyd
Thanks...not interested in commercials for that product.  I'm interested in
what the open source community has to say.

Will all people asking questions going forward be spammed with plugs for
that product?
On Aug 14, 2015 10:48 AM, "VFloyd"  wrote:

> Any ideas on how to move more than one job at a time into a folder?
>
>
>
> On Thursday, August 6, 2015 at 1:45:47 PM UTC-7, Daniel Laird wrote:
>>
>> All,
>>
>> I amusing the cloudbees plugin that creates folders.
>> I am now trying to move some jobs that are currently in a 'view' into a
>> folder.
>> I can easily query and list all the jobs in a view in groovy but I am
>> struggling to move the job into a folder.
>> I have tried various methods - if anyone has some example of doing this
>> it would be greatly appreciated.
>>
>> Dan
>>
> --
> 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/doYddgacqTQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/e4cd1d42-0fba-4faf-a023-caab8b466a52%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAL40ccPVuPWnNeaRostT0uggh6PaOmwE3KUzTPN2mbdqvtX%2BvQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Moving a job to a Folder

2015-08-14 Thread Stephen Connolly
You could use a groovy script. Other than that you are SOoL

For CloudBees Jenkins Platform I have just implemented move/copy
functionality for use within/between masters, and that functionality comes
with Jenkins CLI support so you could use shell scripting with that *if you
are a CloudBees customer*. (Still going through QA and documentation before
we can release it though... Should be out next week with any luck)

I believe we have a Jenkins CLI command already in the folders plugin... If
we don't then that's something that's in our OSS backlog (ie I cannot
remember if we did it already or not!)

On Friday, August 14, 2015, VFloyd  wrote:

> Any ideas on how to move more than one job at a time into a folder?
>
>
>
> On Thursday, August 6, 2015 at 1:45:47 PM UTC-7, Daniel Laird wrote:
>>
>> All,
>>
>> I amusing the cloudbees plugin that creates folders.
>> I am now trying to move some jobs that are currently in a 'view' into a
>> folder.
>> I can easily query and list all the jobs in a view in groovy but I am
>> struggling to move the job into a folder.
>> I have tried various methods - if anyone has some example of doing this
>> it would be greatly appreciated.
>>
>> Dan
>>
> --
> 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
> 
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/e4cd1d42-0fba-4faf-a023-caab8b466a52%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Sent from my phone

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMwBeqFvZAspj%2BcFRekgQvKrbSg4JZm9Fn9wX_63ei2Ndw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: 'cordova' command not recognised on Jenkins Windows slave

2015-08-14 Thread Eric Pyle

Hi,

Apparently 'cordova' is not on the %PATH% for the user running Jenkins. 
You may want to manually add the appropriate PATH entries before calling 
cordova, or you can set build variables in the job definition (Build 
Environment section, requires Envinject plugin).


Regards,
Eric

On 8/14/2015 1:08 PM, Shajimon Paremmal wrote:

HI,
I'm trying to build a sample mobile app using Apache CORDOVA in 
the Jenkins Master-Slave environment.
The source files are present on a Jenkins slave running Windows Server 
2012.
I've specified the cordova commands in a .bat file and specified its 
path in the "Execute Windows batch command".


The build fails saying that "'cordova' is not recognized as an 
internal or external command,operable program or batch file."


I can very well run this batch file from cmd and it runs successfully.
Can anyone help me with this issue?

Additional info:
Contents of the .bat file;

echo Starting the CORDOVA Build process
cd C:\Cordova_Projects\workshop
call cordova platforms remove android
call cordova platforms add android
call cordova plugin add org.apache.cordova.device
call cordova plugin add org.apache.cordova.console
call cordova emulate android

Jenkins work directory on slave - C:\Jenkins_Works
Cordova project directory on slave - C:\Cordova_Projects\workshop

Thanks,
Shaji
--
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 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/bacd4605-bf42-4aa3-a1e6-9a0a9339a777%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/55CE5355.50002%40cd-adapco.com.
For more options, visit https://groups.google.com/d/optout.


Node info passed to a post

2015-08-14 Thread joe

  I have a matrix job that uses 4 different systems from a large pool of 
available systems.  When all 4 jobs are finished I need to run an 
additional single job that collects data from the 4 jobs after they 
completed to produce a status report.   This additional job needs to be ran 
from any of the  environments created for one of the 4 jobs.


I was wondering about different ways to accomplish this:

  1) Is there anyway to record which systems(build nodes) that were used in 
the matrix jobs?   I would like the Post-build step to reuse one the nodes 
that was used.
  2) Is there a good way from one of the matrix jobs to determine it is the 
last job to finish?   It then could say "oh, my brothers and sisters are 
all done" let me go ahead and run report"  The other jobs would know they 
are not the last job and would just complete as normal.
  3) Is there another way to accomplish this?

Thanks

Joe


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/833d9336-c6cc-4c39-a1ed-ab9dfd0413c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Moving a job to a Folder

2015-08-14 Thread VFloyd
Any ideas on how to move more than one job at a time into a folder?



On Thursday, August 6, 2015 at 1:45:47 PM UTC-7, Daniel Laird wrote:
>
> All,
>
> I amusing the cloudbees plugin that creates folders.
> I am now trying to move some jobs that are currently in a 'view' into a 
> folder.
> I can easily query and list all the jobs in a view in groovy but I am 
> struggling to move the job into a folder.
> I have tried various methods - if anyone has some example of doing this it 
> would be greatly appreciated.
>
> Dan
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e4cd1d42-0fba-4faf-a023-caab8b466a52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


'cordova' command not recognised on Jenkins Windows slave

2015-08-14 Thread Shajimon Paremmal
HI,
I'm trying to build a sample mobile app using Apache CORDOVA in the Jenkins 
Master-Slave environment. 
The source files are present on a Jenkins slave running Windows Server 2012.
I've specified the cordova commands in a .bat file and specified its path 
in the "Execute Windows batch command".

The build fails saying that "'cordova' is not recognized as an internal or 
external command,operable program or batch file."

I can very well run this batch file from cmd and it runs successfully.
Can anyone help me with this issue?

Additional info:
Contents of the .bat file;

echo Starting the CORDOVA Build process
cd C:\Cordova_Projects\workshop
call cordova platforms remove android
call cordova platforms add android
call cordova plugin add org.apache.cordova.device
call cordova plugin add org.apache.cordova.console
call cordova emulate android

Jenkins work directory on slave - C:\Jenkins_Works
Cordova project directory on slave - C:\Cordova_Projects\workshop

Thanks,
Shaji

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/bacd4605-bf42-4aa3-a1e6-9a0a9339a777%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get Jobs Start/stop timestamp information in the main log UI of Jenkins

2015-08-14 Thread David Brown
Your understanding is correct, this plugin adds timestamp details to the 
individual job console output logs. So, I guess it doesn't give you exactly 
what you're after. You want some indication about which of the many jobs 
that were running when the server crashed was the one which caused the 
failure. Sorry, I can't help further with that.

On Friday, 14 August 2015 10:40:21 UTC+1, Frederic Meyrou wrote:
>
> Well yes, but correct me if I'm wrong this plug-in add information to the 
> Job console, no?
> It's not very clear in the Plugin description...
>
> Tks for your answer David! :)
>
> ./Fred
>
> Le vendredi 14 août 2015 11:36:29 UTC+2, David Brown a écrit :
>>
>> Are you aware of the Timestamper plugin (
>> https://wiki.jenkins-ci.org/display/JENKINS/Timestamper)? We implemented 
>> this to see where the pinch points are in some of our longer running jobs 
>> and find it very useful.
>>
>> On Thursday, 13 August 2015 22:41:54 UTC+1, Frederic Meyrou wrote:
>>>
>>> *Dear mates,*
>>>
>>>
>>> *I maintain a huge Jenkins Master server with more than 8000 jobs and 
>>> 450 Slaves. *
>>>
>>> *One of this Jobs it giving a hard time to the Master and consume all 
>>> RAM available in JVM until GC fail, and I need to restart the server... *
>>>
>>> *Because the number of Jobs, I can't find the faulty one, so I need to 
>>> add either a logger or anything that would centralize a timestamp like : *
>>>
>>> *Job "Name" #nnn started at HH:MM:SS. *
>>>
>>> *And the same at the end of Job eventually with status.*
>>>
>>>
>>> *Tks for your feedback,*
>>>
>>>
>>> *./Fred*
>>>
>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/03274840-668f-4872-b843-026f153f8ebf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get Jobs Start/stop timestamp information in the main log UI of Jenkins

2015-08-14 Thread Frederic Meyrou
Well yes, but correct me if I'm wrong this plug-in add information to the 
Job console, no?
It's not very clear in the Plugin description...

Tks for your answer David! :)

./Fred

Le vendredi 14 août 2015 11:36:29 UTC+2, David Brown a écrit :
>
> Are you aware of the Timestamper plugin (
> https://wiki.jenkins-ci.org/display/JENKINS/Timestamper)? We implemented 
> this to see where the pinch points are in some of our longer running jobs 
> and find it very useful.
>
> On Thursday, 13 August 2015 22:41:54 UTC+1, Frederic Meyrou wrote:
>>
>> *Dear mates,*
>>
>>
>> *I maintain a huge Jenkins Master server with more than 8000 jobs and 450 
>> Slaves. *
>>
>> *One of this Jobs it giving a hard time to the Master and consume all RAM 
>> available in JVM until GC fail, and I need to restart the server... *
>>
>> *Because the number of Jobs, I can't find the faulty one, so I need to 
>> add either a logger or anything that would centralize a timestamp like : *
>>
>> *Job "Name" #nnn started at HH:MM:SS. *
>>
>> *And the same at the end of Job eventually with status.*
>>
>>
>> *Tks for your feedback,*
>>
>>
>> *./Fred*
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/13808995-ab33-46cd-8797-2c6a0d9c98b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get Jobs Start/stop timestamp information in the main log UI of Jenkins

2015-08-14 Thread David Brown
Are you aware of the Timestamper plugin 
(https://wiki.jenkins-ci.org/display/JENKINS/Timestamper)? We implemented 
this to see where the pinch points are in some of our longer running jobs 
and find it very useful.

On Thursday, 13 August 2015 22:41:54 UTC+1, Frederic Meyrou wrote:
>
> *Dear mates,*
>
>
> *I maintain a huge Jenkins Master server with more than 8000 jobs and 450 
> Slaves. *
>
> *One of this Jobs it giving a hard time to the Master and consume all RAM 
> available in JVM until GC fail, and I need to restart the server... *
>
> *Because the number of Jobs, I can't find the faulty one, so I need to add 
> either a logger or anything that would centralize a timestamp like : *
>
> *Job "Name" #nnn started at HH:MM:SS. *
>
> *And the same at the end of Job eventually with status.*
>
>
> *Tks for your feedback,*
>
>
> *./Fred*
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/415c9349-87fc-4c62-be72-c41eed4f4480%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.