Re: recommendations for auditing changes to Jenkins Job configurations

2014-05-19 Thread Daniel Beck
Job Config History plugin and Audit Trail plugin come to mind. On 19.05.2014, at 08:36, ziv wrote: > Hi > > Does anyone have recommendations/best practices for auditing changes to > Jenkins Job configurations. > > Who changed the configuration, when and what were the changes. > > Thanks > Zi

Re: Test Result Trend : flipTrend works fine with Opera, not with FF or IE

2014-05-16 Thread Daniel Beck
In that case it would be helpful if you verify that it works in jobs without spaces in their names, doesn't work in jobs with spaces in their names, and if so, added that information to the Jira issue. Note that if that's the problem, as a workaround you can rename the job to not have spaces in

Re: Mercurial Job, Warning about legacy behaviour for downstream builds

2014-05-14 Thread Daniel Beck
On 14.05.2014, at 09:25, Simon F wrote: > Whats this error about? I cannot find any information about this message on > the net. As the downstream build is executed without problems I'm a bit > worried about future updates to Jenkins changing this. It's a warning, not an error. >From the cha

Re: Using utl call to mark nodes offline/online

2014-05-13 Thread Daniel Beck
On 13.05.2014, at 22:49, Scott Evans wrote: > Which works fine. However, each call of this URL just toggles the current > status. Is there another parameter that I could call that either explicitly > tries to take it offline, or put it online? Not in this API. The CLI has online-node and

Re: Build Flow Plugin and Folder Plugin issue

2014-05-11 Thread Daniel Beck
On 11.05.2014, at 22:30, EK wrote: > I tried to pass the path for the job "A" as follow "CommonJobs\A" - (also > tried "CommonJobs\\A") but with no luck ! CommonJobs/A and /CommonJobs/A should both be valid values. Even ../CommonJobs/A should work. IOW, think less like a Windows user ;-) --

Re: Failed to fetch from g...@github.com

2014-05-11 Thread Daniel Beck
On 11.05.2014, at 15:58, Mark Waite wrote: > I believe that "Jenkins the Definitive Guide" was published before the > Credentials plugin was used by the git plugin. The Credentials plugin 1.0 was released over two years ago in early 2012. The book was published in 2011, around the time of 1.4

Re: How can I make a label change be effective?

2014-05-11 Thread Daniel Beck
> achieve this, or do I really need to call setNodes(getNodes()) > > On Friday, May 9, 2014 12:48:41 PM UTC-7, Daniel Beck wrote: > I commented on the issue with an explanation and how to solve your problem. > > On 09.05.2014, at 21:40, Christian Goetze > wrote: > > &

Re: How can I make a label change be effective?

2014-05-09 Thread Daniel Beck
I commented on the issue with an explanation and how to solve your problem. On 09.05.2014, at 21:40, Christian Goetze wrote: > I just filed https://issues.jenkins-ci.org/browse/JENKINS-22954 > > It appears that if I change the node label string via groovy, that change is > not immediately eff

Re: Want to schedule a Jenkins job which will run after every 5 seconds

2014-05-07 Thread Daniel Beck
This isn't straightforward in Jenkins. Are you sure you're not using it as a golden hammer? On 07.05.2014, at 16:48, amol likhite wrote: > Hi, > > Want to schedule a Jenkins job which will run after every 5 seconds. > > Thanks in advance. > > Regards, > Amol Likhite > > -- > You received t

Re: Error when upgrading Jenkins server (1.560 Ubuntu)

2014-05-04 Thread Daniel Beck
Wait for 1.562. https://issues.jenkins-ci.org/browse/JENKINS-22715 On 04.05.2014, at 16:22, ziv wrote: > when trying to upgrade jenkins, I get the following: > Can you please assist at what I should do to upgrade? (from 1.560 to 1.561) > > root@x:~# sudo apt-get install jenkins > Reading

Re: install jenkins source no incoming access

2014-05-03 Thread Daniel Beck
To clarify, are you referring to a host firewall (e.g. single Linux system with restrictive iptables) that doesn't allow incoming connections, or a network firewall/proxy/NAT? If the latter, some Jenkins features (anonymous usage reports, automatic tool installers, update center, possibly some

Re: Changing node labels on the fly

2014-05-03 Thread Daniel Beck
On 03.05.2014, at 18:14, Stephen Morrison wrote: > Does anyone have any thoughts on this? Writing a minimal plugin implementing LabelFinder and/or QueueTaskDispatcher according to your rules might work. http://javadoc.jenkins-ci.org/hudson/model/LabelFinder.html http://javadoc.jenkins-ci.org/

