Re: How to wait until artifact uploading is complete and available from Jenkins pipeline?

2023-03-03 Thread Baptiste Mathus
If the step really returns before being done, it sounds like a bug you wanna report. As usual, your best bet to get it fixed if you really need this soon is to consider filing the PR yourself, or considering some paid bounty to motivate someone else :-). Cheers Le mer. 1 mars 2023 à 22:41, 'Ian

Re: LDAP security realm / groovy init script issue

2023-02-13 Thread Baptiste Mathus
Hi, It looks like you should heavily consider using Jenkins Configuration As Code. See https://plugins.jenkins.io/ldap/#plugin-content-configuration-with-jcasc Using system Groovy scripting like your code is doing is much more risky (this could well break an instance) and reserved to experts as i

Re: Detect in a pipeline that a node is not working

2023-02-08 Thread Baptiste Mathus
nkinsci-users@googlegroups.com> a écrit : > This is not a solution for me. > I can’t predict the duration of some test cases. > > Le 7 févr. 2023 à 20:01, Baptiste Mathus a écrit : > > I'd consider simply putting a timeout in place for this node or so, so it > eventuall

Re: Detect in a pipeline that a node is not working

2023-02-07 Thread Baptiste Mathus
I'd consider simply putting a timeout in place for this node or so, so it eventually fails and you get to your reporting step. Le mar. 7 févr. 2023 à 17:13, 'Jean-Philippe Humbert' via Jenkins Users < jenkinsci-users@googlegroups.com> a écrit : > I need some help for the following problem: > > I

Re: Trigger jenkins job for all actions of pull request in github.

2022-02-14 Thread Baptiste Mathus
Hi, You want to use the GitHub branch source plugin. I don't think anyone should really use the "GitHub pull request builder plugin" anymore nowadays in 2022. Cheers Le lun. 14 févr. 2022 à 10:52, Adharsha sri a écrit : > Hi Team, > > I am trying to trigger the jenkins job which will send sla

Re: Support for CloudBees plugins

2022-01-21 Thread Baptiste Mathus
ly I don’t have any experience doing this… so any help would be >> appreciated. Thanks for the reply! >> >> -Alan >> >> >> >> *From:* jenkins...@googlegroups.com *On >> Behalf Of *Baptiste Mathus >> *Sent:* Thursday, January 13, 2022 2:27 PM

Re: Support for CloudBees plugins

2022-01-13 Thread Baptiste Mathus
Hi, Thanks for the notice. Reporting the bug in Jira is the right way indeed. I know nothing about this plugin myself, but looking around in the last changes, it looks like https://github.com/jenkinsci/aws-credentials-plugin/pull/88/files#r772008354 could be a good lead. I would recommend creating

Re: [Urgent] CVE-2021-44228 and Jenkins

2021-12-28 Thread Baptiste Mathus
Le dim. 12 déc. 2021 à 16:27, the.n...@gmail.com a écrit : > Hi All, > > I am looking for any information relating to whether the Zero Days CVE has > any impact on Jenkins or Plugins. We do know that the java.util.logging is > built on log4j, > Where did you read that java.util.logging is built

Re: Log4j CVE-2021-44228

2021-12-17 Thread Baptiste Mathus
> version number. >> >> Or, delete /opt/jenkins/.m2/repository/org/apache/logging/log4j/ and >> rebuild all your projects. As maven will download it again if it still >> needs it. If a pre 2.15.0/2.16.0 version appears, then it means one of your >> jobs still has a

Re: Log4j CVE-2021-44228

2021-12-16 Thread Baptiste Mathus
That's unrelated to Jenkins per se. This directory is the maven cache, also called 'local repository'. My theory is that you have a job or more that uses maven with default values. I suspect you even run these on the controller itself... Some of your job(s) build(s) a software of yours that depen

Re: Still stuck on older Jenkins because of table-to-div -- what to do?

2021-06-07 Thread Baptiste Mathus
Hi Roland, Ulli summarized the situation very well. If you can consider providing a more specific list of plugins that you're waiting on, we can probably point you to the right path to get them fixed (become maintainer, pay someone to fix them, etc.). (very personal) rule of thumb: if the plugin

Re: [IMPORTANT] plugins deprecation for Digester removal

2021-05-31 Thread Baptiste Mathus
about Code Coverage plugins > which seemed to be actively used. If we could get their releases out, it > would be awesome > > > > > > > On Saturday, May 29, 2021 at 12:18:37 AM UTC+2 Baptiste Mathus wrote: > >> Hi all, >> >> We are about to remov

[IMPORTANT] plugins deprecation for Digester removal

