Re: Use AdoptOpenJDK as JDK Tool download source

2019-03-04 Thread Baptiste Mathus
at? Would it kill someone's usage model to remove this feature? It > seems > >> to me to be fairly unsustainable. > >> > >> On Tue, Feb 26, 2019, 06:22 Baptiste Mathus wrote: > >> > >>> Hey Martijn, > >>> > >>> Thanks for chim

Re: GitHub Branch Source Plugin "trusted" pull request property in Jenkinsfile?

2019-03-04 Thread Baptiste Mathus
This seems like a useful thing. I would recommend filing an issue in https://issues.jenkins-ci.org/secure/Dashboard.jspa describing your goal and use case (after having checked it's not already filed, that is, goes without saying :)). Le jeu. 21 févr. 2019 à 06:40, Brian J. Murrell a écrit : > H

Re: Adding java libraries to jenkins

2019-03-10 Thread Baptiste Mathus
Not sure I understand the use case to be honest. Care to add details? Le dim. 10 mars 2019 à 15:12, Peter Berghold a écrit : > How would I go about adding java libraries to jenkins? I may not be > voicing what I'm trying to do very well so I'll go into a little detail. > > I'd like to set up

Re: JRE version requirement

2019-03-19 Thread Baptiste Mathus
Hello, It is unrelated with Java 11. It has always been the case, but we've now been so long all using Java 8 that most people forgot about this requirement. IOW, it was already unsupported to, say, run a master on a Java 8 and an agent on Java 7. This is because the remoting layer of Jenkins ser

Re: JRE version requirement

2019-03-19 Thread Baptiste Mathus
Oops, forgot the link to the plugin I'm talking about: https://plugins.jenkins.io/versioncolumn Le mar. 19 mars 2019 à 17:01, Baptiste Mathus a écrit : > Hello, > > It is unrelated with Java 11. It has always been the case, but we've now > been so long all using Java 8 t

Re: Frequent screen refrest (30sec) of pipeline job - LTS 164.1

2019-03-31 Thread Baptiste Mathus
Did you maybe just enable the auto-refresh feature on the top left? Le mer. 27 mars 2019 à 17:12, Dan Tran a écrit : > > Hello > > I wonder if anyone has seen this issue after upgrade to latest LTS. The > screen refreshes even when no build running. Very annoying :-) > > Thanks > > -D > > -- > Y

Re: Jenkins git plugin using only Java 7.1

2019-04-22 Thread Baptiste Mathus
I _think_ you're implying that you're using Java 7 on the agent side (AIX) and you're running the master on Java 8. If so, do not do it. It is not supported at all, and will cause issues. Issues like, well, these ones if I understand your question. Switch your master instance to running Java 7 and

Re: Docker-Hub jenkins or jenkinsci?

2019-04-24 Thread Baptiste Mathus
Also please read https://jenkins.io/blog/2018/12/10/the-official-Docker-image/ Le mer. 24 avr. 2019 à 15:43, Mark Waite a écrit : > > > On Wed, Apr 24, 2019 at 7:19 AM 'Sven Hüßner' via Jenkins Users < > jenkinsci-users@googlegroups.com> wrote: > >> There are two organisations on Docker-Hub that

Re: Blue Ocean viewer for offline files

2019-04-24 Thread Baptiste Mathus
For artifacts, you could use the artifact-managet-s3 plugin. I think I've seen an ongoing effort for an azure equivalent, not sure what the status is now. Not sure something is started for GCP? For build logs, given IIRC that effort is stopped for now, this would be harder likely. Le mar. 23 av

Re: Recovering jenkins.io account

2019-04-25 Thread Baptiste Mathus
Likely the infra ml, or on IRC, would better serve this. Cheers Le mar. 23 avr. 2019 à 17:43, James Telfer a écrit : > Hi, > > Not sure this is the right place, but > https://accounts.jenkins.io/passwordReset just says 'contact us' without > a link as to how > > I believe I have an existing

Re: Jenkins and Shenandoah GC

2019-04-26 Thread Baptiste Mathus
This would be very interesting feedback if anyone is willing to try it. At this stage, simply beware that running Jenkins on it wouldn't be supported yet. (Java 8 only until 2.164.1, then 8 and 11 starting with 2.164.1 excluding any other Java version cf. https://jenkins.io/doc/administration/requ

Re: Odd environment problem with git under Jenkins on AIX