Re: Jenkins fails to install

2014-05-02 Thread Daniel Beck
Known issue, will be fixed in 1.562: https://issues.jenkins-ci.org/browse/JENKINS-22715 On 02.05.2014, at 00:03, Derek Robati wrote: > Hello all, > > We use NIS on our Ubuntu 14.04 LTS HP ProLiant server. > > After following the steps at > https://wiki.jenkins-ci.org/display/JENKINS/Installi

Re: OutOfMemory during copying artifacts

2014-04-30 Thread Daniel Beck
Known issue in 1.560 and 1.561: https://issues.jenkins-ci.org/browse/JENKINS-22734 Downgrade Jenkins to 1.559. On 30.04.2014, at 12:28, Yves Schumann wrote: > Hi@all, > > since some time I'm running into this error if builds on the nodes are > finished and the artifacts should be copied to t

Re: unable to resolve class hudson.model.Job

2014-04-30 Thread Daniel Beck
Is it an 'Execute Groovy script' build step? If so, you need an 'Execute system Gorovy script' build step instead. On 30.04.2014, at 03:48, Maneesh M P wrote: > I am trying to execute a Groovy script as build step, I am getting below > error. Can anyone tell me how to resolve this ? > > > va

Re: Can't update plugin list "No signature block found"

2014-04-29 Thread Daniel Beck
On 29.04.2014, at 12:51, matthew.web...@diamond.ac.uk wrote: > Is anyone else seeing this, or is it a temporary network or server issue? I > haven't changed anything recently, and this used to work. Seems to be caused by this (Did you recently update Jenkins to 1.557+?): https://issues.jenkins

Re: Job sometimes uses a workspace with appended "@2" although "Concurrent Builds" is disabled

2014-04-29 Thread Daniel Beck
On 29.04.2014, at 08:18, Dirk Heinrichs wrote: > Could you please elaborate what leads to this conclusion? jenkins-ci.org -> Changelog -> Community Ratings -> Bad weather. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from

Re: [SOLVED] Apache SSL Proxy Jenkins

2014-04-28 Thread Daniel Beck
On 28.04.2014, at 06:54, Scott Hendrickson wrote: > (2) Some pages returned absolute links (e.g., > "http://localhost:8080/jenkins/..."; ) rather than relative links. > Specifically, go to Jenkins' "People" page and select a user. The user's icon > is broken. To fix this, I added an output fi

Re: [SOLVED] Apache SSL Proxy Jenkins

2014-04-28 Thread Daniel Beck
On 28.04.2014, at 17:50, Kevin Fleming (BLOOMBERG/ 731 LEXIN) wrote: > Is the AllowEncodedSlashes issue also present in Apache HTTPD 2.2.x, or just > 2.4.x? 2.2.18+, see http://httpd.apache.org/docs/2.2/mod/core.html#allowencodedslashes -- You received this message because you are subscribe

Re: Job sometimes uses a workspace with appended "@2" although "Concurrent Builds" is disabled

2014-04-28 Thread Daniel Beck
Could be JENKINS-21622, fixed in 1.561. https://issues.jenkins-ci.org/browse/JENKINS-21622 (Note that 1.561 -- and 1.560 -- seems to be not so great, so you might want to hold off upgrading for a while.) On 28.04.2014, at 15:42, Dirk Heinrichs wrote: > Hi, > > we see some strange behaviour he

Re: Jenkins Xtreme Feedback Utility

2014-04-25 Thread Daniel Beck
It's not a plugin. On 25.04.2014, at 17:37, Ulli Hafner wrote: > https://github.com/jenkinsci/rss-retaliation-plugin > > Stefan, you should join us on IRC than you would be able to fork by your own > :-) > > Ulli > > Am 25.04.2014 um 13:55 schrieb Stefan Wolf : > >> Hi, >> >> I build a sma

Re: How can Jenkins on Linux server to trigger PowerShell script on a window server?

2014-04-21 Thread Daniel Beck
On 21.04.2014, at 20:43, Lily Fu wrote: > Your security settings have blocked a self-signed application from running. > > My questions: where should I look into this security setting? > Jenkin's server? Firewall? Slave machine's IE browser setting? Jenken's > webserver? None of the above.

Re: Subversion "Exclusion revprop name" - trying to use this to ignore certain svn commits, but can't seem to get this to work

2014-04-18 Thread Daniel Beck
(Re-sending to the list -- sorry Robert!) On 17.04.2014, at 22:50, Robert Mackin wrote: > Does that mean this feature doesn't really exist? No, it just means you didn't see the 'Advanced' button a few options down. > Repository URL > Credentials > Local module directory > Repository depth > I

