Re: How can I view the pass/fail rate of a job

2013-09-26 Thread Daniel Beck
You could use the Project Statistics Plugin. On 26.09.2013, at 14:18, Didac Herrera wrote: > I want to view the pass/fail rate of the jobs executions > Example: > > Task X > > - Executed 12441 times > - Pass 12000 times > - Fail 441 > > Is there this posibility without counting executions res

Re: Slave ${WORKSPACE} not set correctly

2013-10-05 Thread Daniel Beck
On 04.10.2013, at 22:24, Andrew Barber wrote: > Ok, after some testing with a newer release, I have narrowed it down to > Environment Injector Plugin. When this plugin is enabled, WORKSPACE is > incorrect on slave nodes. Disable it and everything is good. I'll have to > move my bug over to

Re: List Jobs by plugins used?

2013-10-07 Thread Daniel Beck
If you're a Jenkins Enterprise customer, check out http://release-notes.cloudbees.com/product/Plugin+Usage+Plugin I also wrote a Groovy system script (Groovy plugin) a while back that generates an HTML report of all used builders, publishers, build wrappers, and project types. I just have to fi

Re: LTS 1.509.3 -- Bad Fingerprint Invasion

2013-10-08 Thread Daniel Beck
It looks like you're referring to https://issues.jenkins-ci.org/browse/JENKINS-19515 which will be fixed in 1.509.4. There's already an RC, so you could try upgrading. Did you test the 1.509.3 RC when it was available for almost four weeks before the final version was released? On 09.10.2013,

Re: List Jobs by plugins used?

2013-10-09 Thread Daniel Beck
The following 'Groovy system' (requires Groovy plugin) build step script works for Project subclasses, i.e. freestyle projects. This works well enough for me, you might need to adapt for other project types (like Maven). It prints lists of projects by publisher/build wrapper/builder/trigger, and

Re: Attach report text files to build?

2013-10-09 Thread Daniel Beck
HTML Publisher, despite the name, can also publish text files to be displayed in the web browser. In fact, it'll archive anything in the directory you specify, so you should write those reports into a subdirectory. Alternatively, Sidebar-Link Plugin and link to 'lastSuccessfulBuild/archive/path

Re: Role Strategy Plugin - how to apply multiple patterns in project roles

2013-10-11 Thread Daniel Beck
There's no way to define multiple patterns for a given role (which would enable different permissions depending on the job for the same role). But the pattern '(RB|HMI|JXE)_MIB.*' should do it. Maybe look up the java.util.regex.Pattern docs? On 11.10.2013, at 13:25, Jan Seidel wrote: > > >

Re: Job category-based security

2013-10-15 Thread Daniel Beck
You could use the Role Strategy Plugin, if your 'job categories' are reflected in the job names, as it uses regular expression pattern matching on the job name to assign permissions. Alternatively, organize your jobs in folders (Cloudbees Folders plugin) and assign permissions based on these it

Re: Jenkins 1.514 successfully uses explicitly told ANT version to build, but fails to find ANT when asking to use "Standard".

2013-10-18 Thread Daniel Beck
The 'default' tool version uses whatever is the preferred version on the node's PATH. In this case, there is none. This can be useful when you don't care about the Java version used in a job, and have the executing node use its default installation without having to configure the path for every

Re: Jenkins 1.514 successfully uses explicitly told ANT version to build, but fails to find ANT when asking to use "Standard".

2013-10-22 Thread Daniel Beck
ike you talk about JDK. > > Am Freitag, 18. Oktober 2013 18:55:22 UTC+2 schrieb Daniel Beck: > The 'default' tool version uses whatever is the preferred version on the > node's PATH. In this case, there is none. > > This can be useful when you don't care abo

Re: Null pointer exception in ExtendedEmailPublisher after updated jenkins it's plugin and build script- Jenkins ver. 1.536 - Email Extension Plugin ver. 2.35.1

2013-10-22 Thread Daniel Beck
I think we had this just yesterday, try removing and adding the email-ext publisher, then make sure to add a trigger (e.g. 'Success'). On 22.10.2013, at 14:59, mubbashir wrote: > Hi guys, > > Today I had updated jenkins and it's plugin, after the update I am getting > some weird exception as

Re: Different behavior while executing puppet lint through jenkins

2013-10-22 Thread Daniel Beck
You don't have your usual shell environment when running a command from Jenkins. Compare the output of the 'env' command. >From the installation instructions at https://rvm.io/rvm/install, it looks >like you just need to add the command source $HOME/.rvm/scripts/rvm before your find comman

Re: Problems in login using LDAP server