2019-04-26 Thread Baptiste Mathus
Le ven. 26 avr. 2019 à 15:20, Rich Stephens a écrit : > I fully have no clue what you just said. > > "You might, but you won't have git commands executed to scan multibranch > pipelines, since those are executed on the master." > > Can you translate this to English? > Please, beware your phrasin

Re: JenKins Logs cannot survive out of tmp folder - Using Audit trial Plug-in -- may be BUG

2019-05-09 Thread Baptiste Mathus
Hello, Image doesn't seem to have survived after sending. Maybe put it somewhere else and just link it? Also please clarify/rephrase, I'm personally a bit lost about what you're exactly trying to achieve Thanks Le mer. 8 mai 2019 à 15:18, Saurabh Jain a écrit : > Hi All > > I am trying to st

Re: NPE in JIRA Plugin after update to 3.0.7

2019-05-19 Thread Baptiste Mathus
If you confirmed the issue, and would like to raise chances to see it fixe, please file a JIRA in the tracker with clear reproduction steps (ideally, providing the fix PR with it). Thanks! Le mer. 15 mai 2019 à 22:17, Junio Souz a écrit : > I've observed that in 3.0.7 release notes there's this

Re: Jenkins Pipelines: Use jx-release-version

2019-05-31 Thread Baptiste Mathus
Note that Jenkins-X generally uses different community channels than Jenkins. >From a cursory reading, it looks to me running the Maven release plugin (for Java projects like in the article from Jose) in batch mode would achieve this too. But again, cursory read so I might have missed specifics.

Re: jenkins user cpu is high and will jenkins create .firefoxcatche directory

2019-05-31 Thread Baptiste Mathus
No, that file is really unlikely created by Jenkins. What else runs on this machine? Le mar. 21 mai 2019 à 08:12, Turaco mobile a écrit : > Hi, Jenkins is running in CentOS 7 and the user is jenkins. Most of the > time cpu usage is high above 70% even nobody building the jobs. > Top command sho

Re: Priority Sorter Plugin

2019-05-31 Thread Baptiste Mathus
Can't you use a special parameter on the high priority jobs? IIRC from my usage of this plug-in 3 years ago, we have a release=true on some jobs that would make them higher priority than PR builds and the likes. Le mar. 21 mai 2019 à 13:23, Adam Ben-David a écrit : > Hi All, > > I just started

Re: Jenkins replaces all occurrences of my user name in the log with asterisks. How can I change that?

2019-05-31 Thread Baptiste Mathus
The username being part of the credentials, I believe it being masked like the password is a correct behavior. If you'd like it to behave differently, I think you want to use something else then a credz type. But don't tell anyone I'm telling you to put your username as a string parameter, I'm not

Re: Running a Pipeline multiple times in parallel

2019-05-31 Thread Baptiste Mathus
https://issues.jenkins-ci.org/browse/JENKINS-54010 Le mar. 21 mai 2019 à 18:29, Sverre Moe a écrit : > > Our build Scripted Pipeline have several stages each in parallel > executions. > > [image: Screenshot_20190521_181654.png] > > I need to run two parallel Pipeline builds in the same Run. > I

Re: Priority Sorter Plugin

2019-05-31 Thread Baptiste Mathus
Please do not double/re post. Thank you Le jeu. 23 mai 2019 à 14:38, Adam Ben-David a écrit : > Hi All, > > I just started to use this plugin, but unfortunately its not super obvious > how to make a correct setup. > > In our setup we have multiple views: > View A > View B > View C > > Inside of

Re: Writing a stream of logs from a shared library so they appear under one collapsible panel in Blue Ocean

2019-05-31 Thread Baptiste Mathus
Seems like a case where writing a plugin is the way if you want fine-tuning like this. Shared libraries are still /userspace/ side when using Pipeline. When needing to go deeper and get holds off more internal structure, shared libs are not a fit anymore. Le lun. 27 mai 2019 à 13:37, Peter Goodman

Re: Custom action on job/build delete