Re: Subversion "Exclusion revprop name" - trying to use this to ignore certain svn commits, but can't seem to get this to work

2014-04-16 Thread Daniel Beck
The global exclusion revprop configuration option has absolutely no associated functionality. You need to set the equivalent option in the per-job SCM configuration. On 16.04.2014, at 21:41, Robert Mackin wrote: > I'm setting up Jenkins to replace our homegrown build system. > > I want to se

Re: SCM Sync Configuration plugin exception

2014-04-14 Thread Daniel Beck
On 14.04.2014, at 22:43, Igor Berger wrote: > Thanks. How could I confirm that? The problem is that SCM Sync was written to rely on internals of Subversion plugin that were changed in the 2.0 release. Subversion plugin 2.0: https://github.com/jenkinsci/subversion-plugin/blob/subversion-2.0/s

Re: Jenkins putting '$' characters in file/folder names, breaking automatic backups

2014-04-10 Thread Daniel Beck
On 10.04.2014, at 15:56, Scott Evans wrote: > Anyone know why this may be occurring and what I can do to resolve this? It's a Maven job. AFAICT, they've always (or at least since 2009) worked like this to store artifacts and logs separate for each module, see e.g. https://github.com/jenkinsci

Re: Error link in github pull request builder configuration after jenkins upgrade

2014-04-08 Thread Daniel Spangler
Thanks for the update. I'll submit an issue for this. Unfortunately, the error results in some of the configuration options not appearing... On Tuesday, April 8, 2014 3:29:00 PM UTC-4, Daniel Beck wrote: > > The Github pull request builder plugin uses a method that seem

Re: [ANN] build flow

2014-04-08 Thread Daniel Beck
Shouldn't this info be distributed using update center metadata? E.g.: https://wiki.jenkins-ci.org/display/JENKINS/Marking+a+new+plugin+version+as+incompatible+with+older+versions On 08.04.2014, at 21:52, teilo wrote: > Hi, > > Buildflow 0.11 is in the process of releasing and should hit the u

Re: Error link in github pull request builder configuration after jenkins upgrade

2014-04-08 Thread Daniel Beck
cron expression somewhere. On 08.04.2014, at 20:15, Daniel Spangler wrote: > I upgraded my jenkins instance and am now getting a link labelled Error in my > project level pull request builder configuration. When you click on the > link, the following stack trace displays. Any i

Error link in github pull request builder configuration after jenkins upgrade

2014-04-08 Thread Daniel Spangler
I upgraded my jenkins instance and am now getting a link labelled Error in my project level pull request builder configuration. When you click on the link, the following stack trace displays. Any ideas on how to resolve this? javax.servlet.ServletException: java.lang.NoSuchMethodError: hudso

Re: Web interface images disappear after a while

2014-04-01 Thread Daniel Beck
https://issues.jenkins-ci.org/browse/JENKINS-17526 Fixed in 1.549. For the fix to take effect, you'll either need to a) install Jenkins 1.549 or newer (via the pkg) or b) manually perform steps equivalent to these: https://github.com/jenkinsci/jenkins/commit/7c51cec55649b0e46047cb5e3198b66c3bdd94

Re: Copy artifact and dynamic project names

2014-04-01 Thread Daniel Beck
On 01.04.2014, at 11:41, matthew.web...@diamond.ac.uk wrote: > Sorry about the late reply, but yes, I use copy artifacts with dynamic > project names without any problems. Even a project name like this works for > me: >GDA.${GDA_release}-create.product.beamline-${GDA_group}-${GDA_beamline}

Re: "Move" a job from a Linux master to a Windows master

2014-03-31 Thread Daniel Beck
On 31.03.2014, at 22:13, Steve K wrote: > As shown below, the job attempts to create a sym-link--even though it is now > running on Windows (from the Console text): Actually, Windows/NTFS have symbolic links (run 'mklink /?' in cmd). AFAIK, Jenkins uses them if possible. I'd try to copy the

Re: "Move" a job from a Linux master to a Windows master

2014-03-31 Thread Daniel Beck
It should suffice to just copy the files over to another Jenkins instance, and restart it. Make sure all plugins used in the job are available in compatible versions. Since you're switching OSes, you might need to delete the symbolic links, e.g. build number -> build ID links in the 'builds' di

Re: Backing up the plugins themselves

2014-03-29 Thread Daniel Beck
On 29.03.2014, at 18:56, Mishael Kim wrote: > And I assume that by just dropping those top level files info a clean > JENKINS_HOME/plugins folder should be sufficient in restoring them all? Yes. Jenkins will extract them when starting, no different than what happens when you install a new plu