2013-10-22 Thread Daniel Beck
What's shown on /whoAmI ? On 22.10.2013, at 23:01, Mauricio Fuentes Montero wrote: > Hi everyone, > > I'm trying to configure security for a new instance of jenkins using LDAP. > Our LDAP server allows anonymous queries and I've set up all the needed > information on jenkins. When I try to l

Re: Problems in login using LDAP server

2013-10-22 Thread Daniel Beck
On 22.10.2013, at 23:21, Mauricio wrote: > Are you refering to the *nix command or is that a Jenkins plugin? That's a URL path to a Jenkins page with some diagnostic information about your user account. Open http://jenkinshost/whoAmI or http://jenkinshost/jenkins/whoAmI (depending on your conf

Re: Different behavior while executing puppet lint through jenkins

2013-10-22 Thread Daniel Beck
.2.5, > rake-10.1.0, rubygems-bundler-1.4.0, rubygems-bundler-1.3.4, rvm-1.11.3.8] > (Gem::LoadError) > > > Not getting any clue to fix this issue, any help please? > > > On Tuesday, October 22, 2013 11:00:44 AM UTC-7, Maneesh M P wrote: > I did that, I tried providin

Re: Problems in login using LDAP server

2013-10-24 Thread Daniel Beck
On 22.10.2013, at 23:01, Mauricio Fuentes Montero wrote: > RemoteIpAddress: 127.0.0.1; Is Jenkins behind a reverse proxy? What happens when you try to access it directly? When you go to 'Manage Jenkins', does an error about your reverse proxy setup appear? Did you configure the URL to Jenki

Re: Compiler warnings script in global configuration

2013-10-25 Thread Daniel Beck
Do you use the Timestamper plugin on the affected job? Does it work when you remove that feature from the job? On 25.10.2013, at 02:12, Maneesh M P wrote: > I copied the error and paste to Example log file box and it just works fine > there. Even in the sample log box, I pasted with or without

Re: Setting "Started by" value?

2013-10-25 Thread Daniel Beck
Try this: https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin#GitPlugin-Pushnotificationfromrepository Set the job to poll once a day or so ('H H * * *') to enable it to react to that call. On 25.10.2013, at 22:23, cscooper wrote: > I have a post-commit hook in GIT that launches the associ

Re: Jenkins CloudBee Folders plugin usage, migration, and best practices recommendations

2013-10-28 Thread Daniel Beck
I started using folders around seven months ago. The following is based on the advantages I experience in using folders, as well as the problems I've encountered. It's not a high level overview. Some of this will probably already be obsolete, but it should still serve to illustrate the kind of i

Re: build failed due to bug in code

2013-11-01 Thread Daniel Beck
This can be trivially reproduced: Create a Maven installation, remove the auto-installer, and leave the path empty. Configure it to be used in a Maven job, and run it. On 01.11.2013, at 15:30, Mark Waite wrote: > John Kerr recently reported a similar stack trace. > > https://groups.google.com

Re: git polling is broken for me (ugh!)

2013-11-04 Thread Daniel Beck
It's under 'Additional behaviors', the last item in the Git SCM section of your job configuration. On 04.11.2013, at 22:06, Steve K wrote: > Where would I set "Force polling using workspace"? > I don't see that option in the job config nor in the server config. > > > > -- > You received thi

Re: How to remove disk-usage plugin completely?

2013-11-06 Thread Daniel Beck
It's a warning, not an error. Go to Manage Jenkins » Manage Old Data, and discard all the unloadable data there. Then restart. No warnings related to Disk Usage plugin should appear anymore. On 06.11.2013, at 12:13, dennys wrote: > I want to remove disk-usage, but when I remove it, I got the

Re: How to remove disk-usage plugin completely?

2013-11-07 Thread Daniel Beck
Yes. Discarding unloadable data, possibly repeatedly, should get rid of that. On 07.11.2013, at 10:50, dennys wrote: > I find every build.xml has this data, is it the root cause ? > > plugin="disk-usage@0.20"> > >496686 >98684340 > > > > > > > -- > V

Re: Release date of next LTS release

2013-11-14 Thread Daniel Beck
Kohsuke posted the release candidate today, so you could start using (or at least testing) that: See http://jenkins-ci.org/stable-rc On 14.11.2013, at 19:09, VFloyd wrote: > Any update on the next LTS release date? > > > > On Sunday, October 13, 2013 1:23:08 AM UTC-7, scl.gplus wrote: > Hi,

Re: Dashboard column to show last build time?

2013-11-14 Thread Daniel Beck
Compact Columns can do this. Configure it to only show the latest build. The result is color-coded. On 14.11.2013, at 23:02, Scott Evans wrote: > Is there any way to have a column on the main screen which shows (and allows > sorting) based on the time since the last build? There are already c

