Re: Save job configuration returns an Oops page

2014-06-03 Thread Daniel Beck

On 02.06.2014, at 23:43, Slide slide.o@gmail.com wrote:

 Released 2.38.1 today, should fix this issue.

I confirm this is resolved.

BTW, is there a reason you replaced the checkboxes with the drop-down? It takes 
more clicks to configure, it's more difficult to tell at a glance what's not 
configured, and takes more vertical space. And it's sortable with no obvious 
effect.

-- 
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/d/optout.


Re: Save job configuration returns an Oops page

2014-06-03 Thread Slide
Its a heterolist now, the taglib doesn't provide a good check box list that
automatically manages descriptor based items. I used it for a while before
sticking with it and didn't find it to be too bad. I knew some people
probably wouldn't like it, but you definitely can't please all the people
all the time. What I really want it something that provides something
similar to the matrix authentication check box control but I haven't seen
something like that and haven't had time to implement it myself.
On Jun 3, 2014 1:49 AM, Daniel Beck m...@beckweb.net wrote:


 On 02.06.2014, at 23:43, Slide slide.o@gmail.com wrote:

  Released 2.38.1 today, should fix this issue.

 I confirm this is resolved.

 BTW, is there a reason you replaced the checkboxes with the drop-down? It
 takes more clicks to configure, it's more difficult to tell at a glance
 what's not configured, and takes more vertical space. And it's sortable
 with no obvious effect.

 --
 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/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.
For more options, visit https://groups.google.com/d/optout.


Provide only appropriate variables to concrete script steps

2014-06-03 Thread Monique Maker
Hello community,

I'm a novice in Jenkins and I need a piece of advise. Our build process is 
very simple: check-out, call an Ant script for the build, and send an email 
with the result. Unfortunately we are using a proprietary system for tasks 
tracking and we do not envision to integrate it with Jenkins. Nevertheless 
we need to report in the email the list of the tasks completed for the 
build, so we need to provide the tasks description in the build (mentioning 
the tasks in the commits to Version Control System (VCS) is not an 
appropriate practice). For this purpose I made the Jenkins build script 
parametrized and provided a text field for the tasks descriptions, which is 
usually filled with copy-paste. Now the problem is that the call of the Ant 
build task sometimes breaks because the tasks description list (at least):
 - could be long;
 - could include symbols that are not appropriate for the command line.

Currently I can see two approaches to solve this problem:
 1. Skip the parameter value when calling the Ant task;
 2. Manipulate the parameter's value in order to remove/replace 
inappropriate symbols.

Unfortunately I do not see Jenkins to provide any tools to implement these 
approaches (I would prefer the first one).

Please advise how to resolve this problem.

-- 
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/d/optout.


Re: Suggestions for using Jenkins for environment deployment?

2014-06-03 Thread Eric Wood
Chandra:

The CI job is a maven job that pulls the code from the SCM (using the TFS 
plugin) and it builds the java asset using maven.  This job then uses the 
post-build Actions step called Archive for Clone Workspace SCM) to archive its 
workspces for consumption by a downstream job. Also, this job specifies the 
additional post-build Actions step Build other projetcs (manual step) to 
specify the downstrean job.

The downstream job uses the Clone Workspace for the Source Code Management 
sections.  My deploy takes place using some ANT code calling a REST API for 
Mule as we are deploying a Mule asset to an in-house enterprise service bus.  
All deployment jobs (DEV-TEST-UAT-PROD) in turn use the same clone archive 
and Build other projects (manual step) to pass the workspace down the 
pipeline. Of course prod does not as it end the pipeline.

The Build pipeline plugin is a visualization tool where you indicate the 
starting job and it visualizes the job relationsheip of upstream/downstream 
jobs.  It allows you to manually trigger downstream jobs based upon the sucess 
of the upstream job.


On Monday, June 2, 2014 6:01 PM, Chanda Norton chanda.nor...@gmail.com wrote:
 


how is this configured?  

On Tuesday, March 4, 2014 7:57:29 AM UTC-5, eric...@rocketmail.com wrote:
I use the build pipeline plugin for this purpose.  The first link in the 
chain is a CI build that polls the SCM repo and then subsequent downstream jobs 
are used to promote the build DEV-.TEST-UAT-PROD



On Monday, March 3, 2014 2:53 PM, Stephen Connolly stephen.al...@gmail. com 
wrote:
 
The promoted builds plugin is a good starting point.


After that it depends where you are deploying your app to.


In general, you set up your build to archive the artifacts... Then you set up 
promotions to move the archived artifacts to their target servers... 
Parameterized promotions can help if you have to change the target from 
deployment to deployment.