Re: Jenkins cannot connect to X server on Debain 7.1

2014-03-29 Thread Daniel Beck
I'd try comparing the output of the `env` command in your terminal and in the Jenkins job to see whether relevant environment variables need to be defined in the job. On 29.03.2014, at 05:41, Fatemeh Mehdizadeh wrote: > Hi all, > > My test on jenkins is failing because jenkins can't connect

Re: Backing up the plugins themselves

2014-03-29 Thread Daniel Beck
Unless you're in the habit of manually patching things in plugins, it's sufficient to backup only the top level files (.jpi/.hpi/.disabled/.pinned). The folders are just the files extracted for use by Jenkins. On 29.03.2014, at 00:57, Mishael Kim wrote: > Hi, > > I was wondering what most of

Re: Downstream cleanup job

2014-03-26 Thread Daniel Beck
On 27.03.2014, at 00:31, Curtis Kline wrote: > Any suggestions here? We just need the cleanup job to always run after a > testing job, so the VMs are fresh before the next testing job runs. I am > probably missing something simple. Make the cleanup a regular part of the jobs b1-b3. If you n

Re: projects are missing in cc.xml

2014-03-26 Thread Daniel Beck
It's the jobs shown on the default view that have builds. You can access other views' cc.xml as e.g. /view/All/cc.xml (What's the point of providing URLs when they're only available from your intranet?) On 26.03.2014, at 21:44, Curt Patrick wrote: > How does Jenkins decide what jobs to displa

Re: thinBackup

2014-03-25 Thread Daniel Beck
Just to be sure: you're aware this is noon, not midnight? On 25.03.2014, at 11:08, Brosh, Yossi wrote: > Hi to all, > > Any idea why thinBackup is not working as configured : H 12 * * 1-5 > > Backup now manually - works, > Run under win7, Jenkins version 1.549 > > > BR > Yossi > > --

Re: Plugin for simple post-build scripts

2014-03-21 Thread Daniel Beck
Assuming all your build artifacts are archived in Jenkins, the easiest solution is probably another job that copies them over using Copy Artifact plugin to do some work. There's also a build selector parameter type you could use to determine which build of the original job to copy from. On 21.0

Re: Is the Jira link for Reverse Proxy Auth Plugin on the wiki wrong?

2014-03-21 Thread Daniel Beck
The link is wrong. You used the component 'reverse-proxy-auth' (likely correct), while the link points to a report using 'reverse-proxy-auth-plugin'. Try this one: https://issues.jenkins-ci.org/secure/IssueNavigator.jspa?mode=hide&reset=true&jqlQuery=project+%3D+JENKINS+AND+status+in+(Open%2C+"I

Re: "It appears that your reverse proxy set up is broken."

2014-03-21 Thread Daniel Beck
On 20.03.2014, at 17:05, Dennis Jacobfeuerborn wrote: > I just installed a fresh Jenkins behind Apache httpd and while Jenkins is > available it tells me "It appears that your reverse proxy set up is broken." > but I don't know why. Does the error message show up after you access 'Manage Jen

Re: SVN Tagging Issue

2014-03-19 Thread Daniel Beck
On 19.03.2014, at 21:38, Daniel Beck wrote: > Unfortunately, from reading the code, it looks more like > SubversionSCM.DescriptorImpl.createAuthenticationProvider(AbstractProject) > would need to pass the project's Su

Re: SVN Tagging Issue

2014-03-19 Thread Daniel Beck
Subversion Tagging Plugin reuses the Subversion SCM authentication of the project. And Subversion plugin 2.0 changed a lot about that. There's a chance you just need to add an 'Additional Credential' for the repo. It's essentially the same problem as in JENKINS-21785 [1]. Read all the comments

Re: Polling Times

2014-03-19 Thread Daniel Beck
Use this: H/10 7-19 * * 1-5 It's essentially parts of these two examples provided in the inline help pasted together: > # every fifteen minutes (perhaps at :07, :22, :37, :52) > H/15 * * * * > # once every two hours every weekday (perhaps at 10:38 AM, 12:38 PM, 2:38 PM, > 4:38 PM) > H 9-16/2 * *

Splitting a Jenkins job into multiple jobs depending on each other while the same workspace and the artifacts produced by previous jobs

2014-03-19 Thread Daniel P.
somebody help me along with this? Is this even possible using the current SVN layout? Regards, Daniel P. -- 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 je

Re: How do I persist changes to the model made via a Groovy script to disk?