2019-05-31 Thread Baptiste Mathus
Inside a plugin, yes and very easily. (ItemListener.onDeleted https://github.com/jenkinsci/jenkins/blob/892bdf124ebd3b8a386c7e019ce4ebe74262b819/core/src/main/java/hudson/model/listeners/ItemListener.java#L101 ) I don't think I've seen something to do that available as an existing feature on the /

Re: Pipeline: The sh step does not show all output

2019-05-31 Thread Baptiste Mathus
Likely because when calling scripts this way, `set -o pipefail` is not set maybe? Le ven. 31 mai 2019 à 10:06, Sverre Moe a écrit : > This workaround gave me some problem with failing builds. > The step no longer is marked failed when it fails. > > mandag 27. mai 2019 16.27.11 UTC+2 skrev Sverre

Re: Memory issues with Jenkins

2019-07-04 Thread Baptiste Mathus
Did you enable GC logging to have a better understanding of the profile of your memory consumption? If not, I would recommend you do it first and analyze them. https://jenkins.io/blog/2016/11/21/gc-tuning/ explained this part (and much more) quite well. Then, once you understand better when it cra

Re: pipeline-maven-plugin 3.8 upgrade fails to load mysql driver

2019-07-13 Thread Baptiste Mathus
I recommend filing a JIRA if you have abug reproducer. Cyrille, the maintainer, is quite busy these days, so a JIRA is likely a better way that he sees it and fixes it if needed. Cheers Le sam. 13 juil. 2019 à 07:58, Dan Tran a écrit : > > Hello, > > after upgrading to 3.8, mysql setup for pipe

Re: Jenkins maven release plugin doesn't commit files to bitbucket

2019-07-19 Thread Baptiste Mathus
Does this work outside Jenkins using Maven only? Le mar. 16 juil. 2019 à 13:57, Ashwini a écrit : > Hi Team, > > I am trying to perform automated maven release using Jenkins and maven > release plugin. When i perform the maven release, plugin modifies the > pom.xml, creates release.properties, p

Re: "Team-folder" multibranch pipelines for github

2019-08-06 Thread Baptiste Mathus
IIUC what is team-folder inside bitbucket, then yes I believe you've got it right by matching it to organization folders. The fact seems to me that given this is what GitHub offers, this is what the plugin could propose? How would you propose, think this should evolve? For instance starting with a

Re: Jenkins Overwriting JobDSL Configured Job

2019-08-14 Thread Baptiste Mathus
What does the changelog for the plug-in say that could relate to your problem? Le mar. 13 août 2019 à 16:20, Chris McIntosh a écrit : > Thanks for the help all, > > This is fixed. I saw that the jobDsl plugin had an update, so I bumped > the version up to 1.75 and it started working again. (I

Re: configuration-as-code: evaluation of multiple YAML files

2019-11-05 Thread Baptiste Mathus
Just a side note: I have just approved your email to the dev list. However, I think we need to adjust this doc page. It sounds a bit misleading to me. The dev list should *not* be used for all questions about JCasC. Using the dev list should be exclusively reserved for *development* related questi

Re: workflow

2019-12-02 Thread Baptiste Mathus
Hello, Like I told you on IRC, you need IMO to provide (much) more details about what you're trying to accomplish. "JIRA approvals" or "attributing changes back to approved JIRA tickets" does not mean something to me, but I'm using JIRA every day. Thanks Le dim. 1 déc. 2019 à 18:41, 'Renato Gon

Re: programming configuration

2020-05-29 Thread Baptiste Mathus
Yes. This video is 4 years old. Since then "Jenkins configuration as code" (aka JCasC) has been developed. See https://www.jenkins.io/projects/jcasc/ for more information, and do not hesitate to come back here to ask when you'll have specific questions. Cheers! Le ven. 29 mai 2020 à 11:50, leroy

Re: Docker workflow plugin - volume leak

2020-08-13 Thread Baptiste Mathus
Looks like a good idea and enhancement proposal yes. Feel free to propose it. Thank you Le jeu. 16 juil. 2020 à 14:59, Robert Hafner a écrit : > In our use of the docker workflow plugin we are seeing that volumes are > being leaked when the container is removed. Is there an option that can be >

Re: Error running docker workflow plugin demo

2020-08-13 Thread Baptiste Mathus
You need to configure Maven on your machine with the right Jenkins repos. In this case, it's the 'incrementals' one. Cannot provide a link as I'm offline right now, but googling using the above should help. Le jeu. 16 juil. 2020 à 15:30, Robert Hafner a écrit : > I'm seeing the following error

Re: "Added a missed class for missing class telemetry"

2020-08-13 Thread Baptiste Mathus
Looks like more a question for the dev list? What are you trying to do more precisely? Le ven. 17 juil. 2020 à 17:40, red 888 a écrit : > Im trying to run the test harness and im seeing a ton of these warnings > > This says resolved but Im seeing it > on "org.jenkins-ci.main:jenkins-war:2.235"

Re: Agent label conditional

2020-08-13 Thread Baptiste Mathus
Using Jenkins pipeline, simply use the parameters inside the agent label specification and it will do exactly this. (Note: Not 100% sure declarative pipelines support variables, but cannot check right now) Le lun. 27 juil. 2020 à 19:09, Alex Panayi a écrit : > Hey guys. > > I have a step where

Re: How to throw an error if a parameter is empty?

2020-08-13 Thread Baptiste Mathus
What you're describing exactly is not possible by default. It /might/ be possible with custom development, but I would certainly not recommend it for such use case. Le ven. 31 juil. 2020 à 17:03, chencho m-a a écrit : > > What i want is that when you press the build button, a pop up or error at

Re: Jenkins file does not execute 'stage 2'

2020-08-13 Thread Baptiste Mathus
Jenkins will default to stopping execution on the first error. So I assume some command in the 'stage 1' failed and so it never reached the second one. Le jeu. 23 juil. 2020 à 05:38, gene golub a écrit : > Hello All, > > i am new user to Jenkins. > for some reasons below Jenkins file does not ex

Re: Calling writeFile for every entry of a map requires somewhat ugly code

2020-08-13 Thread Baptiste Mathus
Extract this in a shell script or so. Use Jenkins pipeline for orchestration, not for programming. It sounds tempting to use pipeline like it's Groovy. But first it's not *really* Groovy as you've discovered and second it'll make it very hard to develop locally if the build process steps are only

Re: Running three jobs at the same time

2020-08-14 Thread Baptiste Mathus
However tempting, I would recommend not using ever more than 1-executor agents. Especially for heavy tasks related to development. In $previousJob we've burned hours of engineering time to understand what was causing random failures when the wrong jobs would run together at the wrong time. TL;DR

Re: Newbie questions about the declarative syntax

2020-08-14 Thread Baptiste Mathus
Backslash escape is because the parser needs to know you're not trying to "despecialize" the following character. By default \ *is* a special character. (E.g. "\to" would mean \t, which is a tabulation, then the letter o). So using \ because the second \, the parser just It's the same in Java, C A

Re: Execute few Jenkin jobs under logged on user credential

2013-06-22 Thread Baptiste MATHUS
xecute using that service account which the >>> Jenkins job is using. It should execute using the credential of Logged on >>> user, so that the separate Operation Support Team person can logged in to >>> Jenkins and get the Production Release job deployed with his credential

Re: Unwanted workspace cleanup

2013-08-12 Thread Baptiste Mathus
Hi, See https://groups.google.com/forum/m/#!topic/jenkinsci-issues/LFIqr-z4Q6Efor the property to disable it. Jenkins actually deletes unused ws to keep disk space. Runs by default after 30 days. See https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/WorkspaceCleanupT

Re: jobs migration between slaves - quick question

2013-08-12 Thread Baptiste Mathus
Not sure I totally understand. If what you ask is "is having two slaves instead of just one handled correctly?" then the answer sure is yes. When starting jobs, jenkins master will just see which slaves have available executor and launch builds on the free ones. Cheers Le 12 août 2013 19:31, "Z W

Re: Help with Windows slave configuration

2013-08-14 Thread Baptiste Mathus
And what you basically need from a general point of view, that jenkins can't really do in your place, is a way to run your task in some command line interface (often aka "batch mode"). Le 13 août 2013 23:58, "Daniel Beck" a écrit : > Create a job. > > Enter the Windows node's name as 'Label expre

Re: Interactive jobs in jenkins- is it possible?

2013-08-14 Thread Baptiste Mathus
Hi, Seems like what you describe is exactly what build parameters are. It's a standard feature in jenkins. Cheers Le 14 août 2013 15:55, "alok kumar" a écrit : > Hi All, > I have a requirement in which I have some developers who would like to > fire some dev builds, but, I do not want to create

Re: Building Maven project in Jenkins

2013-08-15 Thread Baptiste Mathus
Hi, Read the message: "Unable to auto-install JDK until the license is accepted." You have to go in the jenkins admin and check the corresponding checkbox near JDK. Cheers Le 16 août 2013 02:20, "inbaraj" a écrit : > Hello, > > I created a simple Maven webapp by issuing this command. > *mvn arc

Re: Prevent job from when a particular job is running

2013-08-16 Thread Baptiste Mathus
Yup. You might want to just specify a as an upstream job in b configuration. Then check the box "block this build when upstream builds are running" (approximate text). But, you'll have to note that this will actually create a dependency between b and a, meaning the end of "a" build will trigger o

Re: Prevent job from when a particular job is running

2013-08-16 Thread Baptiste Mathus
ular instance, > job b is actually a downstream job of say, job f. I might have to figure > something else out here. Thanks. > > > On Fri, Aug 16, 2013 at 12:59 PM, Baptiste Mathus wrote: > >> Yup. You might want to just specify a as an upstream job in b >> configuration

Re: New to Jenkins - need some help

2013-08-17 Thread Baptiste Mathus
Hi, (<- good intro to ask for help ;) ) Le 17 août 2013 00:41, a écrit : > > First of all I'm a student and very noobish with linux and jenkins. I'm also tired of searching the web (it makes me crazy sometimes :) ) > > I need to do the following on a linux virtual machine (Cent OS 6.4 Minimal) >