For larger deployments, you are deploying to a file share from which 
chef/puppet does the actual deployment... But for small deployments you just 
push direct to the server eg by the ssh/sftp publisher or by a container 
specific plugin (eg tomcat) or by a PaaS specific deployer plugin (eg 
cloudbees-deployer-plugin for deployment to cloudbees/cloudfoundry/AWS elastic 
beanstalk/google app engine)

On Monday, 3 March 2014, Caleb Tote caleb...@gmail.com wrote:

We've been using Jenkins for a year or so as our CI tool, but would like to 
set it up somehow to also do our environment deployments. I've been testing 
around with Atlassian Bamboo, which nicely integrates both CI and Deployments; 
however, we'd like to stay with Jenkins since it's free.


Is there a plugin for this type of thing? Any suggestions on how to manage 
deployments? Should we just switch to Bamboo?
-- 
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+unsubscribe@ googlegroups.com.
For more options, visit https://groups.google.com/ groups/opt_out.


-- 
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-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/d/optout.


Can't seem to get the TestResultAction from the Run.getAction command in a Jelly Script

2014-06-03 Thread Rob Lowe
All,

I am attempting to get access to the previous builds test results and can't 
seem to in the jelly script I'm working with. I've tried numerous different 
attempts at getting the TestResultAction object from the Run.getAction 
method however I have been unsuccessful so far and hoped one of you could 
shed some light on my issue. I've also used the getAllActions method to see 
that there is indeed a TestResultAction on my previous build. I've even got 
the TestResultAction successfully when I've used the 
Run.getAllActions().get(*indexOfTestResultAction*). This has proven 
successful but not reliable as it is not always in the same sequence build 
after build.

Here is an example script that I've been working with. If anyone has ideas 
or clues as to why this isn't working for me please let me know. In the 
example I have below the testAction1 variable I define is always NULL.

Thanks!

j:jelly xmlns:j=jelly:core xmlns:st=jelly:stapler 
xmlns:d=jelly:define
BODY

j:set var=previousBuild1 value=${build.getPreviousBuild()} /
j:if test=${previousBuild1!=null}
PREVIOUS BUILD1 IS NOT NULL
j:set var=allActions value=${previousBuild1.getAllActions()} /

j:if test=${allActions!=null}

ACTIONS IS NOT NULL ${allActions}


j:set var=testAction1 
value=${previousBuild1.getActions(hudson.tasks.junit.TestResultAction.class)} 
/
j:if test=${testAction1!=null}
TEST ACTION1 IS NOT NULL

/j:if
j:if test=${testAction1==null}
TEST ACTION1 IS NULL
/j:if

/j:if

j:if test=${allActions==null}
ACTIONS IS NULL
/j:if
/j:if
j:if test=${previousBuild1==null}
PREVIOUS BUILD1 IS NULL
/j:if



-- 
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/d/optout.


Re: Can't seem to get the TestResultAction from the Run.getAction command in a Jelly Script

2014-06-03 Thread Rob Lowe
One more thing... in the script I posted here I'm calling the getActions... 
I've tried with both getActions and getAction.

I've also passed in the class as a string as in some examples 
online https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin with no 
success.



On Tuesday, June 3, 2014 10:32:10 AM UTC-4, Rob Lowe wrote:

 All,

 I am attempting to get access to the previous builds test results and 
 can't seem to in the jelly script I'm working with. I've tried numerous 
 different attempts at getting the TestResultAction object from the 
 Run.getAction method however I have been unsuccessful so far and hoped one 
 of you could shed some light on my issue. I've also used the getAllActions 
 method to see that there is indeed a TestResultAction on my previous build. 
 I've even got the TestResultAction successfully when I've used the 
 Run.getAllActions().get(*indexOfTestResultAction*). This has proven 
 successful but not reliable as it is not always in the same sequence build 
 after build.

 Here is an example script that I've been working with. If anyone has ideas 
 or clues as to why this isn't working for me please let me know. In the 
 example I have below the testAction1 variable I define is always NULL.

 Thanks!

 j:jelly xmlns:j=jelly:core xmlns:st=jelly:stapler 
 xmlns:d=jelly:define
 BODY

 j:set var=previousBuild1 value=${build.getPreviousBuild()} /
 j:if test=${previousBuild1!=null}
 PREVIOUS BUILD1 IS NOT NULL
 j:set var=allActions value=${previousBuild1.getAllActions()} /

 j:if test=${allActions!=null}

 ACTIONS IS NOT NULL ${allActions}


 j:set var=testAction1 
 value=${previousBuild1.getActions(hudson.tasks.junit.TestResultAction.class)}
  
 /
 j:if test=${testAction1!=null}
 TEST ACTION1 IS NOT NULL

 /j:if
 j:if test=${testAction1==null}
 TEST ACTION1 IS NULL
 /j:if

 /j:if

 j:if test=${allActions==null}
 ACTIONS IS NULL
 /j:if
 /j:if
 j:if test=${previousBuild1==null}
 PREVIOUS BUILD1 IS NULL
 /j:if