2014-03-17 Thread Daniel Beck
On 17.03.2014, at 00:50, Richard Lavoie wrote: > But do we have for LTS or previous versions ? Everything introduced later is (or should be) annotated with @since, see e.g. http://javadoc.jenkins-ci.org/hudson/model/AbstractItem.html#getRelativeDisplayNameFrom%28hudson.model.ItemGroup%29 http:

Re: Installation of JDK 7u21 fails / LTS 1.532.2

2014-03-15 Thread Daniel Beck
On 15.03.2014, at 13:33, Markus KARG wrote: > Update: I have manually downloaded and installed the very same JDKs at the > same location without any problem. So it is definitively a bug in Jenkins. Did you install them using the same silent install, suppress reboot, etc. command line? Is the

Re: Jenkins LTS 1.532.2 rather often fails when checking Java on Window 7 slaves

2014-03-14 Thread Daniel Beck
On 14.03.2014, at 23:52, Markus KARG wrote: > at > hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:233) Since this appears to go through 'Let Jenkins control this Windows slave as a Windows service', what happens when you launch and control the

Re: JUnit Results Report Causes 'UNSTABLE' Build?

2014-03-14 Thread Daniel Beck
On 14.03.2014, at 21:28, Mark Waite wrote: > You may want to double check if there is a setting in the Subversion tagging > plugin which will allow it to tag even if the build is unstable. No such luck: https://github.com/jenkinsci/svn-tag-plugin/blob/master/src/main/java/hudson/plugins/svn_ta

Re: Installation of JDK 7u21 fails / LTS 1.532.2

2014-03-12 Thread Daniel Beck
If possible, try to remove the period in the folder name (C:\.jenkins -> C:\jenkins). I've seen programs on Windows fail to handle that successfully before. On 12.03.2014, at 11:11, k...@quipsy.de wrote: > Using LTS 1.532.2 I have set up several slaves using JDK 7u11 and these > worked well un

Re: CLI list-jobs words, but get-job on ANY of the listed jobs says "No such job"

2014-03-12 Thread Daniel Beck
Likely because list-jobs prints the display name, while get-job requires the actual job name to be specified. Another possibility is that folders are involved (but that'd require you to query a specific view's items in get-jobs). On 12.03.2014, at 09:46, k...@quipsy.de wrote: > When I do list-

Re: Jenkins is down hard

2014-03-12 Thread Daniel Beck
On 12.03.2014, at 21:53, Ginga, Dick wrote: > I am assuming that the jre folder contains a java runtime environment running > on Windows. Edit jenkins.xml to point to a different java. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To un

Re: Base ClearCase failed. exit code=1

2014-03-12 Thread Daniel Beck
On 12.03.2014, at 19:58, Chanda Norton wrote: > [intro2] $ cleartool mkview -snapshot -tag cnorton_view.vws -vws > null\cnorton_view.vws.vws view > cleartool: Error: storage directory must be in UNC style (e.g. > \\host\share\...) It seems obvious that that one argument shouldn't start with '

Re: Conditional Builds

2014-03-11 Thread Daniel Beck
Write a build script smart enough to do incremental builds, using e.g. file modification times to determine what needs to be processed again. The Java build tool Gradle has some support for that, for example. On 12.03.2014, at 02:48, Chris Beech wrote: > Hi all, > > Is there a way in Jenkins

Re: Get return value from Powershell (Using windows batch command)

2014-03-11 Thread Daniel Beck
Use the 'Environment Injector' plugin. It allows you to load variable definition from a (Java .properties) file into the job environment. Example: -- First build step: Windows batch command: echo foo=bar > env.properties Second build step: Inject environment variables: Properties File Path: env.

Re: Install instructions for Ubuntu don't work for 14.04

2014-03-10 Thread Daniel Beck
On 10.03.2014, at 21:21, Mark Waite wrote: > If the operating system provides a package, and I want a newer version, and > the packaging between the newer version and the Debian version are different Can't you just replace the war file? -- You received this message because you are subscrib

Re: how to modify the jenkins ${BUILD_URL} ?

2014-03-10 Thread Daniel Beck
On 10.03.2014, at 20:58, Scott Evans wrote: > changed environment variables This is a variable Jenkins provides itself, not one received from the environment (like PATH, HOSTNAME, etc.). -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To u

Re: Running a job while slave is offline

2014-03-10 Thread Daniel Beck
If Jenkins slaves disconnect, their builds are considered failed. So, a possible solution would be to not actually run the build that can cause a disconnect on a Jenkins slave. Let's say your job involves running a Maven build. Usually, you'd have a Maven build step, or a shell step with a comm

Re: Running a job while slave is offline