Re: HELP! Maven builds don't show error messages when run under Jenkins...

2013-08-24 Thread Baptiste Mathus
Unrelated, but having "clean install deploy" as goals is wasteful. You should do only "clean deploy" as deploy actually includes the 'install' part. Cheers Le 24 août 2013 08:55, "Vincent Latombe" a écrit : > Hi Jeff, > > it's a bug introduced in core/maven-plugin a few versions ago. I think I

Re: How to Stop Emails to Admin

2013-08-28 Thread Baptiste Mathus
email to jenkinsci-users+unsubscr...@googlegroups.com. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> This message and any attachments may contain Cypress (or its >>> subsidiaries) confidential information. If it ha

Re: Jenkins Surefire Cross Reference Source code

2013-09-01 Thread Baptiste Mathus
Hi, Surefire is an *apache Maven* plugin, not a Jenkins one. Please address your questions to Maven Users mailing list. Le 29 août 2013 08:42, "Gaurang shah" a écrit : > Hi Guys, > > Is there any way I can cross reference source code in Surefire plugin of > Jenkins. > > I got this example on the

Re: Collect artifacts from multi-config build and upload to a server

2013-09-01 Thread Baptiste Mathus
Inside jenkins, under "manage plugins", have you had a look at the plugins containing the word SSH? Why/in what area don't they suit your needs? Cheers Le 29 août 2013 23:26, "Roland Asmann" a écrit : > Hi all, > > I currently have an environment set up with 5-7 jenkins instances. I have > sever