Re: Label restriction issue

2013-11-15 Thread Daniel Beck
This should work. Open http://yourjenkins/label/LABEL1&&LABEL2&&!NODE_NAME -- which slaves does it show to match this expression? Is the one this should not run on listed as well? On 15.11.2013, at 10:06, Thomas wrote: > Hi, > > I am encountering an issue with Label restrictions: > I want a

Re: sloccount plugin

2013-11-15 Thread Daniel Beck
On 15.11.2013, at 17:40, "Kevin Fleming (BLOOMBERG/ 731 LEXIN)" wrote: > it's not clear whether there has been a new release of the sloccount plugin > that includes the fix or not Not directly related to the thread topic, but click the link to the commit on Github in the Jira comments section

Re: Sharing my views

2013-11-16 Thread Daniel Beck
Maybe it's a permissions issue. What authorization realm (e.g. 'Anyone can do anything', 'Logged in users can do anything', ...) are you using? On 16.11.2013, at 19:05, CLOSE Dave wrote: > > When others connect, they see omly the default view. I want everyone to see > all the views automatica

Re: Is there a sample for LDAP plugin to connect to Active Directory?

2013-11-18 Thread Daniel Beck
On 18.11.2013, at 11:07, dennys wrote: > I think I can use LDAP plugin, but I cannot find a sample. For example, our > AD doesn't allow anonymous query, but I'm not sure how to configure the > "manager DN". Is there a sample of AD for LDAP plugin? I've been using the LDAP plugin for Active Dire

Re: Is there a sample for LDAP plugin to connect to Active Directory?

2013-11-18 Thread Daniel Beck
On 18.11.2013, at 15:04, Maciej Jaros wrote: > NOTE! The auth will work without it but will be VERY slow. Probably can be circumvented by using the global catalog at port 3268. That's what I do. I need to leave userSearchBase empty because of distributed user management: I have no idea where/h

Re: Matrix-based security does not authenticate group users in Active Directory

2013-11-18 Thread Daniel Beck
Does it show the 'group' icon, or an error icon when you're assigning permissions to a group? What's the result when running the test script at https://wiki.jenkins-ci.org/display/JENKINS/LDAP+Plugin#LDAPPlugin-Troubleshooting ? When you open http://yourjenkins/whoAmI, are all the expected gro

Re: Backup "Managed Scripts"

2013-11-18 Thread Daniel Beck
You seem to have been searching everywhere... but the actual plugin source code. AFAICT from it, the scripts are stored in two XML files in Jenkins Home, buildstep-config-files.xml and org.jenkinsci.plugins.managedscripts.WinBatchConfig.WinBatchConfigProvider.xml (or similar). On 19.11.2013, a

Re: svn plugin: access build script resources that are above current workspace level

2013-11-20 Thread Daniel Beck
Use SVN externals to reference the central scripts in each of the project folders. On 20.11.2013, at 20:34, Michael wrote: > I would like to reduce file duplication by moving a couple of rake build > script dependencies to a parent dir level like this: > > Current hierarchy: > > /svn/xcodepr

Re: Difference btw. Enterprise Role-Based-Access-Control and Free Role-Strategy Plugin?

2013-11-21 Thread Daniel Beck
I've used Role Strategy for about two years before switching to RBAC in spring this year, on a medium-sized instance (100 or so users from LDAP, 10+ project teams, 15 slaves). We have fairly complex permissions setup for some users, so I feel like I reached the limits of both plugins fairly quic

Re: Upgraded to 1.540, when a new job is created via the CLI using the copy-job command, the "Build with Parameters" button is not available

2013-11-21 Thread Daniel Beck
Could be related to https://issues.jenkins-ci.org/browse/JENKINS-2494 You probably just need to re-save the job configuration once for every such job. On 21.11.2013, at 20:49, Jason Stanley wrote: > I just upgraded to version 1.540. > > Linux server. > > Problem: > New jobs do not include the

Re: best way to update jenkins on ubuntu 13.10?

2013-11-22 Thread Daniel Beck
On 22.11.2013, at 09:27, Marius Gedminas wrote: > There's a bug in upstream packaging that breaks upgrades: > https://issues.jenkins-ci.org/browse/JENKINS-18798 > > There's a related bug that makes Jenkins not start up on boot: > https://issues.jenkins-ci.org/browse/JENKINS-19329 Are these rea

Re: How to use the REST API to submit and follow jobs

2013-11-22 Thread Daniel Beck
There's a (very) new plugin that seems to do exactly what you want: https://github.com/Spedge/job-run-uuid https://github.com/jenkinsci/job-run-uuid-plugin Its developer wrote on the Jenkins devs list: > The plugin allows you to request a build from the API but it returns a JSON > snippet with