2014-03-09 Thread Daniel Beck
Don't run the job on the machine you need to disconnect. Instead, run it somewhere else, and have the build script connect to the actual build/test machine using e.g. SSH and run the commands from there. On 08.03.2014, at 13:08, EK wrote: > Hi ... > > I need to run a job which might cause sla

Re: Schedule a build in parallel from code (Jenkins API)

2014-03-09 Thread Daniel Beck
Since you seem to be triggering multiple builds of the same project, did you enable the project for parallel execution of multiple builds? On 09.03.2014, at 23:21, Daniel Beck wrote: > If you have the executors, the builds should run in parallel -- You received this message because you

Re: Schedule a build in parallel from code (Jenkins API)

2014-03-09 Thread Daniel Beck
gt; myActions[i]) > > But I still does not give me what I want. > > > On Sunday, March 9, 2014 10:32:31 PM UTC+1, Daniel Beck wrote: > Don't immediately call .get(), instead assign the Future returned from > scheduleBuild2 to a variable. Only .get() once you're wi

Re: Schedule a build in parallel from code (Jenkins API)

2014-03-09 Thread Daniel Beck
Don't immediately call .get(), instead assign the Future returned from scheduleBuild2 to a variable. Only .get() once you're willing to wait for the build to complete. On 09.03.2014, at 22:27, dev123 wrote: > In a jenkins plugin I am writing I need to run 5 jobs in parallel. Currently > I do

Re: SECURITY-89 breaking remote scripts authentication

2014-03-07 Thread Daniel Beck
It appears that the commit mostly fixes the issue of users that used to exist in the directory. Which is definitely an issue, especially in larger organizations, so I guess this change will be kept. As a workaround in your case, it should be easy to modify your security realm (LDAP Plugin?) to

Re: Proxy Error when trying to view workspace

2014-03-05 Thread Daniel Beck
If there are many directory entries in the particular directory you're viewing, likely because of JENKINS-21780: https://issues.jenkins-ci.org/browse/JENKINS-21780 On 05.03.2014, at 23:57, Adam Mercer wrote: > On Wed, Mar 5, 2014 at 1:19 PM, Daniel Beck wrote: >> You're run

Re: jenkins maven plugin: How to automatically archive maven artifacts?

2014-03-05 Thread Daniel Carter
ENKINS-21522>in relation > to that. Vote for it… > > On Wednesday, 5 March 2014 04:54:27 UTC+1, Daniel Carter wrote: >> >> Yes i have the same problem. There is an option in the settings to >> "Disable automatic artifact archiving", which implies arc

Re: Proxy Error when trying to view workspace

2014-03-05 Thread Daniel Beck
You're running Jenkins behind a reverse proxy (Apache, nginx, ...) and Jenkins takes so long to respond that the proxy gives up. Increase the timeout. On 05.03.2014, at 15:02, Adam Mercer wrote: > Hi > > Access to a jobs workspace has always been slow for me but this > morning it's timing out

Re: Cannot set href hyperlink with ftp on Jenkins UI page

2014-03-05 Thread Daniel Beck
It's prohibited by the "raw HTML" formatter policy (an obvious misnomer). Only http/https and mailto protocols are currently allowed in href attributes. You need a plugin that is more lenient with what is allowed. It should be trivial to write one yourself (basically [1] without the line calling

Re: jenkins maven plugin: How to automatically archive maven artifacts?

2014-03-04 Thread Daniel Carter
Yes i have the same problem. There is an option in the settings to "Disable automatic artifact archiving", which implies archiving is automatic, but none of my jenkins jobs archive any artifacts. It used to work a long time ago, how can we restore this behaviour? On Saturday, 15 December 201

Re: Workspace Browsing Slow

2014-03-04 Thread Daniel Beck
Could be https://issues.jenkins-ci.org/browse/JENKINS-21780 Are there a lot of files/folders in those directories? On 04.03.2014, at 16:31, tmac22 wrote: > We recently upgraded to v 1.522 and the navigating the workspaces takes ~1.5 > minutes to open a directory. > > Any ideas? > > -- > Y

Re: Error while using git

2014-02-28 Thread Daniel Beck
Is it enabled? On 28.02.2014, at 20:04, fabiancernota wrote: > > > The Plugin is allready installed. > > -Fabian > > -- > 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, s

Re: Jenkins api create job in a folder

2014-02-28 Thread Daniel Beck
Folder#createProjectFromXML(String,InputStream). It's from the ModifiableTopLevelItemGroup interface that both Jenkins and Folder implement. On 28.02.2014, at 17:18, Glenn V wrote: > Hi, > > I'm using the scriptler plugin to write a groovy script using the Jenkins > api, that will clone a set