Re: Browser not opening in Other machine

2013-09-02 Thread Baptiste Mathus
Hi, IIUC, you want the jenkins server to run the tests on the machine you're using. It's basically not possible unless you add that client machine as a jenkins slave. Cheers Le 2 sept. 2013 13:22, "pradeep kattekola" a écrit : > > > Hi frnds , > > > I am new to Jenkins. I created job in one mach

Re: Jenkins Distributed Environment Setup

2013-09-02 Thread Baptiste Mathus
Hi, Search for "jenkins definitive guide". Le 2 sept. 2013 13:00, "Gaurang shah" a écrit : > Hi Guys, > > Is there any wiki page or blog post where set up of Jenkins Distributed > Environment is explained in details. Things like > >- How to run one build on multiple nodes for load balancing

Re: Browser not opening in remote machines when accessing from remote machines

2013-09-02 Thread Baptiste Mathus
Hi, Your mail was received. Please don't repost. Just check the archive to see if the first reached the mailing list. Thanks Le 2 sept. 2013 13:31, "pradeep kattekola" a écrit : > Hi frnds , > > > I am new to Jenkins. I created job in one machine and running the same job > in other machine with

Re: How do I stop Jenkins?

2013-09-08 Thread Baptiste Mathus
Prudential >> Regulation Authority (Financial Services Register No. 122702). >> >> -- >> 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,

Re: How to find out WHY a job was executed on a specific slave?

2013-09-08 Thread Baptiste Mathus
group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- Baptiste MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor ! -- You received this message becau

Re: Redirect stdout to surefire reports

2013-09-08 Thread Baptiste Mathus
..@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- Baptiste MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor ! -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this

Re: Jenkins Log4j warning

2013-09-08 Thread Baptiste Mathus
scribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- > Bapti

Re: How to find out WHY a job was executed on a specific slave?

2013-09-08 Thread Baptiste Mathus
OK, so I suppose you'll have to dig into the source to see if any log is issued, and hopefully understand what happened. My 2 cents. Le 9 sept. 2013 07:54, "Dirk Heinrichs" a écrit : > Am 08.09.2013 22:02, schrieb Baptiste Mathus: > > > So, I suppose your slave was u

Re: Jenkins Log4j warning

2013-09-09 Thread Baptiste Mathus
ener > > > > > > > > Gaurang Shah > Blog: qtp-help.blogspot.com > Mobile: +91 738756556 > > > On Mon, Sep 9, 2013 at 1:36 AM, Baptiste Mathus wrote: > >> Maven question. Please better post on Maven users mailing list next time. >> >> As

