Re: Jenkins Plugins - LTS

2012-07-05 Thread Jesse Glick
On 07/04/2012 08:06 PM, Jesse Farinacci wrote: I would really enjoy seeing 80%+ of all plugins updated [...] to the latest Jenkins LTS A minor glitch here: org.jenkins-ci.plugins:plugin is available in 1.447, but not 1.447.2. Probably it does not matter much, but if I understand correctly it

Re: How to tell Jenkins to use a different ASM version when comes to a specific plugin?

2012-07-10 Thread Jesse Glick
On 07/09/2012 10:42 AM, Ognjen Bubalo wrote: Can you help me how to do the switch? I guess you just want: pluginFirstClassLoadertrue/pluginFirstClassLoader

Re: Job Name Restrictions

2012-07-11 Thread Jesse Glick
On 07/11/2012 12:53 AM, Michael Rohan wrote: [...] same for '/', '@', 4tc. Is this restriction in place to protect the workspace directory name created on disk or is there a more fundamental reason to restrict the job name? At least in the case of '/', this is a fundamental restriction: raw

Re: hetero-list delete button doesn't work for our plugin in new Jenkins version

2012-07-13 Thread Jesse Glick
On 07/13/2012 07:35 AM, Immo Stanke wrote: Maybe you have an idea what change could have lead to this error. https://github.com/albgra/jenkins/commit/581b8256b10e1e74f9ec872664ae837c625a1d17 perhaps?

Re: Getting Absolute Path of a Job

2012-07-15 Thread Jesse Glick
Slide wrote: Jenkins.getInstance().getUrl() + build.getUrl() should work I think. Jenkins.getInstance().getUrl() is always , so this does not work. Yarlee wrote: if my http://example.com/job/test/2 is the absolute url of my job .. in perform I get access to (AbstractBuild ) build object and

Robustness against improperly serialized Action's

2012-07-16 Thread Jesse Glick
I noticed that if you have the Subversion plugin installed and a jobs/*/builds/*/build.xml contains hudson.scm.SubversionTagAction build class=build reference=../../../ /hudson.scm.SubversionTagAction then whenever you visit the job page you get time...

Re: maven-hpi-plugin documentation not updating correctly

2012-07-18 Thread Jesse Glick
On 07/18/2012 01:47 PM, Jan Ruzicka wrote: Can there be a readme file in the project root directory pointing to CI job? I committed ciManagement to the POM, which is the standard indication. For example NetBeans tries to display job status automatically when it opens the project, though this

Re: maven-hpi-plugin documentation not updating correctly

2012-07-18 Thread Jesse Glick
On 07/18/2012 02:57 PM, Jan Ruzicka wrote: I assumed that there is a jenkins job or similar that would be running the maven site:deply. I was curious where it was running and how it was triggered. I would presume this is done as part of release:perform, so that the site is published whenever

/configureTools

2012-07-23 Thread Jesse Glick
Have you ever been annoyed to scroll through page after page of tool installations in /configure while looking for a regular setting? If so, or if not, please comment on JENKINS-14538 [1]. [1] https://issues.jenkins-ci.org/browse/JENKINS-14538

Odd test setup in jenkins/test/pom.xml

2012-07-24 Thread Jesse Glick
Does anyone know why jenkins-test-harness is configured so specially? It seems to run Surefire on one source file, which is in both src/test/junit4 and target/generated-sources (??), and then run everything else though something called maven-junit-plugin... whose reason for existence seems to be

Re: Verify downloaded jpi-files

2012-07-27 Thread Jesse Glick
On 07/27/2012 08:58 AM, Fredrik Orderud wrote: a simpler check against the in-built JAR/ZIP-file CRC-32 checksum would probably be good enough in most situations Even simpler: check if the file starts with 0x50 0x4b 0x03 0x04, the ZIP magic. If not, it is some junk like an error page which

Re: RC for LTS 1.466.1 // was: Re: Backports to LTS 1.446.1

2012-07-27 Thread Jesse Glick
On 07/19/2012 05:36 PM, Kohsuke Kawaguchi wrote: Mirror job needed to run. It's all fixed now. [1] http://ci.jenkins-ci.org/view/Infrastructure/job/infra_mirroring/ The main site still lists 1.447.2 as LTS.

Re: Buildhive not doing a clean?