Re: For loop in the Jenkins build flow

2014-02-28 Thread Daniel Beck
In System Groovy build steps, this works: --- hudson.model.queue.QueueTaskFuture build(String fullName) { def p = jenkins.model.Jenkins.instance.getItemByFullName(fullName) def thisR = Thread.currentThread().executable def f = p.scheduleBuild2(p.quietPeriod, new hudson.model.Cause.UpstreamCaus

Re: Scheduled Safe Restart

2014-02-28 Thread Daniel Beck
The job starts before it issues the safe restart command (obviously), then it finishes, then Jenkins restarts. I've tested this before posting. On 28.02.2014, at 13:48, AndyB wrote: > I suspect that the safe-restart waits for no jobs to be running (that's the > whole point of it after all), so

Re: Scheduled Safe Restart

2014-02-27 Thread Daniel Beck
You can also use an SSH key for authentication with jenkins-cli.jar (configure the key in the Jenkins user configuration), so if "environment" refers to non-technical reasons, that would be an option. Then there's the REST API. POST to /safeRestart to perform that action. For authentication, us

Re: "Matrix-based security" option is missing

2014-02-27 Thread Daniel Beck
- > S T I M U L A N T > Josh Santangelo, Technical Director > P 206 737 5601 / HQ 415 255 7081 / T @stimulant > > > On Wed, Feb 26, 2014 at 10:17 PM, Daniel Beck wrote: > What's new in 1.535 (2013/10/14) > * Split matrix authorization strategies into an independent

Re: "Matrix-based security" option is missing

2014-02-26 Thread Daniel Beck
What's new in 1.535 (2013/10/14) * Split matrix authorization strategies into an independent plugin. On 27.02.2014, at 02:03, Josh Santangelo wrote: > I'm moving my Jenkins setup from using the internal database to using Active > Directory. This change was surprisingly easy. I would also like t

Re: Adding a Link in Jenkins dashboard

2014-02-25 Thread Daniel Beck
Sidebar Link plugin can do that. https://wiki.jenkins-ci.org/display/JENKINS/Sidebar-Link+Plugin On 25.02.2014, at 14:42, fatima zahra Anzour wrote: > Hello everybody; > > can someone help me with this issue, i want to create a web application that > uses Sonar's database in order to make an

Re: Major Problems after upgrading to 1.532.2 LTS Release

2014-02-22 Thread Daniel Beck
I don't think there's a need to do so. It still works without any configuration in a lot of cases. And configuration of the LDAP plugin can be annoying if you know nothing about LDAP. I've experienced a severe issue with AD a while back (essentially JENKINS-16429; restarting Jenkins twice a wee

Re: How can I see all builds in a job via api/json ?

2014-02-21 Thread Daniel Beck
tree=builds will only retrieve the newest 100 builds since 1.485. Use tree=allBuilds to get everything. It's hidden by default and only shows up with depth=3 or higher (when querying a job). On 21.02.2014, at 02:35, Christian Goetze wrote: > WHen I run /job//api/json?tree=builds[url], then I

Re: Major Problems after upgrading to 1.532.2 LTS Release

2014-02-21 Thread Daniel Beck
Don't use the Active Directory plugin. You likely can configure the LDAP plugin[1] to do the same job. 1: https://wiki.jenkins-ci.org/display/JENKINS/LDAP+Plugin On 21.02.2014, at 00:47, Andrew Sumner wrote: > Nearly everything I do gives this error - any assistance will be greatefully > acc

Re: Emailers

2014-02-18 Thread Daniel Beck
On 14.02.2014, at 20:38, Slide wrote: > I'm interested to get some feedback on whether I should continue spending my > time on Extended Email (email-ext), or if there is real interest in having a > new emailing plugin that would be bundled with core that provided more > features than Mailer,

Re: Performance with thousands of jobs

2014-02-18 Thread Daniel Beck
/threadDump will tell you what the threads are doing. Look for 'Handling GET'. If you have large views (i.e. 500+ items actually shown), my guess is Functions.getRelativeLinkTo(Item), which iterates over all items in the view (requiring recomputation of what actually is part of the view) for eve

Re: send the content of a file via Jenkins

2014-02-16 Thread Daniel Beck
This has nothing to do with Jenkins. How do you get line breaks to appear in an HTML document? On 16.02.2014, at 12:40, Brosh, Yossi wrote: > Hi To all, > > I need to send the content of a file via Jenkins . > When I used these pre-send Scripts lines: > def reportPath = build.getWorkspace().

Re: MD5/SHA1 of new release JARs?

2014-02-16 Thread Daniel Beck
Weird, I always thought that for jarsigner to output 'jar verified', the jar I'm checking had to be signed. On 16.02.2014, at 08:31, Yaniv Kaul wrote: > Is it possible to publish hash of the new JARs, so at least I can somehow try > and verify their integrity? Since it's not packaged in any si

Re: How to attach pdf as an attachemnt in email-ext plugin

2014-02-04 Thread Daniel Beck
When you go to the workspace browser in Jenkins, there's an empty text field just above the file list. Enter the pattern you used for email attachment there and click the arrow next to it. Does the PDF file now show up in the file list? If not, the pattern doesn't match the file in the workspac

Re: Issue -21618- wrong load statistics - busy executors in minus

2014-02-02 Thread Daniel Beck
Please limit mailing list messages to severe issues. A glitch in the load statistics doesn't qualify. You're experiencing this on 1.480.x, which is obsolete since May 2013 when 1.509.1 was released. Nobody cares about that anymore. On 03.02.2014, at 03:33, Hiteswar wrote: > Hi > At my Jenkins

Re: build flow

2014-01-31 Thread Daniel Beck
Build flow uses Result.isBetterOrEqualTo, so it should suffice to ignore(ABORTED) to effectively ignore everything. On 31.01.2014, at 03:12, Irfan Sayed wrote: > nope. getting following error. please suggest > > ERROR: Failed to run DSL Script > > groovy.lang.MissingMethodException > : No sig

Re: ldaps and refusing login attempts after multiple failures

2014-01-30 Thread Daniel Beck
ssful authentication even with correct credentials. Here's some sample code for a plugin that does just that: https://github.com/daniel-beck/jenkins-login-rate-limiter-plugin Configuration is via system properties (there's no config UI), but otherwise, it works just fine. Note that I do