Re: How to find out WHY a job was executed on a specific slave?

2013-09-09 Thread Baptiste Mathus
Le 10 sept. 2013 07:31, "Dirk Heinrichs" a écrit : > > Am 09.09.2013 17:03, schrieb Les Mikesell: > > > Maybe there was a network glitch or something that made > > jenkins think that node was unavailable. > > Yes, see subject. This is exactly what I want to find out. The question > is: How? Is the

Re: Maven build fails (no error messages) but works via command-line

2013-09-10 Thread Baptiste Mathus
I suppose you're using a maven native build. There's sometimes issues with it. Does it work using a freestyle build with a Maven step? Le 11 sept. 2013 01:08, "Jeff" a écrit : > I have a multi-module Maven job in Jenkins v1.529 (CentOS 6.4) that fails. > There are no error messages displayed oth

Re: No sources to compile

2013-09-11 Thread Baptiste Mathus
Update your job configuration to point to that subdirectory directly. Cheers Le 11 sept. 2013 12:18, "Mitja" a écrit : > Hello, > > I'm testing CI with Jenkins+Git+maven on windows 8. > > I have problem with "No source to compile" for my java project "cez". > > Jenkins checks for java sources in

Re: Dynamically selecting a node

2013-09-11 Thread Baptiste Mathus
Hi, >From what you describe, what you want is actually a standard feature, no need for a plugin. Just start your job, this will select a free slave. If you have more slaves than those four, just label them (with the same label) and configure your job with "restrict where this job can run" text fiel

Re: Problem with zip-compressing files remotely running AutoIt scripts

2013-09-11 Thread Baptiste Mathus
Hi, Did you double check the Jenkins slave is using the same user as the one you use to successfully manually run it? And how is your slave started? Le 11 sept. 2013 16:11, "Mateusz Polański" a écrit : > I'm doing some GUI-testing using AutoIt. When i run those tests manually, > everything works

Re: Dynamically selecting a node

2013-09-11 Thread Baptiste Mathus
Oups. Sorry I just realized I lag here :) Le 11 sept. 2013 18:14, "Baptiste Mathus" a écrit : > Hi, > From what you describe, what you want is actually a standard feature, no > need for a plugin. > Just start your job, this will select a free slave. If you have more &g

Re: No sources to compile

2013-09-11 Thread Baptiste Mathus
"job configuration", so in Jenkins. Just update the path you're using. Cheers 2013/9/11 Mitja > Hi, > Where can I configure that subdirectory? pom.xml ? > > Regards, Mitja > > > Dne sreda, 11. september 2013 18:14:39 UTC+2 je oseba Baptiste Math

Re: No sources to compile

2013-09-11 Thread Baptiste Mathus
Which SCM are you using? Le 12 sept. 2013 08:27, "Mitja" a écrit : > I cant find that configuration in maven2/3 project job. > Can you point me, where this option is? > Thanks, Mitja > > > Dne sreda, 11. september 2013 18:14:39 UTC+2 je oseba Baptiste Mathus >

Re: No sources to compile

2013-09-12 Thread Baptiste Mathus
je oseba Mitja napisala: >>> >>> Apache Maven 3.1.0. >>> >>> Dne četrtek, 12. september 2013 08:43:59 UTC+2 je oseba Baptiste Mathus >>> napisala: >>>> >>>> Which SCM are you using? >>>> Le 12 sept. 2013 08:2

Re: Jenkins integration with any test management tool

2013-09-12 Thread Baptiste Mathus
Rally provides a script to be used for svn or Git hooks. We didn't have a look at how to post for example acceptance test result but I'm sure it's possible. I think you should have a look/contact rally to have more purchase information. My 2 cents Le 12 sept. 2013 19:03, "Smita Sinha" a écrit :

Re: Running two maven profiles in one job

2013-09-13 Thread Baptiste Mathus
Can't you just activate both profiles in a go? Le 13 sept. 2013 10:07, "Philippe Cambien" a écrit : > Hello, > > We have a Maven profile which contains a lot of long tests. > Before we run these tests, we want to make sure that all dependencies are > met ie. all systems are up and running. > How

Re: Running two maven profiles in one job

2013-09-13 Thread Baptiste Mathus
Try -Pprofile1,profile2 Le 13 sept. 2013 14:16, "Philippe Cambien" a écrit : > I tried it with maven clean install -Pprofile1 -Pprofile2 but he didn't > seem to run the first profile. > > > On Fri, Sep 13, 2013 at 2:15 PM, Baptiste Mathus wrote: > >> Can&#x