Re: Move existing jobs into folders

2013-11-22 Thread Daniel Beck
You can manually move jobs from the 'jobs' directory into 'jobs/foldername/jobs'. It will break any existing job relationships, but plugins should be able to deal with disappearing jobs. But you should still be able to use the full-featured, closed-source Folders 3.x if you tell Cloudbees your

Re: Build Pipeline links do not work in the view for the pipeline jobs is in the folder iteself

2013-11-22 Thread Daniel Beck
On 22.11.2013, at 19:09, Eric Wood wrote: > The triggers for the job work, just linking to the results from the jobs in > the pipeline does not. It seems like a bug and that it would be pretty easy > to fix and would add a lot of value to managing pipeline jobs. Generally bad support for fold

Re: Move existing jobs into folders

2013-11-22 Thread Daniel Beck
On 22.11.2013, at 19:18, Eric Wood wrote: > How do you gain access to the "closed-source" version. Is this part of the > CloudBees Free Enterprise Plugins? Apparently, not anymore. It already includes Folders 4 when I tried it on a Jenkins 1.532.1-rc. But you can install that, wait until Jenk

Re: Move existing jobs into folders

2013-11-22 Thread Daniel Beck
pgrading to the then-current version will remove all of these shiny features, which can be painful especially for the folder-wide environment variables! On 22.11.2013, at 19:36, Daniel Beck wrote: > On 22.11.2013, at 19:18, Eric Wood wrote: > >> How do you gain access to the "

Re: Move existing jobs into folders

2013-11-22 Thread Daniel Beck
On 22.11.2013, at 20:07, Eric Wood wrote: > "upload it to Jenkins via the update center"? Go to http://yourjenkins/pluginManager/advanced and scroll down to 'Upload Plugin'. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe fro

Re: How to display archived maven artifacts on top level of job page rather than via modules subpage.

2013-11-25 Thread Daniel Beck
You should create a Jira issue for this feature request instead of posting this here. Unless this is intended to start a discussion? You could also try the Freestyle project type with Maven build step and just archive things yourself. Apparently, it's less evil: http://javaadventure.blogspot.de

Re: Java Version 7, Update 45 warning every time I try starting the slave

2013-12-02 Thread Daniel Beck
Download from your Jenkins at https://ci.domain.com/jenkins/jnlpJars/slave.jar On 02.12.2013, at 20:58, Jeremy Morton wrote: > I am not finding slave.jar, and that command errors with: > > Error: Unable to access jarfile slave.jar > > On Friday, November 29, 2013 4:13:31 AM UTC-5, Mikael Larss

Re: Crash starting Jenkins master today

2013-12-02 Thread Daniel Beck
Go to the Jenkins web site, then click on changelog, then click on communty ratings. You're not alone. Check out the reports affecting 1.541: https://issues.jenkins-ci.org/browse/JENKINS-20757 https://issues.jenkins-ci.org/browse/JENKINS-20765 https://issues.jenkins-ci.org/browse/JENKINS-20630 ht

Re: Upgrade from 1.472 to 1.541 failing

2013-12-03 Thread Daniel Beck
'Access violation in the error log' is probably JENKINS-20630 / JENKINS-20779. On 03.12.2013, at 22:53, Mark Waite wrote: > That is good to hear. If you can afford the time, I think the developers > would like to know you're setup that failed upgrade. However, they need you > to narrow the cau

Re: Running daemon processes