2012-07-30 Thread Jesse Glick
On 07/30/2012 01:24 PM, cjo wrote: Can someone have a look and set the correct maven goals. The admin for a BH job can override the default goal list ('install') to include 'clean'. But better (I think) is to do the clean as part of the Git update step, as it is more foolproof and potentially

Re: Best practise for managing Jenkins SSH keys

2012-08-01 Thread Jesse Glick
On 08/01/2012 07:21 AM, Gavin Davies wrote: The slaves need access to the keys on the master Jenkins server to be able to check out from a Git repo that uses SSH key authentication; we don't want to have to manually put the keys on all the slaves if possible. Without answering your question,

jenkinsci-issues no longer receiving notifications?

2012-08-03 Thread Jesse Glick
jenkinsci-issues [1] has apparently received nothing for almost a week. Did someone change JIRA configuration? Or is Groups blocking the autoposter? [1] https://groups.google.com/forum/?fromgroups#!forum/jenkinsci-issues

Status of 1.476

2012-08-03 Thread Jesse Glick
The home page claims 1.476 is the latest version, and it is apparently published [1], yet the changelog does not mention it, and there is no Git tag for it. What gives? JENKINS-14643 [2] may be related. [1] http://mirrors.jenkins-ci.org/war/1.476/ [2]

Re: Proof of Concept - Split Mailer Into Plugin

2012-08-07 Thread Jesse Glick
On 08/07/2012 01:01 AM, Slide wrote: splitting the default mailer out into its own plugin that would be bundled with Jenkins similar to how the cvs plugin is. Seems like a good idea. I added some line comments to your 4b9fc44 [1]. [1]

Re: Saving build information and then getting it back

2012-08-13 Thread Jesse Glick
On 08/13/2012 09:12 AM, Ognjen Bubalo wrote: it says that the build was success and it goes blue. After I restart Jenkins the build goes red and there is no report for the previous builds. Might be a deserialization error in your plugin. Check whether /administrativeMonitor/OldData/manage

Re: mailer split out

2012-08-15 Thread Jesse Glick
On 08/15/2012 09:31 AM, Slide wrote: I was thinking of making core have an interface that would be implemented by a plugin Probably not helpful, since then core still needs to provide _some_ implementation. The actual mail task can be moved wholesale to a plugin, but for historical reasons

Re: Jelly views: Avoid displaying config section depending on user permissions

2012-08-15 Thread Jesse Glick
On 08/15/2012 11:53 AM, Nicky Ramone wrote: In a plugin I'm writing, I need to hide a textbox in the project configuration depending on the user permission. My @DataBoundConstructor is in a Notifier class. How can I retrieve the user permissions? Making your plugin behave in secured Jenkins

Re: Jelly views: Avoid displaying config section depending on user permissions

2012-08-15 Thread Jesse Glick
On 08/15/2012 03:25 PM, Nicky Ramone wrote: I'm not clear on what 'app' is, although it looks like the Jenkins object. Right. I have defined the getMyCustomPermission() method, but it doesn't work. Maybe the 'it' variable is not correctly parsed when being inside ${h...}? It ought to

Re: Jelly views: Avoid displaying config section depending on user permissions

2012-08-15 Thread Jesse Glick
On 08/15/2012 03:52 PM, Nicky Ramone wrote: it=hudson.model.FreeStyleProject@3d2a58[dummy2] I'm kinda lost. I thought 'it' was supposed to be an instance of MyCustomNotifier. If you are on the configure screen for a project, then 'it' would be the project. In general there _is_ no

Re: Jelly views: Avoid displaying config section depending on user permissions

2012-08-15 Thread Jesse Glick
On 08/15/2012 05:51 PM, Stephen Connolly wrote: ${instance} should be the instance of your notifier or null if not reconfiguring ${descriptor} should be the descriptor of your notifier, so just stick the getter in the DescriptorImpl and you should be fine, no need for j:invokeStatic Thanks

Re: jenkinsci-issues no longer receiving notifications?