Re: Jenkins Settings problem

2013-09-15 Thread Baptiste Mathus
I understand you're releasing a new version for almost every commit. Though I like the idea of continuous delivery or equivalent I'm not sure it's conceptually correct this way. For your issue, if you really want to stay this way, I suppose I would just try to update the working copy at the end of

Re: Jenkins Settings problem

2013-09-16 Thread Baptiste Mathus
at file as part of the process (assuming > that file changes rarely for other reasons). > > We used a technique like that quite successfully, though our version > information was stored in a separate file dedicated to only storing the > version number. > > > On Mon, Sep 16, 2013

Re: Detect when a slave status changes from offline to online

2013-09-16 Thread Baptiste Mathus
Hi Tania, I don't think it's currently possible with a standard installation and don't know a plugin doing that, but I think this should be feasible writing your own plugin. Cheers Le 16 sept. 2013 15:11, "Tânia Magalhães" a écrit : > Hi! > > Does anyone knows if there is a way to "tell" jenkins

Re: Slave connection breaks randomly on Windows 8 64

2013-09-17 Thread Baptiste Mathus
Small guess: if you really *close* your session then it seems quite normal since Windows will kill running app for your users. Another detail: there's some recent news about last JDK version 7_40 being buggy somehow. Not sure this would touch your installation though. My 2 cents Le 17 sept. 2013

Re: setting hudson.plugins.active-directory.ActiveDirectorySecurityRealm.forceLdaps

2013-09-25 Thread Baptiste Mathus
Not sure but I *think* this is a system property. So you need to add something like -D hudson.plugins.active-directory.ActiveDirectorySecurityRealm.forceLdaps=true to the java command starting Jenkins. Hth Le 25 sept. 2013 16:38, a écrit : > The wiki page for the actuve directory plugin says to >

Re: global properties

2013-09-26 Thread Baptiste Mathus
Le 26 sept. 2013 19:01, "Tânia Magalhães" a écrit : > > Yes, of course there is a logic behind my needs... > I just think that it is useless explain the all process here. That point is actually far more important than you seem to think. Not sure you have to explain everything, sure, but you gener

Re: Could Jenkins switch slave automatically when slave has error?

2013-10-09 Thread Baptiste Mathus
Sounds to me more like a bug or feature rather you want to report on jira than something you could solve here by configuration. Le 9 oct. 2013 17:02, "dennys" a écrit : > I use several slaves to build my job, if I shutdown one of them, Jenkins > will > use other slaves to build. > But I found if

Re: Reuse output directory to do incremental builds

2013-10-09 Thread Baptiste Mathus
Jenkins isn't designed to build from scratch. From what you describe, Jenkins should actually already do what you like by default. If available, Jenkins will launch new builds on the same previously used slave. In this case, you should find a workspace where there's no reason what you are currentl

Re: What is teh best way to prevent several jobs from running at once?

2013-11-05 Thread Baptiste Mathus
his group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users"

Re: jenkins maven project executes maven deploy even when tests fail

2013-11-05 Thread Baptiste Mathus
What is the command line in use in Jenkins? (Extract it from the logs). Btw, are you using freestyle or native maven job. Cheers Le 6 nov. 2013 08:02, "David Gang" a écrit : > Hi all, > > When i run maven deploy with eclipse and the tests fail, it does not > continue to deploy. > When a run the s

Re: jenkins 100% cpu, many blocked threads

2013-11-07 Thread Baptiste Mathus
Hi, As you already seem to have dug quite a bit on this, I would advise to create a jira entry with the information you gathered. Btw, your subject seems to show two opposite issues: blocked threads won't burn CPU. If Jenkins is actually occupying 100% cpu for a long period, you should also find R

Re: How do you deploy web apps with Jenkins?

2013-11-19 Thread Baptiste Mathus
Hi, I think one of the important things you should do with tools like Jenkins is to go progressive. If you don't you're taking the risk to get burned on things you want to do and then keep a bad taste of it. Do the simplest thing that works first. So on your place I would just reuse your ant build

Re: Is it any good to use Jenkins as a web based UI for running operational scripts?

2013-11-22 Thread Baptiste Mathus
+1. We're even considering using Jenkins as the default light scheduler for some of our customers. Basically, use Jenkins to do anything repetitive. People's brains should be used to do things machines can't. Le 21 nov. 2013 20:59, "Mark Waite" a écrit : > It is well within the Jenkins use model