2013-12-03 Thread Daniel Beck
Good tools and scripts can handle spaces and other weirdness in file/folder names. This is not a Jenkins issue (unless it happened in a Jenkins component -- but it doesn't look like it!). If you write your own shell scripts, remember to double-quote variable references. For example, `some_comma

Re: configuring Mavin Setup automatically on Mac

2013-12-03 Thread Daniel Beck
https://wiki.jenkins-ci.org/display/JENKINS/Tool+Auto-Installation First Google hit. On 02.12.2013, at 08:21, kumar wrote: > Hi > > I am new to Jenkins and have setup Jenkins on a Mac. to setup Mavin I > selected "Install Automatically" and clicked on Save. Is there something that > should

Re: Remote API for 'keep forever' flag?

2013-12-04 Thread Daniel Beck
In /job/foo/123/api/xml, it's the 'keepLog' element. On 05.12.2013, at 01:40, "Canova, Frank" wrote: > Is there a REST API to determine if a build is marked as ‘keep forever’? I > realize we can change the flag through REST, but I don’t see a query to get > its status. > > The background: We

Re: Get Build Number in Post Steps System Groovy Script

2013-12-04 Thread Daniel Beck
currentBuild.number is also null? On 05.12.2013, at 02:04, Bill Wonch wrote: > Hi everyone - > > I've got the following code: > > import hudson.model.*; > import hudson.util.*; > > def thr = Thread.currentThread(); > def currentBuild = thr?.executable; > > def buildNumberField = "BUILD_NUMBE

Re: UnmodifiableList while trying to programmactically add a Builder to a Job

2013-12-10 Thread Daniel Beck
Use getBuildersList instead. The following works for me in the Script Console: def i = Jenkins.instance.getItemByFullName("foo") // might be different from yours def l = i.buildersList def oldBuilders = l.toList() l.clear() l.add(new hudson.tasks.Shell("ech

Re: What's the api call to set the Build Display Name?

2013-12-14 Thread Daniel Beck
On 13.12.2013, at 23:03, lfast wrote: > I found references to an API call for submitDescription. Is there an API > call that sets the Build Display Name called submitName? How would I find out > ... without writing code that actually tries it? Is there a generaly way to > discover obscure i

Re: Jenkins on OpenJDK vs Oracle JDK?

2013-12-14 Thread Daniel Beck
On RHEL 6 OpenJDK 7, jmap doesn't (or didn't) work: http://stackoverflow.com/q/16587460 So I switched to Oracle, which didn't have this issue. No idea whether it's RHEL specific or a general OpenJDK issue though. On 12.12.2013, at 01:56, Klaus Schniedergers wrote: > Hi, > > do you have experi

Re: Jenkins on OpenJDK vs Oracle JDK?

2013-12-14 Thread Daniel Beck
Rogers wrote: > What does this have to do with running Jenkins? AFAICT, jmap is a > debugging tool. It may be useful for Jenkins developers, but does it > have any relevance to running Jenkins ordinarily? > > Daniel Beck wrote: >> On RHEL 6 OpenJDK 7, jmap doesn't (o

Re: Role Based Strategy using LDAP

2013-12-16 Thread Daniel Beck
Not sure how HTTPS is related here, but open http://yourjenkins/whoAmI after logging in (or not) as different users and compare what's shown there to your permissions config. Note that LDAP group resolution isn't recursive, so if user1 is member of G1, and G1 is member of G2, user1 is _not_ con

Re: Git polling - java errors

2013-12-17 Thread Daniel Beck
In the slaves' configuration, check 'Tool Locations' and define the paths to Maven on the slaves for the Maven versions you've configured in the jobs. On 17.12.2013, at 21:47, Curtis Kline wrote: > We're using Git plugin 1.5.0 on Jenkins 1.509.4. We have several Maven jobs, > and on a new one

Re: LTS 1.532.1 ?

2013-12-17 Thread Daniel Beck
On 17.12.2013, at 16:44, David Aldrich wrote: > Ok, thanks. Sorry if that was a stupid question, but the 1.532 release notes > don’t mention the ‘--sessionTimeout’ option. The changelog for LTS version X.1 only contains changes since version X. To learn about the real changes since the previou

Re: email-ext groovy parsing build log question