2021-05-28 Thread Baptiste Mathus
Hi all, We are about to remove a very old version of a library provided by Jenkins Core: commons-digester:2.1. In practice, when we do this, *this will make the following plugins unusable starting with the weekly and future LTS.* The plugins are : - emma

Re: All jobs disappeared from view

2021-01-03 Thread Baptiste Mathus
This issue definitely rings a bell to me. I think this got fixed somehow recently. Cannot check easily now, otp. Which versions did you upgrade from and to? Did you check the changelog for hints? Thanks Le dim. 3 janv. 2021 à 15:59, David Maul a écrit : > Thanks, I had looked into the logs bu

Re: .svn folder getting checked out

2020-12-29 Thread Baptiste Mathus
r response. PFB the details below. > > Server / Software Old New > Jenkins 2.163 2.257 > Jenkins Controller Windows Server 2012 R2 Ubuntu 18.04.3 > Jenkins Agent Windows Server 2019 Standard Windows Server 2019 Standard > SVN Version 1.6.2 1.6.2 > > Regards, > Venkatesh > >

Re: .svn folder getting checked out

2020-12-26 Thread Baptiste Mathus
ins. The older >>> version was hosted on Windows and the newer version is hosted in a Docker >>> container in a Linux environment. >>> >>> The checkout step in the pipeline didn't download the .svn folders in >>> the earlier (or older) Jenkins ins

Re: .svn folder getting checked out

2020-12-25 Thread Baptiste Mathus
Not sure what exactly you're concerned about: Subversion always had this .svn folder. Since 1.7 it's only at the root of the checked out repo. Before svn 1.7 it was literally in all directories. This is expected. If you're surprised more by the latter behavior described above, maybe your agent i

Re: JDK8 or JDK11 to be used for Jenkins ?

2020-12-11 Thread Baptiste Mathus
Agreed with Richard. Plus we literally have a thread on the dev list that's less than 10 days old, where we discussed bumping the minimum requirement to Java 11. IOW, I'd recommend defaulting to Java 11 unless you've got very compelling reasons to run Java 8. This way, when the requirement gets b

Re: ANN: Jenkins 2020 Elections - Results

2020-12-04 Thread Baptiste Mathus
Congrats and thanks to the committee for the hard work! Le ven. 4 déc. 2020 à 13:15, Arnaud Héritier a écrit : > congratulations ! > > On Thu, Dec 3, 2020 at 11:52 PM Oleg Nenashev > wrote: > >> Dear all, >> >> We have finished the 2020 elections. On behalf of the Jenkins community >> and the e

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: 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: 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: 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: 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: 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: 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: 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: 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: "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 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: 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: 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: 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: 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: 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: 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: 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: 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: 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 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: 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: 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 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: 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 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: Use AdoptOpenJDK as JDK Tool download source

2019-03-04 Thread Baptiste Mathus
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 chiming in. I already have commented there in the JIRA, but >> asking here since it seems

Re: Use AdoptOpenJDK as JDK Tool download source

2019-02-26 Thread Baptiste Mathus
Hey Martijn, Thanks for chiming in. I already have commented there in the JIRA, but asking here since it seems at this stage better suited in a discussion place: do you have an opinion/idea about whether, and how long, it will be tolerated that certain IPs download the same JDK binaries from adopt

Re: Heap size

2019-02-17 Thread Baptiste Mathus
The memory for Jenkins itself, and for jobs are two unrelated things. Can you clarify what and where you are configuring things? Thanks Le jeu. 14 févr. 2019 à 14:26, Jan Monterrubio a écrit : > Is the job configuration setting -xmx248 ? Are jobs manually configured on > your instance or did it

Re: Unique name (current date+new build number) for build in jenkins Job