Re: Customizing behavior of "Wipe out current workspace"

2014-01-14 Thread Baptiste Mathus
Hi, I doubt it's currently possible, though I didn't check the plugin option. I guess you'all have to propose a look-request for that evolution. Cheers Le 14 janv. 2014 23:31, "Craig Rodrigues" a écrit : > Hi, > > Is it possible to customize the behavior of "wipe out current worksptace"? > > > I

Re: Jenkins Editable Email

2014-02-07 Thread Baptiste Mathus
The 'error code 49' rings a bell for me, and the message confirms the authentication issue. My first guess would be the plugin is somehow trying to query the LDAP server to get the email from a committer username (compulsory for svn, unnecessary for Git but the plugin may not currently be able to

Re: How do i configure ANT on my jenkins slave

2014-02-07 Thread Baptiste Mathus
But, I'll add, better don't do it. Let Jenkins install ant by himself on the slaves. It will really make your life simpler. If the public ant versions don't suit your needs, you can even just package the one you need, upload it somewhere in your company and tell Jenkins to install this version ins

Re: hudson.model.WorkspaceCleanupThread.disabled=true doesn't work - any workaround ?

2014-02-10 Thread Baptiste Mathus
Hi, you should crawl the archive about this subject. I remember a discussion about that maybe year ago or so. Btw, send weird at first sight you're talking about a daily wipeout. From what I remember (cannot check the code now 'cause offline), the default wipeout is more something like after 30 da

Re: Is there any way to use too or more authentication methods at the same time?

2014-02-12 Thread Baptiste Mathus
Not sure why you really want a separate account. Can't you just add admin rights to your AD account? Cheers Le 12 févr. 2014 03:10, "Levski Weng" a écrit : > Hello everyone, currently I have a problem as follows: > > I've installed Active Directory plugin to enable my workmates and me to > login

Re: Is there any way to use too or more authentication methods at the same time?

2014-02-12 Thread Baptiste Mathus
Well, that triggers another important remark: I hope you're backing up your jenkins folder with a serious a dedicated system? 2014-02-12 16:02 GMT+01:00 Levski Weng : > > On Wednesday, February 12, 2014 5:47:48 PM UTC+8, Baptiste Mathus wrote: >> >> Not sure why you

Re: Performance graphs causing "Could not initialize class org.jfree.chart.JFreeChart" exceptions

2014-02-17 Thread Baptiste Mathus
Send like this is actually the same stack trace again and again, buy possibly the root cause was mangled at some point. A small guess: does the slave generating the graph you want have an X Server/GUI? Can you try running the Jenkins instance(s) with " *-* *Djava.awt.headless**=**true*"? Cheers L

Re: Performance with thousands of jobs

2014-02-18 Thread Baptiste Mathus
is group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- > Baptiste MATHUS - http://batmat.net > Sauvez un arbre, > Mangez un castor ! nbsp;! -- You rec

Re: Svn Credentials

2014-02-19 Thread Baptiste Mathus
I would definitively go with the groovy script console to do that configuration on every job. Cheers Le 19 févr. 2014 01:43, "Jmata" a écrit : > So this is our current setup. > 1 master (server2012) > 14 slaves(server2003, 2008, OSX) > 500 jobs across the slaves. > 1 AD svcSVN account in our dom

Re: Master and slaves resource status notification

2014-02-19 Thread Baptiste Mathus
Which machine would you like to check? Which os? Is it one of the Jenkins slaves? If it's Linux, then it's a matter of minutes: create a freestyle job, run a smell script that would check df output on the partition (s) you're interested in, and return 1 or 0 if there's enough left. Then configure

Re: Jenkins setup

2014-02-20 Thread Baptiste Mathus
sage because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out

Re: Is it possible to scan for warnings in Visual Studio PREfast files

2014-02-20 Thread Baptiste Mathus
You can define a custom warnings parser very easily with some lines of groovy to match the lines you want. Cheers Le 20 févr. 2014 18:12, "Charles Chan" a écrit : > In our Jenkins job, we set up Visual Studio to run the static code > analysis. This produces an XML file, similar to the one above.

Re: Is a central/shared local Maven Repo still Not safe for Jenkins master and many slaves?

2014-02-22 Thread Baptiste Mathus
This is actually unsafe. You take the risk to corrupt the "maven local repository" (badly named, think more about it like a cache). And there's also potential issues of having a stale dependency installed in the local cache/repository (and if it's not a snapshot, it will never be downloaded again u

  1   2   3   4   5   6   7   8   >