2013-12-18 Thread Daniel Beck
You can wrap multiple lines in <% %>. The way you wrap each line individually works, but every line break between %> and %< gets printed. Instead, do it like this: > <% def rdr= new InputStreamReader(build.getLogInputStream()) > rdr.eachLine{ it -> > if(it.contains("[error

Re: --sessionTimeout and a restarted server

2013-12-18 Thread Daniel Beck
On 18.12.2013, at 19:11, Richard J Otter wrote: > Will a large value for the new –sessionTimeout parameter allow jobs on slaves > to reconnect to a Jenkins server after the server is restarted? It's just for HTTP sessions, not for slave connections. OTOH, it's enough to reload config from dis

Re: NullPointerException in maven builds since upgrading to 1.532.1 LTS release

2013-12-18 Thread Daniel Beck
Is there no stack trace? On 18.12.2013, at 21:50, Jonathan Brown wrote: > I recently upgraded our environment from 1.466 to the most recent LTS > release, 1.532.1. We are now experiencing frequent failures with our maven 3 > builds. Nothing else in the environment was changed. Furthermore,

Re: java.io.IOException: Remote call failed

2013-12-20 Thread Daniel Beck
This looks like https://issues.jenkins-ci.org/browse/JENKINS-19453 There's a special build of 1.532.1 linked in the Jira comments that includes a fix, it's also scheduled to be in regular 1.532.2. On 17.12.2013, at 05:24, Chanthru wrote: > Hitting this issue again, any solution? > > > > >

Re: LDAP user and default rights

2014-01-02 Thread Daniel Beck
If you're using Project-based Matrix Permissions, the 'Create Job Advanced' plugin can help with this, giving job creators the permission to configure. On 02.01.2014, at 14:12, Philipp Kraus wrote: > Each user, which logins the first time, should manage its own jobs. The user > should also add

Re: Groovy Plugin > Is it possible to change download URL for binaries?

2014-01-03 Thread Daniel Beck
The selection of versions and download location is provided by the Jenkins project at http://updates.jenkins-ci.org/updates/. The download URL is set in core/src/main/java/hudson/model/DownloadService.java by effectively appending 'updates/', the class name of the downloader for the specific too

Re: LTS 1.532.1 ?

2014-01-06 Thread Daniel Beck
1.532.1 _is_ an LTS release. [1] lists all LTS ("stable") releases, including 1.532.1, and considers 1.532.1 to be the 'latest' of them. It's just one label on the home page that's out of date ("Older but stable (1.509.4)"). Click that label. You'll download 1.532.1. Even the changelog[2] has b

Re: Need a Jenkins consultant

2014-01-07 Thread Daniel Beck
On 07.01.2014, at 21:33, Victoria Wei Lei wrote: > Is there any commercial Jenkins' support available, who helps us to design a > feasible structure, and perform initial setup and implementation? Try contacting any of those: https://wiki.jenkins-ci.org/display/JENKINS/Commercial+Support -

Re: Jenkins in non internet connected environment

2014-01-08 Thread Daniel Beck
On 08.01.2014, at 03:26, John Gornowich wrote: > updates.jenkins-ci.org. For a start, try setting -Dhudson.model.UpdateCenter.never=true Documentation: https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties If it's only these two hosts accessed from Jenkins, I'd

Re: Is it normal to have 200 hudson.security.AuthorizationMatrixProperty/checkName thread ?

2014-01-09 Thread Daniel Beck
Yes, that's normal when using the Active Directory plugin. IIRC additional threads will be created until Jenkins is unresponsive and fails to create new threads. Try using the LDAP plugin instead. https://issues.jenkins-ci.org/browse/JENKINS-16429 https://wiki.jenkins-ci.org/display/JENKINS/LDAP

Re: Email-ext doens't send email to 'requestor'

2014-01-09 Thread Daniel Beck
Did you configure your email address in your user profile in Jenkins? Maybe it just fails to resolve username to email address for some reason. On 09.01.2014, at 13:17, Avihay Eyal wrote: > Hi, I added a post build event that sends an email upon 'Failure' to the > 'Requestor'. > This is a trig

Re: Junit Attachment Plugin

2014-01-09 Thread Daniel Beck
The parsing rules were relaxed since the latest release of Junit Attachment plugin. Maybe build the plugin and see whether that fixes the issue. On 09.01.2014, at 15:24, a...@dealerfire.com wrote: > > > Hi everybody. > > Need help with configuration of JUnit xml, for JUnit attachment plugin.

Re: Junit Attachment Plugin

2014-01-09 Thread Daniel Beck
On 09.01.2014, at 17:45, a...@dealerfire.com wrote: > latest version Try the hpi from this snapshot build: https://jenkins.ci.cloudbees.com/job/plugins/job/junit-attachments-plugin/6/org.jenkins-ci.plugins$junit-attachments/ -- You received this message because you are subscribed to the Google

Re: Failing a Build Flow

2014-01-10 Thread Daniel Beck
On 10.01.2014, at 16:26, "Ginga, Dick" wrote: > My 2 cents worth not being a Groovy programmer but I use the build flow. > > You can call build like this : > > A = build(“buildA”) > > From A you can get the status: > > Aresult = A.build.getResult() How'd you set the build flow's result

Re: Securely obtain the Jenkins package and public key

2014-01-10 Thread Daniel Beck
On 10.01.2014, at 16:56, Johannes Wienke wrote: > an interesting target for attacks Jenkins security is a joke. You can find security issues without trying, even in core. And the process to resolve them seems to be really broken. -- You received this message because you are subscribed to the

Re: Securely obtain the Jenkins package and public key

2014-01-10 Thread Daniel Beck
On 10.01.2014, at 18:11, teilo wrote: > Have you helped to improve this situation by actually reporting them via the > proper channels? Yes. That's why I consider the resolution process to be broken. The "proper channels" don't work. The first security issue I reported was SECURITY-35 in emai

Re: Securely obtain the Jenkins package and public key

2014-01-11 Thread Daniel Beck
On 08.01.2014, at 23:08, Abhijith Chandrashekar wrote: > This raises possibilities of a Man-in-the-middle attack compromising the > integrity of the repo or the key or both. The war packages themselves are signed by Kohsuke. You can use the tool 'jarsigner' to verify. Of course, you'd need a

Re: Email-ext doens't send email to 'requestor'

2014-01-12 Thread Daniel Beck
On 12.01.2014, at 07:42, Avihay Eyal wrote: > There is no Jenkins solution (because step 3 is not possible)? It can only be > done via 'polling'? Quoting the email-ext documentation: > Place a check next to each group of people you would like to send emails to > if the trigger is triggered.

Re: How to bring the history back if a job has been renamed

2014-01-13 Thread Daniel Beck
Run 'Manage Jenkins » Reload Configuration from Disk' after renaming a job and/or update to 1.546, which doesn't have JENKINS-18678 anymore. On 13.01.2014, at 19:43, Maneesh M P wrote: > Hi, > > I have a job which has many builds executed, I just renamed the job and all > the build history

Re: Run sequential jobs on SCM change in jenkins

2014-01-13 Thread Daniel Beck
Are they using the same SCM URLs, so that whatever triggers job2 should also trigger the others? If so, use SCM Trigger for job1, and select to build job2 after job1 is finished. Do the same with job3 after job2, and job4 after job3. On 13.01.2014, at 20:24, Tushanka hak wrote: > Hi All, > >

Re: jshint_cli command failing in Jenkins

2014-01-14 Thread Daniel Beck
By convention, an exit code that is not 0 is considered an error. jshint uses this to indicate that not all files passed. Try adding an 'echo.' after the jshint call. IIRC the Batch step only needs the last command to succeed to not fail the build. On 14.01.2014, at 08:58, Simona Avornicesei w

Re: A way to get rid of useless local workspace?

2014-01-14 Thread Daniel Beck
If there's a workspace for these jobs on Jenkins master, but they're running on slaves nodes due to a label expression in the job configuration, you should be able to just delete the workspace on the Jenkins master. It's probably left over from when the job was still running on the master. On 1

Re: Is it possible to see the next scheduled build for a job? (ie, when using the "H" / hash crontab option)

2014-01-15 Thread Daniel Beck
I don't think it's exposed anywhere on the UI (except indirectly, e.g. dates in polling logs and when previous builds were started). However, you can access it via the Jenkins script console, if you're willing to work for the information. Run the following script, replacing 'job-name' with the

Re: Global use of masked password

2014-01-15 Thread Daniel Beck
On 15.01.2014, at 21:51, Scott Evans wrote: > there's a click box … provided by the Environment Injector Plugin (or "env-inject"). -- 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

Re: Customizing job workspace for jenkins 1.547 release

2014-01-16 Thread Daniel Beck
On 16.01.2014, at 12:39, Oleh Vasyura wrote: > I started to use the newest Jenkins 1.547 release and discovered that there > is not possibility to change workspace settings. > At least we have used 'Use custom workspace' option in some jobs. In jobs' configuration, look for 'Advanced Project S

Re: A way to get rid of useless local workspace?

2014-01-16 Thread Daniel Beck
On 16.01.2014, at 15:16, kgiloo wrote: > AFAIK if you configure the post-commit hook together with jenkins, > you must activate "poll SCM" anyway, else it won't start the build. Put the code to determine which change in the repository needs to trigger which job into the post-commit hook, and

Re: how to change email address in all job configuration [Email Ext plugin]

2014-01-16 Thread Daniel Beck
Configuration Slicing plugin *might* work. On 17.01.2014, at 00:09, Maneesh M P wrote: > I have more than 300+ jobs configured in my jenkins and I am using email ext > plugin to configure the mail trigger. currently i am in a situation where I > have to change one recipient mail address to so

Re: Logger to feature mapping

2014-01-16 Thread Daniel Beck
Logging wouldn't help for these, as these actions don't seem to get logged. But check out the Audit Trail Plugin, which records the most important user actions. To record enabling/disabling project via the buttons for it (and not just users submitting the job config page), and add 'enable' and '

Re: how to change email address in all job configuration [Email Ext plugin]

2014-01-16 Thread Daniel Beck
On 17.01.2014, at 02:16, Maneesh M P wrote: > even this doesn't display addresses in the trigger Once you have the email-ext publisher, iterate over the triggers to get the individual recipients lists. https://github.com/jenkinsci/email-ext-plugin/blob/master/src/main/java/hudson/plugins/emai

Re: How to get last stable build number through groovy script ?

2014-01-17 Thread Daniel Beck
For Freestyle jobs at least, it's manager.build.parent.lastStableBuild.number and manager.build.parent.lastFailedBuild.number. Note that this only works like this in Groovy Postbuild Plugin, which has no relation to Groovy Plugin. On 17.01.2014, at 10:56, Maneesh M P wrote: > I am able to get

Re: LTS 1.532.2 release date

2014-01-17 Thread Daniel Beck
On 17.01.2014, at 15:39, Guillaume Boucherie wrote: > Version 1.532.1 has some really annoying bug. If the bug is more annoying than your process requirements are rigid, you can always upgrade to the recently created release candidate. http://jenkins-ci.org/stable-rc -- You received this me

Re: How to get last stable build number through groovy script ?

2014-01-17 Thread Daniel Beck
On 17.01.2014, at 18:29, Maneesh M P wrote: > I am curious know why is that different from groovy plugin? Also there a > document available to find out these information of groovy post build plugin > and groovy plugin? Well, both have Wiki pages that describe what each individually does. Gro

Re: LTS 1.532.2 release date

2014-01-17 Thread Daniel Beck
On 18.01.2014, at 00:32, Les Mikesell wrote: > Is there a changelog for that? Not a regular one yet, but there's the list of resolved issues [1] and the list of changes since 1.532.1 in Git [2]. 1: https://issues.jenkins-ci.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+10172

Re: Can't upgrade to Credentials plugin 1.9.4

2014-01-18 Thread Daniel Beck
On 18.01.2014, at 16:43, Ringo De Smet wrote: > How can I get around this? Looks like the CSRF protection. Try disabling it ("Prevent Cross Site Request Forgery exploits") temporarily in the Jenkins security configuration. Maybe also search for a related issue in issues.jenkins-ci.org and if

Re: "wipe out current workspace" via REST API?

2014-01-20 Thread Daniel Beck
What's wrong with /job/jobname/doWipeOutWorkspace ? On 20.01.2014, at 19:48, Craig Rodrigues wrote: > Hi, > > Is it possible to trigger "wipe out current workspace" > from the REST API? I didn't see an obvious way to do it > after reading https://wiki.jenkins-ci.org/display/JENKINS/Remote+acce

Re: "wipe out current workspace" via REST API?

2014-01-21 Thread Daniel Beck
, I realized that I could look at the source > code to the Jenkins web page to find functions like "doWipeOutWorkspace". > > Are functions like this documented somewhere in the Jenkins docs online? > -- > Craig > > > On Mon, Jan 20, 2014 at 11:17 AM, Daniel Bec

Re: Large Jenkins installations

2014-01-21 Thread Daniel Beck
I'm running a Jenkins instance with ~7000 jobs (that is otherwise unremarkable). The limiting factor with many jobs is mostly plugins or specific core features that have scalability problems. Examples: * Cloudbees RBAC had really slow group membership resolutions a few versions ago, leading to

Re: Managing maven credentials on a shared build server

2014-01-21 Thread Daniel Beck
On 21.01.2014, at 16:16, Stephen Connolly wrote: > 4.0 Also worth noting is that the major changes in 4.0 were removal of several of the nicer features as described here: http://blog.cloudbees.com/2013/10/cloudbees-folders-plugin-now-open-source.html > This 4.0 release is fully functional o

Re: Could I use 2 OU in LDAP plugin?

2014-01-22 Thread Daniel Beck
In the Jenkins LDAP configuration, your root DN should be 'DC=company', and user/group search base should be empty. On 22.01.2014, at 08:21, dennys wrote: > I can use LDAP to get user and group now, but I have 2 OU in 1 LDAP server > like the following. > Is it possible to use 2 (or more) OU ?

Re: A question about matrix parent build jobs

2014-01-22 Thread Daniel Beck
On 22.01.2014, at 15:59, Kevin Fleming (BLOOMBERG/ 731 LEXIN) wrote: > This is only limited by the number of executors you have configured on your > Jenkins master Except that Matrix parent jobs are lightweight since 1.337, which means its executors are created dynamically on demand. See ht

Re: Could I use 2 OU in LDAP plugin?

2014-01-22 Thread Daniel Beck
On 22.01.2014, at 11:42, dennys wrote: > it runs for several minutes and raise timeout > error If your LDAP server is actually Active Directory, use the global catalog at port 3268. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubs

Re: LTS 1.532.2 release date

2014-01-24 Thread Daniel Beck
On 24.01.2014, at 10:58, Arnaud Héritier wrote: > a bug in the project-stats-plugin plugin ? Probably not a bug, it just takes forever to load all builds of all projects in the current view to display the total: https://wiki.jenkins-ci.org/display/JENKINS/Project+Statistics+Plugin#ProjectStat

Re: Wrong version number on UI

2014-01-24 Thread Daniel Beck
On 24.01.2014, at 11:27, Schultschik, Sven (ext) wrote: > It looks to me like he changes the version number in a file, but reads it > from another. Check the changelog for any easy to test for changes. Like e.g.: What's new in 1.544 (2013/12/15) • Added filter field for insta

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