Re: active jobs by node

2014-09-05 Thread Daniel Beck
There is no CLI command for this in core. For the XML/JSON APIs, the following works: /computer/XYZ/api/xml?tree=executors[currentExecutable[*]] On 05.09.2014, at 17:30, mail4m.muel...@googlemail.com wrote: > Dear Contributors, devs and users, > > I'm having problems to find a proper solution f

Re: First Maven project

2014-09-05 Thread Daniel Beck
t; [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck > Sent: Friday, September 05, 2014 12:30 PM > To: jenkinsci-users@googlegroups.com > Subject: Re: First Maven project > > JENKINS-18677 affected 1.522-1.526, so either downgrade to Jenkins 1.521, > upgrade to 1.

Re: First Maven project

2014-09-05 Thread Daniel Beck
.0_51-b13) > Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing) > > -Original Message- > From: jenkinsci-users@googlegroups.com > [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck > Sent: Friday, September 05, 2014 1:11 PM > To: jenkinsci-

Re: First Maven project

2014-09-05 Thread Daniel Beck
vm.version 20.1-b02 > > -----Original Message- > From: jenkinsci-users@googlegroups.com > [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck > Sent: Friday, September 05, 2014 1:24 PM > To: jenkinsci-users@googlegroups.com > Subject: Re: First Maven p

Re: "Log out" button with reverse-proxy authentication

2014-09-07 Thread Daniel Beck
Simple Theme plugin and a minimal amount of JS/CSS should add the link. On 05.09.2014, at 11:53, Marek Szuba wrote: > Dear everyone, > > Is it possible to have Jenkins still display a "log out" button when > reverse-proxy authentication is enabled? What I would like to achieve is > to allow use

Re: email-ext + LDAP email plugins?

2014-09-11 Thread Daniel Beck
On 11.09.2014, at 10:29, 'Chris' via Jenkins Users wrote: > so it sends mails the username from the SCM (plus company domain) instead of > resolving it via LDAP. [...] Unfortunately, the usernames from the SCM do not > correspond to emails so I need LDAP lookup. It looks like you configured

Re: Windows nodes flapping after upgrade to 1.565.2

2014-09-12 Thread Daniel Beck
Did you update the slave.jars on these nodes? Install VersionColumn Plugin, then go to /computer to check whether they're up to date. On 12.09.2014, at 18:38, Dan Zieber wrote: > Hi All, > > I upgraded to LTS 1.565.2 from 1.554.2. After I restarted Jenkins all of my > windows nodes started f

Re: Issue while installing jenkins war

2014-09-13 Thread Daniel Beck
When Jenkins fails to initialize, it tries to execute a user-definable script. But that can only work when Jenkins is already successfully initialized. Will file a bug about this. That said, there should be another SEVERE message just above the null pointer with more details on what the actual

Re: https certificate for https://pkg.jenkins-ci.org not valid

2014-09-15 Thread Daniel Beck
I notified the infra team, they're looking into it. On 15.09.2014, at 11:39, Guillaume Boucherie wrote: > Hi, > > It seems that the https certificate for https://pkg.jenkins-ci.org site is no > longer valid. > Could check that ? > > Thanks > Guillaume Boucherie > > -- > You received this m

Re: Upgrade from 1.526 -> current: pitfalls?

2014-09-15 Thread Daniel Beck
Generally, if you prefer rarely updating Jenkins, the LTS would be a better choice. Four major releases per year, with two bugfix releases for each of them. - Jenkins uses Jetty as default container (when running `java -jar jenkins.war`) since 1.535, resulting in possible issues with very large

Re: build-flow groovy DSL - not able to print to console?

2014-09-16 Thread Daniel Beck
On 16.09.2014, at 23:07, silver wrote: > Can I print to the console when I have a build flow? https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin#BuildFlowPlugin-Basics 4th code block. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" gro

Re: Connect Jenkins Server to Artifactory

2014-09-17 Thread Daniel Beck
Looks like you have no Artifactory servers configured. On 17.09.2014, at 20:02, Borresen, John - 0442 - MITLL wrote: > Receiving the following Stack Trace when configuring Jenkins Server to > connect to our Artifactory Server: > > Stack trace > > javax.servlet.ServletException: java.lang.N

Re: keep forever buttons

2014-09-17 Thread Daniel Beck
The ones with the button probably have the 'Discard old builds' option checked. Builds can be kept for various reasons, not just manual selection by a user (e.g. the Advanced Project Option "Keep the build logs of dependencies") -- those are likely the ones with the lock icon but no way to turn

Re: No more plugin updates on LTS update site?

2014-09-22 Thread Daniel Beck
Plugins are developed independently from core and usually have no 'LTS line', except maybe to backport fixes to a version compatible with LTS when the main development line requires a more recent core. Still, most plugins are compatible with 1.565.x. Make sure the date on the lower right of /pl

Re: Need Earlier version Jenkins war for JDK 1.5

2014-09-27 Thread Daniel Beck
They are currently not available from the project as we don't have the resources to store them. This is tracked as INFRA-102 in JIRA. On 27.09.2014, at 16:33, anoop4t...@gmail.com wrote: > Hi > > I was searching for Jenkins war file compatible to JDK 1.5 > But it seems all the earlier versio

Re: Need Earlier version Jenkins war for JDK 1.5

2014-09-27 Thread Daniel Beck
These are probably better links: http://repo.jenkins-ci.org/simple/releases/org/jenkins-ci/main/jenkins-war/ http://repo.jenkins-ci.org/releases/org/jenkins-ci/main/jenkins-war/ So at least the wars are there, if not the native packages. On 27.09.2014, at 19:44, anoop4t...@gmail.com wrote: > Tha

Re: Block jobs running on same node

2014-09-28 Thread Daniel Beck
https://wiki.jenkins-ci.org/display/JENKINS/Throttle+Concurrent+Builds+Plugin ? On 29.09.2014, at 00:25, Andrew Sumner wrote: > I need similar behaviour to the Build Blocker Plugin but only block matches > on the same node. > > Ideally if another nodes is free then the build should be shunted

Re: Query which jobs are tied to a particular node

2014-09-29 Thread Daniel Beck
It's on the node page, below the list of labels ("Projects tied to (nodename)"). The jobs ' label must exactly match the node's name. https://wiki.jenkins-ci.org/display/JENKINS/Label+Linked+Jobs+Plugin may help if that is not the case. On 29.09.2014, at 20:15, Karl Ostmo wrote: > Clicking on

Re: jenkins slave as a service problems

2014-10-02 Thread Daniel Beck
With -secret, anonymous needs no permissions. Make sure slave.jar is up to date. On 02.10.2014, at 15:31, Ginga, Dick wrote: > On one of my previously working slaves is now having a problem running as a > service on Windows. The event log msg contains this: > > Child process [3268 - C:\Progra

Re: Jenkins is randomly deleting the descriptions of Parameters in our jobs -- is this happening to anyone else?

2014-10-02 Thread Daniel Beck
On 02.10.2014, at 22:38, Ken Beal wrote: > Hi, > > There are three things happening here, which seem "spooky". > > The first issue: when saving the "Configure" page of a job, I've gotten into > the habit of copying any "Description" I had changed, and pasting it into a > draft email. Then I s

Re: Swarm slave connection resiliency and interupted builds

2014-10-03 Thread Daniel Beck
A plugin with that feature is part of Jenkins Enterprise. http://release-notes.cloudbees.com/product/CloudBees+Long-Running+Build+Plugin Something similar will also be part of the upcoming workflow-plugin. https://github.com/jenkinsci/workflow-plugin On 03.10.2014, at 04:13, David Erickson wrote

Re: JSON support for Jenkins createItem / create job

2014-10-09 Thread Daniel Beck
> Is there anyway I can avoid an xml file but to use a "JSON" for that? Does > Jenkins createItem / createJob API supports JSON inputs? No. It's less of an XML based API, rather you're passing in the job's new config.xml, which just happens to be XML. Likewise, the /job/jobname/config.xml URL

Re: buildWithParameters API not returning JSON response for Jenkins 1.575

2014-10-09 Thread Daniel Beck
> (I can't find any documentation in regards to this that something did change Finding requires searching ;-) http://jenkins-ci.org/changelog#v1.561 What's new in 1.561 (2014/04/27) * Return queue item location when triggering buildWithParameters. (issue 13546) https://issues.jenkins-ci.org/bro

Re: Credentials separation and Git plugin

2014-10-11 Thread Daniel Beck
On 11.10.2014, at 15:48, 'Matthew Moore' via Jenkins Users wrote: > I believe CloudBees folder plugin allows for folder-scoped credentials, > combined with Folder permissions (might be a CloudBees enterprise plugin), > you might be able to achieve what you want. Folders have support for proj

Re: Disabling archiving artifacts

2014-10-14 Thread Daniel Beck
It's probably a Maven job doing its magic. On 14.10.2014, at 10:22, matthew.web...@diamond.ac.uk wrote: > Can't you just edit the job configuration and delete the "Archive Artifacts" > post-build step? > > From: John D. Ament [mailto:john.d.am...@gmail.com] > Sent: 14 October 2014 01:50 > To:

Re: Unable to get Jenkins to start on MacOS-X 10.10 Yosemite

2014-10-19 Thread Daniel Beck
Are you sure Jenkins is running? I'm asking because JENKINS-23543 indicates it might not even start on OS X Yosemite. https://issues.jenkins-ci.org/browse/JENKINS-23543 On 20.10.2014, at 01:09, Robin Mills wrote: > Folks > > I've had Jenkins running for months on my Mac Mini. I upgraded toda

Re: form too large

2014-10-21 Thread Daniel Beck
http://lmgtfy.com/?q=Form+too+large On 21.10.2014, at 19:52, Ginga, Dick wrote: > I'm getting this when I try to add some more statements to Windows batch > files steps in my, admittedly, large build job. I guess there is a maximum > job size? > > Stack trace > javax.servlet.ServletException

Re: groovy script problem

2014-10-22 Thread Daniel Beck
Has nothing to do with Groovy. You always get a fresh copy of the build environment: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/AbstractBuild.java#L1009 getEnvironments() is probably what you want. On 22.10.2014, at 19:36, Ginga, Dick wrote: > I am admitte

Re: createprojectadvance plugin and matrix-based security no longer working in jenkins 1.584

2014-10-23 Thread Daniel Beck
Probably caused by the fix for JENKINS-22769 in 1.584, so downgrading to 1.583 should be a viable workaround. You should file a bug against createjobadvanced in Jira. On 23.10.2014, at 15:03, rene.van.leeu...@ordina.nl wrote: > We do not want anonymous access to any job. > > Therefore we have

Re: error while trying to connect linux slave using private/public key

2014-10-27 Thread Daniel Beck
Try reading the error message and following its instructions. On 27.10.2014, at 09:05, niraj nandane wrote: > > 10/24/14 09:47:30] [SSH] Opening SSH connection to hostname:22. > [10/24/14 09:47:30] [SSH] Authentication successful. > SSH connection reports a garbage before a command execution. >

Re: Jenkins problem with clocks going back?

2014-10-27 Thread Daniel Beck
On 27.10.2014, at 17:16, matthew.web...@diamond.ac.uk wrote: > As stated, the usual way to handle this kind of thing is for the server to > keep time in UTC, and the application converts to local time for display etc. > purposes. The application, in this case, is Jenkins, and it doesn't look li

Re: groovy post build stops to work and no emails are sent

2014-10-27 Thread Daniel Beck
Those paths don't survive a Jenkins restart. That's how Jenkins makes resources cachable but still has them update properly after e.g. an update. On 27.10.2014, at 18:13, Sam T wrote: > I have seen another issue with the groovy implementation. The sample code for > extended email plugin jenkin

Re: Jenkins become unresponsive

2014-10-28 Thread Daniel Beck
While the thread is not blocked, it still looks suspiciously like http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7130796 On 28.10.2014, at 20:57, Isaac Cohen wrote: > Attached is a thread dump taken when jenkins was unresponsive. I couldnt find > anything suspicious, but maybe I missed som

Re: Jenkins update hangs on CentOS

2014-10-30 Thread Daniel Beck
Tracked as https://issues.jenkins-ci.org/browse/JENKINS-23273 On 30.10.2014, at 09:50, Yves Schumann wrote: > Hi Jason, > > YMMD! :-) > > I investigated a little deeper what's going on during "yum update". The > update seems to stuck at the command "chown -R jenkins /var/lib/jenkins" but >

Re: Correct Access Control with Apache frontend after upgrade ?

2014-10-30 Thread Daniel Beck
This looks like a known issue tracked as https://issues.jenkins-ci.org/browse/JENKINS-25144 On 30.10.2014, at 11:26, Edbras wrote: > Some week ago I upgraded to version 1.584 and access control doesn't work > well anymore, please some advice. > > I use Apache Frontend through ajp proxy as exp

Re: When did Jenkins remove local links? Sidebar + main page?

2014-11-04 Thread Daniel Beck
And the solution to get back all the security issues that are resolved by safe markup formatters is: Anything Goes Formatter Plugin. https://wiki.jenkins-ci.org/pages/viewpage.action?pageId=60915753 On 04.11.2014, at 23:14, Stephen Connolly wrote: > probably > https://wiki.jenkins-ci.org/dis

Re: Jenkins task to monitor LDAP server

2014-11-05 Thread Daniel Beck
Find a command line tool that does what you need (or write one yourself) and only schedule its execution with Jenkins. Also, this may be a case of the https://en.wikipedia.org/wiki/Law_of_the_instrument -- Jenkins isn't the best tool to do service monitoring. On 05.11.2014, at 17:01, Marco Ipp

Re: Passing environment variables using the parameterized trigger plugin

2014-11-07 Thread Daniel Beck
Is the downstream build triggered for every matrix axis that finishes building, or only once, when all axes finished? On 07.11.2014, at 05:46, Adam Mercer wrote: > On Thu, Nov 6, 2014 at 4:15 PM, Ginga, Dick > wrote: >> Change the jobname to labl:sl6? Or labl-sl6? > > I can't, that's what Je

Re: Display text page inside mail body with Email-ext plugin in Jenkins

2014-11-10 Thread Daniel Beck
On 10.11.2014, at 14:41, Alex Brodov wrote: > notepad If you mean the horribly broken text editor shipping with Windows, make sure there's no Unix newline (0x0a) at the line break. There also shouldn't be any other ASCII control characters for that matter. Use a hex editor to determine the e

Re: Subversion logger setup

2014-11-10 Thread Daniel Beck
The Jenkins logging isn't set up for a use case like that; use the Subversion server's access log (and filter by Jenkins master and slave IP addresses) instead. If you must use Jenkins, try setting up a log recorder for the following loggers: - hudson.scm.SubversionSCM - hudson.scm.listtagspara

Re: New message with 1.565.11.1

2014-11-11 Thread Daniel Beck
https://github.com/jenkinsci/jenkins/pull/1440 was an attempt to get rid of the message, but rejected because there was a reason for adding the warning. You could try filing a support request with Cloudbees, asking them to fix ZD-22406. On 11.11.2014, at 19:32, Walter Kacynski wrote: > Sorry

Re: openjdk or oracle on RHEL7?

2014-11-13 Thread Daniel Beck
Oracle JDK seems to generally work a little better, e.g. JENKINS-10442/JENKINS-23331 (that are probably the same issue). On 13.11.2014, at 11:54, Chris Withers wrote: > Hi All, > > Which JVM is recommended for running Jenkins on RHEL7. Oracle's offering or > OpenJDK? > > cheers, > > Chris >

Re: Setting ProjectMatrixAuthorizationStrategy using Groovy

2014-11-13 Thread Daniel Beck
Did you paste the entire script? The stack trace mentions line 41... On 13.11.2014, at 20:34, Sam Xiao wrote: > Hello all, > > I was setting authorization strategy using groovy , so I can put it in the > `init.groovy` as part of the Jenkins master setup. > > I was having some error on "no suc

Re: Passing environment variables using the parameterized trigger plugin

2014-11-13 Thread Daniel Beck
On 13.11.2014, at 22:21, Adam Mercer wrote: > The downstream build is triggered when all axes are finished. So it behaves correctly. The label part is only part of the sub-builds (where the project name has the suffix with the active axis values), not the overall build (which does not), and i

Re: Slave permissions and limiting which jobs a given slave will execute

2014-11-21 Thread Daniel Beck
On 21.11.2014, at 23:57, Jeff Thornsen wrote: > I also haven't looked into the Enterprise (paid) plugins from CloudBees to > see if they offer something that could do this for us. Cloudbees Folders Plus does exactly that. -- You received this message because you are subscribed to the Google

Re: Error using clipboard on MAC from Jenkins

2014-12-01 Thread Daniel Beck
The problem is likely that the pasteboard service is not available outside a graphical session. This is not a Jenkins issue. This should also happen when logging it to your Mac via SSH to a user account without active graphical session. `ps aux | grep pbs` should show you a pbs (paste board ser

Re: Best way to re-configure Jobs on-the-fly

2014-12-02 Thread Daniel Beck
Maybe check out the YAML Project Plugin? It should be available on the experimental update center. On 02.12.2014, at 19:13, Kenneth Baltrinic wrote: > Gentlemen, > > Thank you all for your responses. Here are my thoughts on the combination of > replies. > > The literate build plugin is cl

Re: jenkins group while in job is not the same as in terminal

2014-12-03 Thread Daniel Beck
On 03.12.2014, at 08:30, Tzook Bar Noy wrote: > in one of my jobs I created an ssh command that simply does Please be more specific what you're doing. How is SSH involved? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from

Re: What steps should I take to diagnose why output does not appear in Jenkins's "Console Output" immediately?

2014-12-03 Thread Daniel Beck
unbuffer, part of expect, may also help if this is the problem. What would be interesting is whether the log file for the build on Jenkins master gets written to immediately, or whether that's also delayed. On 03.12.2014, at 14:33, Rob Mandeville wrote: > I’m guessing that, if you run your com

Re: Can't get log info with Groovy Postbuild Plugin

2014-12-10 Thread Daniel Beck
On 11.12.2014, at 01:40, Rob D wrote: > Please tell me what I am doing wrong. >From http://docs.oracle.com/javase/7/docs/api/java/util/regex/Matcher.html, >emphasis mine: > • The matches method attempts to match the __entire input sequence__ against > the pattern. > • The find method scans th

Re: Update center is missing a plugin but it is listed in default.json

2014-12-11 Thread Daniel Beck
Is it already installed, maybe failing to load during startup? On 11.12.2014, at 14:46, Martin d'Anjou wrote: > I have an odd situation where I want to install the Summary Display Plugin, > bit it is not listed as being available on the web page of the update center. > However, I can see this

Re: Am I understanding Project Based Security Correctly?

2014-12-12 Thread Daniel Beck
Overall/Read does not give them access to any project (just Jenkins itself). So give the demo user 'Overall/Read' globally, as well as 'Job/Read' (or just 'Read') for the specific projects. Do not give them 'Job/Read' globally. The only thing missing is that they don't automatically have access

Re: Jenkins Job Creating Multiple Workspaces

2014-12-12 Thread Daniel Beck
This should only happen if you configured the job to run multiple builds in parallel. If that's not the case: 0. Make sure Jenkins is up to date. This one should be really obvious. If you're on 1.560 or lower, this may be JENKINS-21622. 1. Check the system log at the URL /log/all to see whethe

Re: How to Use Different Dependencies in Each Branch?

2014-12-16 Thread Daniel Beck
YAML Project Plugin or Literate Plugin might help. Basically, a job type that gets most of the "how to build" instructions from SCM. On 16.12.2014, at 17:00, John Mellor wrote: > I'm building a large number of C++ projects on a Ubuntu host using the > Jenkins free-style multi-branch project ty

Re: How to Use Different Dependencies in Each Branch?

2014-12-16 Thread Daniel Beck
; Thanks! However, neither one of those seem to be listed in the plugin > manager as available plugins. Where do you get them? > > -Original Message- > From: jenkinsci-users@googlegroups.com > [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck > Sent:

Re: Spanner links are broken

2014-12-17 Thread Daniel Beck
What URL are you on when you click the link, and what URL does the link point to? Are you using a reverse proxy? Are you getting a reverse proxy error message on the /manage page? (these are independent questions) Anything interesting in the log? This may be the same issue as JENKINS-25986, bu

Re: Grape support in Worflow Plugin and JAR support in cps-global-lib?

2014-12-21 Thread Daniel Beck
Jira would be the correct site for feature requests, unless you want to e.g. discuss them or determine how big demand is. I told you in JENKINS-18349 that it's best to have a separate issue for each affected component so it actually reaches the correct developers who often only care about issues

Re: [WorkFlow plugin] Parameterized Build

2014-12-23 Thread Daniel Beck
See https://issues.jenkins-ci.org/browse/JENKINS-26143 On 23.12.2014, at 12:24, El alaoui Mohamed Reda wrote: > When i generate the groovy code with Snippet Generator to do input list > parameters like this : > > input id: 'Server', message: 'Choose the server', ok: 'Proceed', parameters: > [

Re: Build multi-configuration project option missing in Jenkins 1.595

2014-12-26 Thread Daniel Beck
Enable the Matrix Project Plugin in 'Manage Jenkins » Manage Plugins » Installed', and restart Jenkins. It comes bundled with all Jenkins packages distributed by the Jenkins project. If you're using a custom-built Jenkins package, you should be able to install it from the 'Available' tab. On 26

Re: java.io.IOException: error=12, Cannot allocate memory

2015-01-05 Thread Daniel Beck
That was my first guess as well. But it seems that the JRE defaults to using vfork though, which should not have this problem... right? https://en.wikipedia.org/wiki/Fork_%28system_call%29#Vfork http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/file/4645fadf8352/src/solaris/classes/java/lang/UNIXProcess

Re: Preventing a scheduled build if a user has manually started the job within 24 hours

2015-01-06 Thread Daniel Beck
Without relying on plugins, I'd make sure there's a longer quiet period for the job so you can cleanly cancel the build while still in the queue. Other than that, there's an extension point -- Queue.QueueDecisionHandler -- that plugins can implement to deny queueing of a build. It should be fair

Re: Preventing a scheduled build if a user has manually started the job within 24 hours

2015-01-06 Thread Daniel Beck
nd have the wrapper job determine if the job needs to be run or not. You > should be able to just grab the json/python/xml from the lastSuccessfulBuild > and do some simple date math - a shell script would suffice. > > On Tue, Jan 6, 2015 at 1:53 PM, Daniel Beck wrote: > Without re

Re: Test description set from a Groovy Postbuild script disappears

2015-01-06 Thread Daniel Beck
Test results are stored in weak references to be discarded in case memory is required for something else. Builds themselves aren't kept in memory either. And the code you have does not persist test results to disk. https://github.com/jenkinsci/junit-plugin/blob/master/src/main/java/hudson/tasks/

Re: Oddities in display formatting...

2015-01-09 Thread Daniel Beck
> ISSUE #1 > Is there a way to make it not wrap the right pane below the left pane when > the window size is smaller and instead make it stay in position and scroll to > the right instead? That's a feature. Make the window wider, Jenkins needs the space to show things side by side. > ISSUE #2

Re: svn checkout options

2015-01-09 Thread Daniel Beck
Should be possible by uncommenting the use-commit-times option in ~/.subversion/config on all nodes building the job. Subversion plugin (or rather SVNKit) appears to honor these options as defaults. On 10.01.2015, at 00:35, David Carson wrote: > Any response? I would also like to know the ans

Re: jenkins 1.596 bug report

2015-01-13 Thread Daniel Beck
Known issue that'll be fixed in 1.598 or so. https://issues.jenkins-ci.org/browse/JENKINS-26312 Please don't file a new bug. On 13.01.2015, at 22:11, Lou, Leo GCPE:EX wrote: > Hi there, > There are seems a bug in the latest version that “Apply” and “Save” button > were hidden when page in win

Re: Weird rendering of "Save" and "Apply" buttons on at least the Global Security page

2015-01-15 Thread Daniel Beck
These are known issues that will be fixed by 1.598 or so. On 15.01.2015, at 23:12, K Richard Pixley wrote: > I'm using firefox developer edition and I'm seeing that behavior on all > pages that have those buttons. > > As a newbie, I didn't even realize they could or would ever be rendered > any

Important: Upgrading to Jenkins 1.597

2015-01-20 Thread Daniel Beck
Jenkins 1.597 changes the on-disk layout of build records. Before, it used timestamps, now it's build numbers. See: https://issues.jenkins-ci.org/browse/JENKINS-24380 https://wiki.jenkins-ci.org/display/JENKINS/JENKINS-24380+Migration Some plugins rely on the previous behavior. Fixes have been p

Re: Discard old builds not working

2015-01-20 Thread Daniel Beck
Old builds get discarded after a new build finishes. It's not immediate. On 20.01.2015, at 17:48, Arpit Gupta wrote: > Hi > > I am running version 1.595 and running into issues where old builds are not > being discarded. I had previously set both Days to keep builds and max number > of builds

Re: Archived results not being kept according tot he job configuration

2015-01-20 Thread Daniel Beck
The option has ben migrated into the log rotator in newer Jenkins versions because it was so weird/redundant. On 20.01.2015, at 18:34, Eric Wood wrote: > I have resolved this. Under the archive artifacts section is an advanced > checkbox that says only keep the latest in order to save disk sp

Re: Discard old builds not working

2015-01-20 Thread Daniel Beck
corder you created for diagnostic information. On 20.01.2015, at 18:25, Arpit Gupta wrote: > I have builds that have finished today(this morning) and as far out as 5 days. > > I had made the configuration change yesterday. > -- > Arpit > >> On Jan 20, 2015, at 9:20

Re: Please remove archived packages from main yum repo mirror

2015-01-20 Thread Daniel Beck
We didn't have the old releases around for a long time, and archives.jenkins-ci.org was supposed to solve this. I reopened INFRA-102, maybe archives can be sped up. If you want archived releases to be gone from the yum repo anyway, file an INFRA issue. On 20.01.2015, at 22:26, Aaron Johnson w

Re: Use of LDAP plug in and issues with AD groups

2015-11-03 Thread Daniel Beck
Have them go to the URL /whoAmI (uppercase i). Compare the group memberships shown there to what you expect. Possible issues I can think of: - No recursion. You're not considered a member of group X if you're just a member of group Y, and only that is a member of group X. - Mind upper/lower case

Re: how do i redirect a 404 error page in jenkins to the login page?

2015-11-04 Thread Daniel Beck
Don't allow anonymous Overall/Read access, or grant everyone the Job/Discover permission globally. On 03.11.2015, at 15:30, 'Eric Wood' via Jenkins Users wrote: > Further question ... it appears that I can add a section in the jenkins.war > web.xml as follows: > > > 404 > /jspsnoop/ERRO

Re: Unable to pass the excel file as parameter thru File Parameter.

2015-11-05 Thread Daniel Beck
What you specify as parameter name is actually the name of the file used in the workspace, and not a variable. So get rid of the surrounding % chars in the batch step. On 05.11.2015, at 10:28, Narmadha Vigneshwaran wrote: > Ii have used File Parameter as command line arguments.After selecting

Re: Jenkins Slave 1.555 config file

2015-11-06 Thread Daniel Beck
Part of $JENKINS_HOME/config.xml On 06.11.2015, at 14:47, Eric Naitove wrote: > To save hours and hours of time... Where in the work is the configuration > files for slaves on Jenkins 1.555. New Jenkins it's in a specific folder > BUT... > > -- > You received this message because you are s

Re: Job #s are inconsistent after restore from thinBackup

2015-11-12 Thread Daniel Beck
Set Next Build Number Plugin allows you to set the value in memory. Jenkins doesn't read from the file except when loading the Job. On 12.11.2015, at 17:49, Guy Matz wrote: > Hi! I was lucky enough to be able to restore from a backup and a disk > failure, but now *some* of my jobs are misnumb

Re: Any quick way to convert 50+ VS .net manual builds into Jenkins?

2015-11-16 Thread Daniel Beck
On 16.11.2015, at 15:51, Jirong Hu wrote: > Jenkins project has everything inside a folder, I can copy a sample > project/folder to create a new one and modify something. That works while Jenkins is stopped. (There are ways to do it while Jenkins is running but those script internals and prob

Re: Signature verification failed in downloadable 'hudson.tasks.Maven.MavenInstaller'

2015-11-16 Thread Daniel Beck
KK needs to fix the cert/secret used by the crawler, similar to the issue on the update site a few weeks ago (which he fixed). I'll keep annoying him until he fixes this :-) Workarounds should be to use a slightly older build of Java, or customize JAVA_HOME/lib/security/java.security to set `

Re: Matrix Authorization Strategy Plugin - max number of user entries?

2015-11-17 Thread Daniel Beck
Isn't this only the issue with the limit of form submission size? If so, should suffice to set the system property org.eclipse.jetty.server.Request.maxFormContentSize to 0 (or -1?). On 17.11.2015, at 18:12, G Dameron wrote: > Our IT folks are reporting that the global security matrix maxed out

Re: Can Folders to have OWN parameters?

2015-11-23 Thread Daniel Beck
On 23.11.2015, at 11:47, Stephen Connolly wrote: > closed source folders-plus plugin It's in that. -- 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 jenkinsc

Re: Balancing Distributed Nodes

2015-11-23 Thread Daniel Beck
Maybe this helps? https://wiki.jenkins-ci.org/display/JENKINS/Least+Load+Plugin On 24.11.2015, at 00:29, Fabricio Leotti wrote: > Hello! > > Normally I use the USAGE strategy of my nodes as "utilize this node as > much as possible" and group labels (in this case 2 nodes). > > I am getting too

Re: How to extend $PATH used by Jenkins?

2015-11-25 Thread Daniel Beck
On 25.11.2015, at 09:32, Jochen Hayek wrote: > Have a look at the "Build Environment" section, particularly at "Properties > Content"! … which is provided by the EnvInject Plugin. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscr

Re: LDAP authentication problem for multiple OUs

2015-11-25 Thread Daniel Beck
How about: OU=Users On 26.11.2015, at 06:10, Ramaprakash Ganesan wrote: > I am trying to get all our organization users to login using their LDAP > domain credentials to Jenkins. > With the options below, only users under 1 particular OU are able to login. I > want to provide multiple OUs to

Re: LDAP plugin, warning after Jenkins upgrade v1.638

2015-11-26 Thread Daniel Beck
Click the plugin name and then scroll down. On 26.11.2015, at 08:57, Lavr L wrote: > Hi > > I upgraded Jenkins to last release 1.638 and now I have the following warning > for LDAP plugin: > Warning: the new version of this plugin claims to use a different settings > format than the installed

Re: Missing build status in the build history of several jobs

2015-11-30 Thread Daniel Beck
On 30.11.2015, at 20:00, lvoty...@redhat.com wrote: > It is possible that builds are not loaded. The build.xml are missing, so they cannot be loaded. --- Maybe these builds were deleted, and deletion was incomplete? -- You received this message because you are subscribed to the Google Groups

Re: Commit hook causes not respecting choice parameter defaults

2015-12-01 Thread Daniel Beck
No, it's a bug. Its fix is waiting to be merged (Git Plugin PR 356). On 01.12.2015, at 10:54, Dave Save wrote: > Hi everyone, first time question. > > I noticed that builds originating from git commit > (BUILD_CAUSE=COMMITHOOKCAUSE) have none of the choice parameters defaults. > > Is that nor

Re: Command not found error on bash build script

2015-12-02 Thread Daniel Beck
On 02.12.2015, at 17:38, Gouri Nair wrote: > Can someone tell me what could be wrong? Has absolutely nothing to do with Jenkins. It's just invalid bash syntax. Get rid of the space around the '=' char. In the future, try whether what you're doing works outside Jenkins before asking for help.

Re: Deleting Builds from Build Queue when Superseded By Newer Patchsets

2015-12-04 Thread Daniel Beck
Someone on IRC recently wanted to limit the number of queue items for a job, so I wrote: https://github.com/daniel-beck/fixed-fifo-queue-plugin Could be close enough to what you need. Completely unsupported. On 04.12.2015, at 15:48, James Pascoe wrote: > Hi Everybody, > > I have b

Re: form too large error

2015-12-05 Thread Daniel Beck
On 05.12.2015, at 15:24, Rohit Sharma wrote: > I am using jenkins version 1.639. Please tell me how to fix form too large > error. I was trying to add ssh credentials to login to remote server in order > to automate tasks but after couple of entries it started throwing form too > large error.

Re: JDK installer from java.sun.com is asking for the JDK ID

2015-12-09 Thread Daniel Beck
This should be resolved since earlier today. On 09.12.2015, at 18:24, Andrew Bayer wrote: > I've seen it in the latest LTS - only thing I've found that clears it up is > restarting a few times and force-updating. I think it might be the cert > issues on tool installer metadata that Kohsuke's s

Re: [Jenkins-events] which logo do you like best?

2015-12-14 Thread Daniel Beck
On 14.12.2015, at 20:17, Alyssa Tong wrote: > Hello, > > Planning is underway for Jenkins World 2016 in Santa Clara, CA. This will be > a three days Jenkins conference for 2016. I wanted to solicit feedback for > the new Jenkins World logo. Attached are some options to choose from, let us

Re: Zero Day attack due to Apache Commons statement to widespread Java object de-serialisation vulnerability

2015-12-16 Thread Daniel Beck
On 12.12.2015, at 18:44, Indra Gunawan (ingunawa) wrote: > With the Java 7 to run requirement, I want to confirm the following: > 1. Jenkins master and all its slave needs to run JDK 7 or above (JDK7 or > above to run Jenkins master process and SSH slave to connect needs to run > JDK 7 or above)

Re: how to cancel build queue jobs in jenkins by only using the build number, which are not started by jenkins and are in its build queue through REST API

2015-12-18 Thread Daniel Beck
On 15.12.2015, at 14:56, tushar singhal wrote: > how to cancel build queue jobs in jenkins by only using the "build number" > through REST API, which are not started by jenkins and are in its build > queue. Trigger the build programmatically using the documented API (at /job/JOBNAME/api), a

Re: How to prevent Jenkins from adding single quotes to parameterized vlaues

2015-12-18 Thread Daniel Beck
I answered this on IRC. Here's basically the same answer again: http://stackoverflow.com/a/34364786 On 18.12.2015, at 22:57, no...@gmx.com wrote: > I've also tried doing this: > Name: OPTS > Default Value: -o tmp -e "arg1=${VAR1} arg2=${VAR2} arg3=${VAR3}" > > Execute shell command: > ARGS=$(ech

Re: lots of fun with jenkins url

2015-12-20 Thread Daniel Beck
On 20.12.2015, at 23:13, Max Kovgan wrote: > So, is this possible with my nginx misconfigured? Are you setting X-Forwarded-Port? Find out by running `org.kohsuke.stapler.Stapler.getCurrentRequest().getHeader('X-Forwarded-Port')` in the script console. Also interesting would be what the outpu

Re: Users' cannot log out

2015-12-20 Thread Daniel Beck
On 20.12.2015, at 09:03, Swiveling Raveesh wrote: > Am I misconfiguring something? I think this is the regular behavior when anonymous has no access to Jenkins at all -- it'd show the login form for 'normal' security realms, for SSO based ones it's redirecting to the external authentication

Re: Workflows and SCM Polling

2015-12-21 Thread Daniel Beck
Documentation: https://github.com/jenkinsci/workflow-plugin/blob/master/scm-step/README.md#polling > On 21.12.2015, at 17:05, Mark Bidewell wrote: > > I am considering Workflows to automate build and release. Can a workflow be > called in a CI polling manner? There is a "Poll SCM" build trigg

Re: lots of fun with jenkins url

2015-12-21 Thread Daniel Beck
> On 21.12.2015, at 10:19, Max Kovgan wrote: > > After setting it to: IP:EXT_PORT, everything started working. Weird, we should already support both cases (i.e. separate and combined host/port). Maybe you could take a look at this and compare to your setup? https://github.com/jenkinsci/jenkin

Re: Users' cannot log out

2015-12-21 Thread Daniel Beck
> On 21.12.2015, at 04:58, Swiveling Raveesh wrote: > > I guess that would make sense that it just redirects back to the SSO page. > But right now a logged in user cannot sign out at all. So once you are logged > in there is no way to authenticate with a different account unless you > manuall

<    1   2   3   4   5   6   7   8   9   10   >