Re: API xml responses not complete?

2014-01-28 Thread Daniel Beck
On 28.01.2014, at 22:45, Scott Evans wrote: > 1. Is this expected behavior? Yes. > 3. If this is the expected response via the /api/xml call, is there any way I > can use an api/xml call on a different url to get the names of the running > jobs on each executor of the given nodename? Quotin

Re: Create a textfile with ${BUILD_NUMBER}

2014-01-28 Thread Daniel Beck
You're on the wrong list. This is not a Jenkins issue. Use double quotation marks. On 28.01.2014, at 16:06, Robert Pohl wrote: > Hi, > I'm generating a text file with build info but it doesn't work :/ > > Under Build -> Execute Shell, there is a line: > echo 'BuildNumber: ${BUILD_NUMBER}, GIT

Re: Loading job configuration pages is excruciatingly slow (minutes)

2014-01-28 Thread Daniel Beck
You probably have a plugin whose job config parts have a really long load time for some reason. While the job config page is loading, open http://(yourjenkins)/threadDump in another window. Search for "Handling GET /job/(jobname)/configure". This will tell you, what part of the code, and often,

Re: copyartifact plugin anamoly

2014-01-28 Thread Daniel Beck
Older versions of Jenkins used the exact name of the file you were uploading in Plugin Manager » Advanced (JENKINS-4543). So if you were e.g. experimenting a bit with different versions of that plugin, all from your Downloads folder (where that's the duplicate naming strategy), this got mirrored

Re: Need Helpl. Run Jenkins just by itself: java -jar jenkins.war (which uses Jetty) use JDBC Realm

2014-01-28 Thread Daniel Beck
On 28.01.2014, at 09:23, Артур Игоревич Белоусов wrote: > limited functional Winstone servlet container Since 1.535, Jenkins uses Jetty. Which explains the error you get. > Expected a subype of interface org.eclipse.jetty.security.LoginService but > got class com.external.winstone.realm.JDBC

Re: hudson.model.WorkspaceCleanupThread.disabled=true ? - quick question

2014-01-27 Thread Daniel Beck
On 27.01.2014, at 17:27, zw wrote: > Will hudson.model.WorkspaceCleanupThread.disabled=true stop all jobs' > configuration to "clean workspace" if they are configured to do so ? I'm not sure what you mean, so here's an what the property does: This property only disables the periodic automatic

Re: LTS 1.532.2 release date

2014-01-27 Thread Daniel Beck
On 27.01.2014, at 03:33, Arnaud Héritier wrote: > My instance is again broken this morning with a With Screen of the death > I attached another dump and this time there is no reference to the project > stats plugin (even if I didn't yet had the time to remove it) : > https://issues.jenkins-ci

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

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

<    8   9   10   11   12   13   14   15   16   >