2019-02-10 Thread Baptiste Mathus
IMO, do not do that. I think you are going to suffer a lot from trying to maintain that system, like never ever have intermediate builds deleted or whatever that would screw up your counting system at some point (given it's generally very easy to delete a build). This seems like unnecessary headach

Re: How to configure $JENKINS_HOME/caches dir location?

2019-02-10 Thread Baptiste Mathus
t;>> jobs/ >> >> builds/ moved out to local disk and not backed up >>> workspace/ moved out to local disk and not backed up >> >> logs/ >>> >> nodes/ >>> plugins/ moved out to local disk and not backed up >>> se

Re: Using a Variable in Execute Shell that has a . in it

2019-02-10 Thread Baptiste Mathus
You seem to have found a workaround, and not 100% thiis is what you did, but if these are environment variables with dots in it, you should remove them. It's unsupported by most if not all shells. For instance, for bash see https://unix.stackexchange.com/a/23660/143243 So, you might have *worked

Re: How to configure $JENKINS_HOME/caches dir location?

2019-02-05 Thread Baptiste Mathus
I've had a quick look, and I'm not sure I ever saw a caches directory under JENKINS_HOME (this is very possible I just don't remember). Can you possibly list what's in there so we can try and understand what is generating this directory? We segregate data quite aggressively already in Evergreen an

Re: Required context class hudson.FilePath is missing

2019-01-29 Thread Baptiste Mathus
Slide is 100% right for the support aspect. I _think_ that this error is expected, given you didn't specify an agent and are trying to use `deleteDir()`, which does require one (agent). I would be surprised this was actually working as-is on previous Pipeline plugins previous versions. Le lun. 28

Re: How to enable logging per file/package

2019-01-27 Thread Baptiste Mathus
I seem to be missing something: why would you build Jenkins just to enable existing logging? Please clarify what you are trying to achieve. If you mean to enable existing logs, please use the UI and go back here if you have specific questions. If trying to add *new* logs, then I'd recommend moving

Re: Error Message : org.xmlpull.v1.XmlPullParserException: only 1.0 is supported as

2019-01-27 Thread Baptiste Mathus
when >> I downgraded to 2.79 >> >> On Saturday, March 3, 2018 at 6:20:46 PM UTC+5:30, Poovaraj >> Thangamariappan wrote: >>> >>> >>> It is working fine after installing Jenkins 2.48 version >>> >>> On Sat, Mar 3, 2018 at 4:00 PM, B

Re: Everytime I need to upgrade jenkins when restart docker container

2019-01-12 Thread Baptiste Mathus
Can you please rephrase your issue? Not sure I'm getting it. Are you updating Jenkins in place from inside the docker container/before upgrading, do you make sure to upgrade every possible plugin you're using? Le jeu. 10 janv. 2019 à 13:05, Charlie Cheng a écrit : > Correct > > Hello: > > > I

Re: Building Jenkins in Eclipse

2019-01-03 Thread Baptiste Mathus
That is definitely abnormal. This is an Eclipse bug then, because that configuration is already inherited by the cli module (you can check yourself using mvn help:effective-pom). Le jeu. 3 janv. 2019 à 14:17, Steffen Elste a écrit : > Hi, > after i modified the pom.xml of the *cli* project to in

Re: Building Jenkins in Eclipse

2019-01-03 Thread Baptiste Mathus
@Steffen and James, can you pretty please update the wiki page for Eclipse? I'd do it myself, but I don't use Eclipse anymore, so my experience is ~3 years outdated now. IMO, do not hesitate to remove many things, and make it very short, so that it does not become stale too quickly. For the `targ

Re: aws secrets manager jenkins plugin

2019-01-02 Thread Baptiste Mathus
https://wiki.jenkins.io/display/JENKINS/CloudBees+AWS+Credentials+Plugin maybe? Le mer. 2 janv. 2019 à 15:17, a écrit : > Hi guys, > > Is there a "aws secrets manager jenkins plugin" available or under > deployment? > If not, could someone point me something similar? > > Thanks in advance. > > -

Re: Is it possible to schedule a build inside a JenkinsFile?

2018-12-25 Thread Baptiste Mathus
Hey Vincent, I'm still unsure if fully understood what you're trying to achieve. IIUC, for that stage that should happen only once a day, I guess it depends. If something gets created there, like an artifact, could you maybe simply check the timestamp of this artifact, and check it's at least 24

Re: docker image for jenkins:lts is not latest

2018-12-10 Thread Baptiste Mathus
Finally published a blog entry to clarify all this. https://jenkins.io/blog/2018/12/10/the-official-Docker-image/ Le lun. 10 déc. 2018 à 09:43, nicolas de loof a écrit : > As clearly explained here : https://hub.docker.com/_/jenkins/ > #RTFM :) > > > > Le lun. 10 déc. 2018 à 09:26, Adrien Lecha

Stop publishing to jenkinsci/jenkins repo on Docker Hub

2018-12-07 Thread Baptiste Mathus
Hello everyone, IF YOU ARE STILL USING https://hub.docker.com/r/jenkinsci/jenkins/ READ CAREFULLY BELOW :-). Just wanted to send a heads-up here about the fact we just stopped publishing image tags on Docker Hub on the *jenkinsci/jenkins * Docker repos

Re: Update all plugins automatically

2018-10-19 Thread Baptiste Mathus
There is a message that makes it clear it was not supposed to be installed on non-evergreen instances, but for some reason, it's removed Filed https://issues.jenkins-ci.org/browse/JENKINS-54167 to fix it and make it clearer for users this plugin must not be installed by anyone manually. Le ven. 19

Re: Github branch source plugin: ignore archived repos

2018-10-18 Thread Baptiste Mathus
If confirmed, that would definitely sound like a bug IMO. Le ven. 19 oct. 2018 à 00:35, Jan Monterrubio a écrit : > I assume you’re using something like an Organization Folder that’s > scanning those? > > > > On Thu, Oct 18, 2018 at 08:43 Denis wrote: > >> As a workaround you could rename the J

Re: Cleanup workspace before/after build

2018-10-11 Thread Baptiste Mathus
What is the JIRA number number for the Windows deleteDir() bug you say you're seeing? Le jeu. 11 oct. 2018 à 09:33, Sverre Moe a écrit : > This deleteDir() does not always work on a Windows build slave. > > Using Scripted PIpeline I am declaring a node within try-catch-finally. > The finally wil

Re: How to get workspace folder content of EACH slave nodes?

2018-10-09 Thread Baptiste Mathus
The use case you're describing clearly points to artifacts archival IMO (archiveArtifacts in Pipeline), but doesn't seem compatible with your 'real time' request. Care to clarify what you're trying to achieve, and why so that we better understand how to help? *Side note: there are no more Jenkins

Re: Still Login Problem.

2018-09-25 Thread Baptiste Mathus
See https://jenkins.io/doc/book/system-administration/security/#disabling-security Steve, please generally be more precise with what you've tried, the errors you see and everything. This is required to be able to help you. Most of the times, a one-liner is not enough and you can provide much more

Re: structs v1.7 is missing. To fix, install v1.7 or later.

2018-09-23 Thread Baptiste Mathus
gt;> >> Are you using the Plugin Manager to download the plugins, or trying to do >> the work of downloading the plugins yourself? >> >> The Jenkins user interface is the best choice to download plugins, since >> it will download the requested plugin and all its depe

Re: structs v1.7 is missing. To fix, install v1.7 or later.

2018-09-23 Thread Baptiste Mathus
Did you check the structs.jpi is not corrupted? Cf. https://updates.jenkins.io/download/plugins/structs/ where you'll see the expected SHA1. What is the sha1 of your structs.jpi file? Can you open it as a zip file? Le dim. 23 sept. 2018 à 15:23, DEEPAK VERMA a écrit : > i am getting this error.

Re: How to dockerize jenkins in the right way ?

2018-09-21 Thread Baptiste Mathus
Do not mount data from the host. It's called a bind-mount and is generally strongly discouraged. Not sure what is your purpose *exactly*. To store data and be able to upgrade,I have written https://batmat.net/2018/09/07/how-to-run-and-upgrade-jenkins-using-the-official-docker-image/ recently. Fo

Re: Dockerised Jenkins Hangs NPM Install

2018-09-21 Thread Baptiste Mathus
IIUC, you're using a bind mount. You want to avoid it. See https://batmat.net/2018/09/07/how-to-run-and-upgrade-jenkins-using-the-official-docker-image/ Also, I seem to understand you're running your workload on the master node. You want to strongly prefer setting the master with 0 executor, and r

Re: Log contains escape sequence characters

2018-09-16 Thread Baptiste Mathus
I think these escape sequences are just color ones. Hence I do not think they are the 'culprits'. By chance, could you show your pipeline or some gist of it exposing the issue? Le ven. 14 sept. 2018 à 14:26, David Aldrich a écrit : > My declarative script job is failing. I understand the reaso

Re: Still Have Login Problem.

2018-09-16 Thread Baptiste Mathus
Please keep using the previous thread. Afaict also Mark Waite answered you there last and you didn't reply. Also, please do not use all caps this way. It looks rude. People here are helping on their free time, please respect this. Thank you Le jeu. 13 sept. 2018 à 18:32, Steve Burrus a écrit :

Re: Managed scripts are missing after upgrade to 2.131.3

2018-09-16 Thread Baptiste Mathus
Probably unrelated to Jenkins core I guess. Didn't you also update the configfiles plugin? To 3.0 or so? I think I saw reports of issues for this Le jeu. 13 sept. 2018 à 18:28, Steve K a écrit : > Just upgraded from 2.89.2 to 2.131.3 > > I copied over the org.jenkinsci.plugins.configfiles.Globa

Re: Chroot: base image as matrix axis

2018-09-16 Thread Baptiste Mathus
You lost at the second sentence. Why are you trying to chroot? Having agents of these different Linux flavors, or using docker images (seems easier if you don't need to actually test a specific kernel or so). Cheers Le jeu. 13 sept. 2018 à 14:51, Simon Richter a écrit : > Hi, > > I'd like to b

Re: Slave / master terms

2018-09-16 Thread Baptiste Mathus
Yes, +1. We all have been committed to do that to change and it was done in early Jenkins 2.x a few years ago. Normally the core UI has fully been fixed. Most classes could unfortunately not be renamed for binary compatibility reasons. So about the JEP, good question. Because it's been fixed alrea

Re: java.lang.NoClassDefFoundError: Could not initialize class sun.util.calendar.ZoneInfoFile

2018-09-16 Thread Baptiste Mathus
Versions? Jenkins, Java VM, plugins. Are you using latest of everything? Thanks Le jeu. 13 sept. 2018 à 14:33, Víctor Puertas a écrit : > Console Output shows the following issue > > java.lang.NoClassDefFoundError: Could not initialize class >> sun.util.calendar.ZoneInfoFile >> > > This is are

Re: declarative pipeline syntax seems limited, am I missing something?

2018-09-06 Thread Baptiste Mathus
> authoritatively described as being more flexible Well, if you did read this somewhere, please provide the link, we should update and fix this. I suppose it depends on what people put behind the term "flexible", but in my mind, no that is not the promise of Declarative. Declarative is about mak

Re: Create and push new git branch?

2018-08-20 Thread Baptiste Mathus
On a related note, when you want to automate something, you generally want to think on how you'd do it 'manually'. Here as Mark summarized perfectly, you just use 'sh' facility. Where plugins shine and where they can and should be used is when there's a interesting integration to avoid writing boil

Re: withMaven Artifacts URL

2018-08-14 Thread Baptiste Mathus
I think you should file a jira and articulate your use case. I know for sure the developers would be interested to cover other use cases if they can be interesting to most people. Cheers Le mar. 14 août 2018 à 04:03, Bernardo Vale a écrit : > Hey guys. > > I'm looking for a way to programmatica

Re: How much heap memory i need to give for tomcat server for running 5-6 parallel jobs on jenkins ?

2018-08-14 Thread Baptiste Mathus
Between 1GB and 14.5GB, roughly. ... Kidding, but basically you need to provide much more details about the kind of workload so we can help you. Le jeu. 9 août 2018 à 18:55, rajendraprasad reddy < rajendra.penuma...@gmail.com> a écrit : > How much heap memory i need to give for tomcat server fo

Re: Aggregating jobs and config from many servers into one

2018-08-14 Thread Baptiste Mathus
I would /simply/ move everything under a different folder locally. Then copy everything to a central new instance using rsync or something like this, then everything looks fine. If it does, you'll then be able to use the folders plugin to move things where you want them. My 2 cents Le ven. 10 ao

Re: Plugin install issue in Jenkins

2018-08-14 Thread Baptiste Mathus
Seems like a transient mirror issue with/while downloading, I think you should retry. Le jeu. 9 août 2018 à 19:41, Rahul Sahotay a écrit : > Hello there: > > I have installed latest Jenkins on my Amazon Linux machine by using > following commands:- > > sudo wget -O /etc/yum.repos.d/jenkins.repo

Re: Configuration-as-Code 1.0-RC1 released

2018-08-14 Thread Baptiste Mathus
Woot! Le ven. 10 août 2018 à 19:37, nicolas de loof a écrit : > Hi, > > The Configuration-as-Code team is proud to announce we published our first > release candidate. > We published a dozen alpha release before, and already got feedback and > contribution from early adopters, so that we are now

Re: Unable to run Maven Goals using pipeline as code.

2018-08-14 Thread Baptiste Mathus
By the way, you might be interested to learn about and use the 'Pipeline Maven Plugin'. Cheers Le mar. 7 août 2018 à 17:50, suny nazar a écrit : > Issue is fixed , by providing tools configuration in Jenkins file. > > tools { > maven 'JenkinsMaven' > jdk 'JenkinsJDK' > } > > On Tuesday, 7 Augus

Re: Checkout code using jenkins pipeline in jenkins at a particular and perform build any available nodes/agents

2018-08-14 Thread Baptiste Mathus
Le mar. 7 août 2018 à 14:52, gaurav pant a écrit : > am trying to checkout the code at a particular location (ex. *C:\scm\*) > on windows using jenkins pipeline (jenkinsfile) and want to execute the > build from the checkout location (*C:\scm\*) in any available > nodes/agents at that particular

  1   2   3   4   5   6   7   8   >