-- 
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/d/optout.


Re: Most downloaded plugins?

2014-06-03 Thread James Green
Does anyone actually use these? The graphs have such dense information I
can't make anything other than a curve out.

Need top one plugins in tabular format with paging: Name, Category, Brief
Description.


On 2 June 2014 18:04, Daniel Beck m...@beckweb.net wrote:

 This site provides some of that: Plugins by popularity, optionally only
 those with 500+ or 1000+ installations, in graph format:

 http://stats.jenkins-ci.org/jenkins-stats/svg/svgs.html

 On 02.06.2014, at 11:21, James Green james.mk.gr...@gmail.com wrote:

  I'm looking at https://wiki.jenkins-ci.org/display/JENKINS/Plugins
 
  I can lots of plugins across various categories.
 
  I don't necessarily know what I want or under which category it might
 exist. Would it be possible to create a page listing plugins by their
 downloads count? Most commonly used ones would then be instantly found by
 those new to the ecosystem.
 
  Thanks,
 
  James
 
 
  --
  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/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.
 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.
For more options, visit https://groups.google.com/d/optout.


Re: Most downloaded plugins?

2014-06-03 Thread Daniel Beck

On 03.06.2014, at 17:16, James Green james.mk.gr...@gmail.com wrote:

 Need top one plugins in tabular format with paging: Name, Category, Brief 
 Description.

There's also some raw popularity data as JSON (usually updated every month on 
the day after the first Saturday):

http://stats.jenkins-ci.org/plugin-installation-trend/latestNumbers.json

I wrote a Greasemonkey userscript that adds the install count as a column to 
the plugin manager. It only requires you to place that json file into 
JENKINS_HOME/userContent.

https://github.com/daniel-beck/jenkins-userscripts/blob/master/Jenkins_Plugin_Popularity.user.js

-- 
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/d/optout.


OS-X build slaves

2014-06-03 Thread 'Curtis Kline' via Jenkins Users
We have 8 Mac Mini build slaves and another four slaves on OS-X VMs running
on Mac Pros. We currently configure each slave manually, which takes about
30 minutes per unit.

Does anyone use Puppet/Chef/other for configuring OS-X Jenkins slaves? How
about VM technology? If VMs, what hardware/hypervisor?

Just looking for options and input as our Mac Mini farm expands.

Thanks,
Curtis

-- 
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/d/optout.


Re: OS-X build slaves

2014-06-03 Thread 'Coinbase Support' via Jenkins Users
__
Type your response ABOVE THIS LINE to reply



Re: OS-X build slaves

Coinbase | Jun 03, 2014 09:15AM PDT

Thank you for submitting your request.  We have received your request and are 
working on responding to you as soon as possible.  If you have any additional 
information to add to this case, please reply to this email.

Thanks in advance for your patience and support.


This message was sent to  jenkinsci-users@googlegroups.com in reference to Case 
#347134.



[[8906893ae74736f27f7f1299dafa83e25cc2f55b-246502098]]

-- 
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/d/optout.


Re: OS-X build slaves

2014-06-03 Thread Dirk Heinrichs
Am 03.06.2014 18:13, schrieb 'Curtis Kline' via Jenkins Users:

 Does anyone use Puppet/Chef/other for configuring OS-X Jenkins slaves?

Not for OS-X slaves, but for Windows. However, the principle should be
similar. We use Puppet to setup Jenkins swarm slaves as a service using
Apache Commons Daemon. Don't know anything about OS-X, but the principle
should be similar, there. For Linux, for example, you'd need to provide
an init script and config file instead of Commons Daemon. The swarm
slave accepts command line options for providing labels, number of
executors, local work directory, etc.

HTH...

Dirk
-- 

*Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions
*Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach
*Tel*: +49 2226 159 (Ansage) 1149
*Email*: d...@recommind.com mailto:d...@recommind.com
*Skype*: dirk.heinrichs.recommind
www.recommind.com http://www.recommind.com



http://www.recommind.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/d/optout.