2012-08-21 Thread Jesse Glick
On 08/03/2012 09:30 AM, Arnaud Héritier wrote: exim4 service was broken (but I don't find one) Seems to be broken again.

Re: Tip: grepping a pattern across all jenkinsci sources

2012-08-21 Thread Jesse Glick
Kohsuke Kawaguchi wrote: Any chance you can capture this in an Wiki page? Good idea. https://wiki.jenkins-ci.org/display/JENKINS/Grepping+all+sources

New release of remoting?

2012-08-22 Thread Jesse Glick
Running tests in Jenkins trunk fails using JDK 7 due to a serious bug in 2.16 I fixed a few weeks ago. Should org.jenkins-ci.main:remoting 2.17 be published? There are various other changes in this version that I do not exactly understand.

Re: adding method to ModifiableItemGroup

2012-08-23 Thread Jesse Glick
On 08/23/2012 05:28 AM, nicolas de loof wrote: option 2 : create a new interface to extend ModifiableItemGroup and add createProjectFromXML Seems safest. ModifiableItemGroup2 perhaps. It probably need not even extend ModifiableItemGroup, since if someone is actually assigning something to a

Re: Hung jenkins_main_trunk

2012-08-23 Thread Jesse Glick
On 08/22/2012 09:37 PM, R. Tyler Croy wrote: What do you think a good value for a build timeout on that is? Well, when it succeeds (BTW the next build is hung again!), it does so in under an hour, so maybe three hours for a timeout would be reasonable?

Re: New release of remoting?

2012-08-23 Thread Jesse Glick
On 08/22/2012 09:20 PM, Kohsuke Kawaguchi wrote: +1. Then can you perform one please? The POM requests a signature in -Prelease, I suppose since it is made into slave.jar, and I lack the private key. (Ideally the releases would be done by promoting a job on ci.jenkins-ci.org configured with

Re: Use static content of a plugin and non-standard context path

2012-08-23 Thread Jesse Glick
On 08/23/2012 04:03 PM, Stefan Wolf wrote: How can I solve this problem? ${rootURL} is what you want I think.

Re: stapler docs?

2012-08-23 Thread Jesse Glick
On 08/23/2012 06:05 PM, Max Spring wrote: Where did the stapler documentation at https://stapler.dev.java.net/ go? http://stapler.java.net/reference.html (generally *.dev.java.net - *.java.net after the site refactoring a year or so ago)

Re: Use static content of a plugin and non-standard context path

2012-08-24 Thread Jesse Glick
On 08/24/2012 05:16 AM, Stephen Connolly wrote: ${rootURL} is what you want I think. ${resURL} more correctly to aid static content caching These did not seem to be documented, so:

Re: Serializing Items and Runs internally

2012-09-06 Thread Jesse Glick
On 09/06/2012 09:11 AM, Brian Lalor wrote: Is there another way that I could take an arbitrary Item or Run and serialize it to JSON or XML without having to make an HTTP request back to Jenkins? Should be easy. Try something like: import java.io.*; import org.​kohsuke.​stapler.​export.*;

Re: Multiple SCM Plugin and Trigger

2012-09-07 Thread Jesse Glick
On 09/07/2012 10:45 AM, Timur Zanagar wrote: I'm just using the Multiple SCM Plugin with 2 Mercurial repositories and my SCM trigger isn't working. What do your job's scm and triggers sections look like? Are you using the latest versions of both plugins?

Re: Serializing Items and Runs internally

2012-09-07 Thread Jesse Glick
On 09/07/2012 08:48 AM, blalor wrote: using Jenkins' XStream2 [...] does give me somewhat different results Right, these are two different things, perhaps confusingly. XStream is used for persisting _configuration_ of Jenkins, under a somewhat liberal interpretation of “configuration” to

Re: Maven JVM terminated unexpectedly with exit code 134

2012-09-07 Thread Jesse Glick
On 09/07/2012 08:15 AM, Alexander Potapov wrote: SIGBUS (0x7) at pc=0x7ffae80661b0, pid=26833, tid=140715262596864 J java.util.zip.ZipFile.getEntry(JLjava/lang/String;Z)J J java.util.zip.ZipFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry; j

Re: Multiple SCM Plugin and Trigger

2012-09-07 Thread Jesse Glick
On 09/07/2012 11:30 AM, Timur Zanagar wrote: [Api] $ hg pull --rev default abort: http authorization required Sounds like you neglected to set up authentication for your repositories. Read the Mercurial guide to see your options. (Currently the Mercurial plugin has no special support for

Re: [VOTE] Bump Jenkins to Java 6

2012-09-10 Thread Jesse Glick
On 09/10/2012 03:12 PM, Olivier Lamy wrote: I prefer animal-sniffer to toolchains Sure, it is cleaner, so long as you do not need to run tests on an older VM. having to create/maintain a file ~/.m2/toolchains.xml is a pain. At least jenkins could create it Good point, the Maven plugin

Re: How to stop passwords used by my scm plugin from appearing the log?

2012-09-12 Thread Jesse Glick
On 09/12/2012 12:07 AM, Stuart Whelan wrote: 1) Mask the password from the log ConsoleLogFilter is probably what you want; check for your SCM on the project. (Overriding BuildWrapper.decorateLogger would scale better but an SCM is not a BuildWrapper.)

Re: Question about Jenkins Security Advisory 2012-09-17

2012-09-19 Thread Jesse Glick
On 09/19/2012 02:22 PM, Albert So wrote: I think the patch is within the checkins on Sep 13, 2012 here: https://github.com/jenkinsci/jenkins/commits/stable but can someone confirm this please? Yes.

Re: Lazy loading build records

2012-09-21 Thread Jesse Glick
On 09/20/2012 05:20 PM, Kohsuke Kawaguchi wrote: We can create a pull request from one branch to another, so if that's the only thing, I'd encourage you to create a branch. No, my point was really that it is hard to _comment_ on changes made in a branch which is not a pull request. You have

Re: ScriptContentTest unit tests failing for ext-email - SLF4J and Ant class loading problems?

2012-09-28 Thread Jesse Glick
On 09/28/2012 10:59 AM, Harold Shinsato wrote: changing HudsonTestCase to a JUnit 4 style test is probably a much bigger deal JenkinsRule is available with newer core versions and lets you do functional tests in JUnit 4 style.

Re: ScriptContentTest unit tests failing for ext-email - SLF4J and Ant class loading problems?

2012-09-28 Thread Jesse Glick
On 09/28/2012 03:10 PM, Harold Shinsato wrote: MethodRule is deprecated as of JUnit 4.7 Not quite sure but according to 26276d1 I think you need to either 1. Make sure a recent version of JUnit (4.10) is in your test dependencies. or 2. Use Jenkins 1.479+ as your core baseline.

Wiki edit problem

2012-10-03 Thread Jesse Glick
I guess caching was introduced recently in the wiki? But now after editing a page and clicking Save, I am shown the old content in HTML—although clicking Edit again I can see the new content in raw wiki text, and I can view the new HTML via the page history. Very confusing. Can the cache

Re: Jenkins loads bad ASM lib version

2012-10-04 Thread Jesse Glick
On 10/04/2012 04:56 PM, Ognjen Bubalo wrote: if you can just point to a specific good configured plugin's pom I would be thankful. According to grep [1] this is used in maven-dependency-update-trigger-plugin and repository-connector-plugin. [1]

Re: URI of all.git repository?

2012-10-05 Thread Jesse Glick
On 10/05/2012 04:44 PM, Max Spring wrote: What's the URI of the all.git Git repository containing all plugins http://git.jenkins-ci.org/all.git

Re: Spying on what Ant is doing

2012-10-06 Thread Jesse Glick
On 10/05/2012 09:16 PM, Kohsuke Kawaguchi wrote: an abstraction that capture common build spy events (source code in this directory got compiled with these libraries) across Ant/Maven/Gradle By way of background, the code Kohsuke alluded to earlier was in NetBeans; the Ant runner reports

Re: An extra element in the HTML plugin cause js exception

2012-10-11 Thread Jesse Glick
On 10/03/2012 06:34 AM, Uri Scheiner wrote: I've noticed that when adding a post-build plugin that I developed it results in *Uncaught TypeError: Cannot read property 'firstChild' of null* . Ran into the same problem myself. Filed as JENKINS-15494 [1] for tracking. [1]

Re: Logging levels in hudson.tasks.LogRotator perform()

2012-10-15 Thread Jesse Glick
On 10/11/2012 03:01 PM, Wade C wrote: it looks like I should fork and create a pull request. Yes. Since it's a very small change, how about a patch instead for code review? Pull requests are how code review is done, even for one-line changes.

Re: all repository use

2012-10-17 Thread Jesse Glick
On 10/17/2012 01:46 PM, Max Spring wrote: I then do find/greps to look for interesting snippets. The difference with all.git is that you can use git grep (without a checkout), but either can work. Instead of having a tgz you could also consolidate all sources into a single Git repository.

Re: hpi:run classpath hell

2012-10-23 Thread Jesse Glick
On 10/21/2012 09:06 AM, Stephen Connolly wrote: There is a config option that lets you set the plugin's class loader as child first. And IIRC Ognjen found it useful to combine this with another option…please update the wiki with details if so.

Re: Backports to LTS 1.480.1

2012-10-23 Thread Jesse Glick
On 10/21/2012 04:54 PM, Vojtech Juranek wrote: any other critical or blocker issues need to be backported to 1.480.1 JENKINS-7214 [1] should be considered; large installations can be slowed to a crawl by this longstanding issue. Ditto JENKINS-15206 [2]. Neither are trivial fixes, though.

Re: Backports to LTS 1.480.1

2012-10-23 Thread Jesse Glick
On 10/23/2012 03:33 PM, Vojtech Juranek wrote: https://issues.jenkins-ci.org/browse/JENKINS-15206 You merged the main commit but not the follow-up 06514d2.

Re: Backports to LTS 1.480.1

2012-10-30 Thread Jesse Glick
On 10/30/2012 05:48 AM, Edward Cullen wrote: We've just hit this in our production environment: JENKINS-15369 - NPE from Jenkins.removeNode Do you have any idea how to reproduce? If so, do 300bfc4 87d9a6e help? CloudBees encountered this NPE in our hosted Jenkins instances, we are guessing

Re: Displaying Images with Jelly

2012-11-01 Thread Jesse Glick
On 10/31/2012 04:45 AM, Michaël Pailloncy wrote: add your images to src/main/webapp/images Useless for dynamically generated images. Stapler-bind a hudson.util.Graph from your action so it is accessible from a dynamic URL. ProjectDiskUsageAction [1] [2] is a good example. [1]

Re: Android Jenkins Dashboard

2012-11-01 Thread Jesse Glick
On 10/31/2012 09:19 AM, Christian Robert wrote: I've started to implement a Jenkins Dashboard for Android devices. In addition to or instead of a separate app, perhaps Jenkins should detect a mobile browser and by default display a simplified web UI? E.g. somepage.jelly could have a

Re: Displaying Images with Jelly

2012-11-02 Thread Jesse Glick
On 11/02/2012 08:35 AM, Michael Pailloncy wrote: Is there a wiki page explaining this feature? Not that I know of. Get it working in your plugin and add such a page! Or better yet, make sure (*) the Javadoc for Graph includes all the details you need to know, then link to this Javadoc page

Re: Script console should not have RUN_SCRIPTS permission

2012-11-07 Thread Jesse Glick
On 11/07/2012 07:40 AM, lvoty...@redhat.com wrote: there is almost no difference between power of user with RUN_SCRIPT permission and user with ADMINISTER permission. RUN_SCRIPTS is _more_ powerful than ADMINISTER; as you note, it is effectively a universal permission. That is why it

Re: Set Slave ToolInstallation path with groovy cli script

2012-11-07 Thread Jesse Glick
On 11/07/2012 03:42 PM, Matt Gollob wrote: I'm having trouble figuring out what the inverse of ToolInstallation.translateFor() might be Hint: hudson.tools.ToolLocationNodeProperty

Re: Script console should not have RUN_SCRIPTS permission

2012-11-07 Thread Jesse Glick
On 11/07/2012 05:49 PM, lvoty...@redhat.com wrote: I thought that the most powerful permission should be ADMINISTER (at least by documentation). The documentation is misleading in this regard.

Re: Script console should not have RUN_SCRIPTS permission

2012-11-08 Thread Jesse Glick
On 11/08/2012 05:29 AM, nicolas de loof wrote: you can set up security to distinguish ADMINISTER and RUN_SCRIPT …by implementing a custom authorization plugin which specifically does not follow the impliedBy link in the case of RUN_SCRIPTS, granting this permission only to site

Re: Set Slave ToolInstallation path with groovy cli script

2012-11-12 Thread Jesse Glick
On 11/12/2012 10:43 AM, Matt Gollob wrote: I need a little more explicit direction. Sorry, no time to help more; maybe someone else can chime in.

Re: LTS 1.480.1 RC1 testing

2012-11-19 Thread Jesse Glick
On 11/19/2012 04:39 AM, Vojtech Juranek wrote: It was release yesterday. When will the changelog [1] mention it? [1] http://jenkins-ci.org/changelog-stable

Re: slowness with jenkins 1.490

2012-11-26 Thread Jesse Glick
On 11/20/2012 08:41 AM, ohad shai wrote: Handling GET / : … at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228) at java.io.File.isDirectory(File.java:754) at

Re: More sorting options for @Extension?

2012-11-27 Thread Jesse Glick
On 11/27/2012 08:38 AM, Sandell, Robert wrote: I think it would be great if I could annotate my RunListener with for example @Extension(beforeClass=”org.jenkins-ci.plugins.someplugin.ThatRunListener”) or @Extension(afterClass=”org.jenkins-ci.plugins.someplugin.ThatRunListener”)

Re: More sorting options for @Extension?

2012-11-27 Thread Jesse Glick
On 11/27/2012 12:32 PM, Jerome Lacoste wrote: there should be a way to override the ordinal (or reorder the extensions) at either global jenkins configuration This should be possible, though is there a known use case for it? or job configuration level Not possible—extensions are global

Supplanting CodeMirror with Orion editor

2012-11-30 Thread Jesse Glick
Just saw a demo of the Project Orion in-browser code editor and it looked pretty nice. Anyone want to take a stab at replacing CodeMirror in Jenkins with the Orion editor? Supposedly you can reuse any CodeMirror grammar, of which there are plenty (e.g. Groovy). Would have to either retain full

Re: Hosting Jenkins Plugins as OS packages

2012-12-04 Thread Jesse Glick
On 12/04/2012 02:10 PM, Dieter De Meyer wrote: we fetch the list of latest plugins from updates.jenkins-ci.org and for each plugin we create an RPM package What is the file list, i.e. where you do place plugins so as to ensure that Jenkins loads them automatically?

Re: [RFC] Database plugin

2012-12-04 Thread Jesse Glick
On 11/28/2012 07:19 PM, Kohsuke Kawaguchi wrote: I want to also create a per-job file-backed embedded Database instance Implemented in API and H2 plugin. Need to play with using it from e.g. cobertura plugin.

Re: Hosting Jenkins Plugins as OS packages

2012-12-05 Thread Jesse Glick
On 12/05/2012 03:34 PM, Vojtech Juranek wrote: what we do is to completely switch off update center Seems reasonable, though not as part of the default ‘jenkins’ package of course (could be done as a little package dependent on ‘jenkins’ which plugin packages in turn depend on). What

Re: [RFC] Database plugin

2012-12-05 Thread Jesse Glick
On 12/05/2012 06:37 AM, Kohsuke Kawaguchi wrote: H2 database, when opened, takes up about 1MB in heap. Seems excessive when typical jobs will have much less data than this that needs to be stored. I am still not convinced that using a SQL database for this kind of thing is appropriate. 1.

Re: Jenkow plugin hacking

2012-12-06 Thread Jesse Glick
On 12/06/2012 03:18 PM, Max Spring wrote: Trying to build it myself I ran into a missing dependency: com.cloudbees:vietnam4j-core:jar:1.5-SNAPSHOT 1.5 was already released, so I guess just update the dep.

Re: memory consumption of builds

2012-12-06 Thread Jesse Glick
On 12/06/2012 09:37 AM, Johannes Ohlemacher wrote: Why does jenkins always deserialize all builds for all jobs? My initial (naive?) expectation was that jenkins would only deserialize a build when a user opens it in the browser. That is what happens in 1.485+, or should happen at least. Or

Re: slowness with jenkins 1.490

2012-12-07 Thread Jesse Glick
On 12/07/2012 02:10 PM, Ben Castellucci wrote: Was a change made after 1.485 to load all builds when a user navigates to the main page vs on startup? As of 1.485 builds are loaded on demand rather than on startup. Simply viewing an overview page is not supposed to trigger loading of lots of

Re: slowness with jenkins 1.490

2012-12-07 Thread Jesse Glick
On 12/07/2012 02:40 PM, ohad shai wrote: I have other views, and they are in seperate tabs in the page. Are they also loaded on page load? or is it just loaded on the click on the view which cause refresh? Just when clicking on the view tab. I think I may know what is causing the problem in

Re: Refactoring some Subversion code into core

2012-12-07 Thread Jesse Glick
On 12/07/2012 03:06 PM, Dean Yu wrote: As a user, I may not be aware of the interrelationships between plugins. Nor should you need to be. I could upgrade a leaf plugin, which requires a newer version of a base plugin I hope in this case the Jenkins plugin manager will force you to upgrade

Re: Reuse build steps in multiple jobs

2012-12-10 Thread Jesse Glick
On 12/10/2012 09:00 AM, martoe wrote: I am looking for a plugin that lets me define single build-steps so that they can be reused for multiple jobs. FYI, Jenkins Enterprise has a plugin which does exactly this (it is not open source).

Re: [RFC] Database plugin

2012-12-10 Thread Jesse Glick
On 12/08/2012 01:11 PM, Kohsuke Kawaguchi wrote: Map is by definition single index, so I'm not sure it works for many typical use cases. Say test reports—we need to be able to query all failing ones for a given build as well as all the past executions of a specific test case. What is

Re: slowness with jenkins 1.490

2012-12-10 Thread Jesse Glick
On 12/10/2012 04:25 PM, ohad shai wrote: when I have only name field, the view is fast. as I said it seems like each added column slow down a bit more (few more seconds) OK, I filed JENKINS-16089 [1] to track this. Will try to look into it in January if no one else gets to it before then.

Re: Plugin consumes too much memory

2013-01-02 Thread Jesse Glick
On 12/27/2012 10:25 AM, Ognjen Bubalo wrote: A plugin (JaCoCo) uses too much memory. I would like to investigate it, but first I need to understand what does the Jenkins serialize and when. Can someone please describe me which objects are saved and retrieved and when generally? I see that it

Re: Monitoring the database plugins

2013-01-02 Thread Jesse Glick
On 12/20/2012 09:35 AM, Vernat Emeric wrote: public static interface DataSourceWrapper { DataSource wrap(DataSource source); } Make that extend ExtensionPoint so that the monitoring plugin registers an @Extension for its wrapper; then the DB plugin would look for

Re: Security problem: Anonymous read permissions let anyone connect as a slave

2013-01-02 Thread Jesse Glick
Looking at it. In the future please use https://issues.jenkins-ci.org/browse/SECURITY for such things. On Mon, Dec 17, 2012 at 4:47 PM, Andrew Collette andrew.colle...@gmail.com wrote: Hi, I filed a bug about this last week, here: https://issues.jenkins-ci.org/browse/JENKINS-16103 It seems

Re: ec2-plugin (apparently) missing license/copyright information

2013-01-04 Thread Jesse Glick
On 01/04/2013 08:50 AM, KEVIN FLEMING (BLOOMBERG/ 731 LEXIN) wrote: the ec2-plugin doesn't have any license information in it Well the original code was written by Kohsuke, who would normally use the MIT license like for Jenkins itself. But there have been plenty of other people contributing

Re: mvn hpi:create adding .null to package name

2013-01-07 Thread Jesse Glick
On 01/07/2013 09:09 AM, KEVIN FLEMING (BLOOMBERG/ 731 LEXIN) wrote: Enter the groupId of your plugin [org.jenkins-ci.plugins]: com.groupon.jenkins.test [INFO] Defaulting package to group ID + artifact ID: com.groupon.jenkins.test.null Confirmed regression in 1.92—an attempted fix that

Re: Unable to get form validation to occur

2013-01-09 Thread Jesse Glick
On 01/09/2013 11:39 AM, org.jenkins...@io7m.com wrote: even though the form shows a validation failure when entering something that's not a valid URL, I can save the job anyway and run it with invalid input. Is that intended? Yes, doCheck* methods are intended to provide warnings but do not

Re: Implementing JENKINS-4819 (quick enable/disable build step)

2013-01-10 Thread Jesse Glick
On 01/10/2013 03:36 PM, The Assimilator wrote: I'd like to implement the feature requested by JENKINS-4819 I wonder if this is really the right feature to implement. A more general and perhaps more useful feature would be to quickly revert job configuration changes, or generally jump back to

Re: Security-49 Issue

2013-01-11 Thread Jesse Glick
On 01/10/2013 08:12 PM, Andrew Gray wrote: Does your solution account for Jenkins instances installed as a Windows service? Was probably not tested. I filed JENKINS-16319 [1] for tracking. [1] https://issues.jenkins-ci.org/browse/JENKINS-16319

Re: [new Jenkins plugin] run mvn package fail on windows

2013-01-14 Thread Jesse Glick
On 01/14/2013 07:30 AM, Zhiwei Liu wrote: i used the online skeleton generator and run mvn package, then it download many jars. but it failed to pass the tests. I am unable to reproduce on Linux using JDK 7u11 and Maven 3.0.4, using a newly generated plugin with the parent version set to

Re: hudson.model.User

2013-01-15 Thread Jesse Glick
On 01/14/2013 11:54 PM, Slide wrote: Now that the Mailer is outside the core, I think that the User class should have an email field (or a list of emails or something). Mail address resolution should probably be moved back into the core as well. Perhaps, assuming you can figure out the

Re: [new Jenkins plugin] run mvn package fail on windows

2013-01-15 Thread Jesse Glick
On 01/14/2013 07:40 PM, Zhiwei Liu wrote: is this related with the JDK version? I just checked a newly generated plugin using 6u35 on Windows XP using Maven 3.0.4 and it was fine. If in doubt, upgrade to the latest JDK (7u11).

Re: hudson.model.User

2013-01-15 Thread Jesse Glick
On 01/15/2013 01:44 PM, Slide wrote: several plugins use the user property to get the email information about a user, or even to set it. My concern is things will start to go AWOL if someone disables or removes the Mailer plugin from their setup. Certainly those plugins will need to depend on

Re: hudson.model.User

2013-01-15 Thread Jesse Glick
On 01/15/2013 02:08 PM, Slide wrote: It is not working today. Then maybe there is a core bug which should be fixed first. A plugin like email-ext built against an older core should get an automatic dependency on mailer (according to DETACHED_LIST) and it should not be possible to run with

Re: hudson.model.User

2013-01-15 Thread Jesse Glick
On 01/15/2013 01:55 PM, Jesse Glick wrote: Certainly those plugins will need to depend on mailer-plugin if that is where the API lives. To be clear, I am not arguing against moving these APIs back into core, just saying that so long as they are not it is the responsibility of the plugin

Re: Plugin consumes too much memory

2013-01-16 Thread Jesse Glick
On 01/16/2013 10:24 AM, Ognjen Bubalo wrote: Maybe the problem is that the plugin loads the serialized objects and the exec files too. What do you think? Could be a problem. If you are using the DB plugin probably you would have your plugin examine jacoco.exec at the end of the build and

Re: How to make my plugin run on slaves ?

2013-01-22 Thread Jesse Glick
On 01/21/2013 03:59 AM, Harish Kayarohanam wrote: When I run the job in slave , the plugin does the war deployment in my master itself . http://javadoc.jenkins-ci.org/hudson/FilePath.FileCallable.html

Re: Another LTS release needed

2013-01-22 Thread Jesse Glick
On 01/22/2013 01:50 PM, Kohsuke Kawaguchi wrote: Any other issues that we need to backport? Here is my provisional list of candidates. Not to say I am pushing for all of these to be backported; these are just relatively serious bugs that I know about which _could_ be backported. Most have

Re: Another LTS release needed

2013-01-24 Thread Jesse Glick
On 01/24/2013 02:53 AM, Sandell, Robert wrote: “Fixed the lock contention problem onQueue.getItems()” Not sure if my posts went through, so: http://jenkins-ci.org/issue/16468 lock contention in queue http://jenkins-ci.org/issue/13536 file parameters break build loading

Re: AbstractTestResultAction#getFailedTests()

2013-01-24 Thread Jesse Glick
On 01/24/2013 11:17 AM, Dean Yu wrote: MetaTabulatedResult is in the inheritance chain for CaseResult. Not that I can see. I think the proposed return type was List? extends hudson.tasks.test.TestResult. Type erasure should allow existing callers to continue to work. Not if they are

Re: Advice on developing HA solution

2013-01-24 Thread Jesse Glick
On 01/24/2013 09:21 AM, Mikael Stockman wrote: When a job run is finished the generated files would be copied to the other Jenkins There is already a plugin for this. How does Jenkins find out if more than one Jenkins is using the same JENKINS_HOME? DoubleLaunchChecker

Re: Broken backward compatibility

2013-01-24 Thread Jesse Glick
On 01/24/2013 08:21 AM, lvoty...@redhat.com wrote: Revert commit I would say revert (bdaf5ea too); at least I do not see a clear description in #494 as to the original purpose of the change.

  1   2   3   4   5   6   7   8   9   10   >