Re: Log location and WEBROOT changed after Jenkins upgrade

2022-05-03 Thread Marco De Vitis
Il 02/05/2022 21:44, Mark Waite ha scritto: Based on https://issues.jenkins.io/browse/JENKINS-68313, it appears that the CentOS 7 implementation of systemd does not support the '%C' specifier.  Replace it with the text for the cache directory on your operating system. Thank you very much Mar

Log location and WEBROOT changed after Jenkins upgrade

2022-05-02 Thread Marco De Vitis
Hello, I recently upgraded Jenkins from 2.263.4/2.303.3 to 2.332.2 on three CentOS 7 machines, using the official jenkins.io packages from the redhat-stable repository. While Jenkins (since years!) always saved its log as /var/log /jenkins/jenkins.log, now it sends all log messages to syslog (

[Jenkins][Kubernetes] Recovery pod annotations inside node

2022-02-24 Thread Paulo Augusto de Almeida Ferreira
Hello. Please, anyone who can help me. Is there any way to retrieve the annotations of a pod from within the node? The premise is that pod is not being created in the pipeline. ```groovy def podCloud = "JenkinsCloudKubernetesPodTemplateName" node(podCloud) { // get pod annotations sta

Re: Upgraded Plugins: Jenkins fails to start

2021-05-31 Thread Raoul de Haard
We stumbled on the same error after upgrading plugins on Jenkins last week. Search in your Jenkins plugin directory for the jar file starting with the name: guice. The results should only list one version of the guice jar. In our case it turned out that the Jacoco plugin came with a newer version

RE: .NET 4.8.x and win 2016 Failure to install slave as service -> Possible Bug?

2020-08-28 Thread BCT Roel de Wildt
Hi, You need to enable .NET Framework 3.5 for .NET Framework 2.x/3.x support. Kind regards, Roel Van: jenkinsci-users@googlegroups.com Namens dana...@gmail.com Verzonden: donderdag 27 augustus 2020 16:22 Aan: Jenkins Users Onderwerp: .NET 4.8.x and win 2016 Failure to install slave as service

Re: Role based strategy - pattern for jobs for example two maps deep

2020-05-19 Thread Nico van de Kamp
u have create x roles map deep + 1" This is not how I first should think but it is (code wise) done to create more flexibility. Correct me if I'm wrong, but this working for me. Nico On Friday, May 8, 2020 at 2:09:16 PM UTC+2, Nico van de Kamp wrote: > > Hello, > > We

Re: Role based strategy - pattern for jobs for example two maps deep

2020-05-14 Thread Nico van de Kamp
Hello, Nobody has this issue that I can give a role access to a specific map and what the pattern than should be? I must say, we are going in the near future to a new version of Jenkins, but on this moment I'm talking about Jenkins version 2.9! Nico. -- You received this message because you

Role based strategy - pattern for jobs for example two maps deep

2020-05-08 Thread Nico van de Kamp
Hello, We use the plugin "Role strategy plugin / project matrix authorisation" Let say I have in a map jobs like this: mapx/ - job 1 - job 2 etc. Than the pattern is for example ^mapx.*, with Build, Cancel, Discover and Read. This working fine. Now I have this mapy - - job 1 -

Re: Jenkinsfile and parameters

2020-04-07 Thread Alfredo De Luca
Thanks Antonio. I will try that asap. Appreciated. /Alfredo On Tue., 7 Apr. 2020, 1:32 pm Antonio Gomez, wrote: > for (Server in ParamServer) { > echo Server > } > > Sorry I have made a mistake in the above > > El martes, 7 de abril de 2020, 13:30:46 (UTC+2), A

Jenkinsfile and parameters

2020-04-07 Thread Alfredo De Luca
Hi all. I have a Jenkinsfile with some text parameters for inputs. In one of them I would like to have multiple words with a comma separation like 10.10.10.10,10.10.10.20,10.10.10.30 then my question is: How can i split those inputs in different variables? Any idea/clue? cheers -- *Alfredo* -

RE: Command line acccess to build actions in muti branch pipeline

2020-04-03 Thread BCT Roel de Wildt
triggering without adjusting the Jenkinsfile for every branch? Kind regards, Roel de Wildt Software Engineer Van: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] Namens Gianluca Verzonden: woensdag 1 april 2020 11:25 Aan: Jenkins Users Onderwerp: Re: Command line

RE: Command line acccess to build actions in muti branch pipeline

2020-04-01 Thread BCT Roel de Wildt
“Periodically if not otherwise run” in the triggers section. That means I can’t control the time it will be executed. Alternative: I can execute a scheduled curl program which triggers the “trunk” successfully, but the “branches/2019/trunk” gives a http 404 error. Kind regards, Roel de Wildt Software

Command line acccess to build actions in muti branch pipeline

2020-04-01 Thread BCT Roel de Wildt
e time due resources limits. What is the best option to execute a single build job in a multi branch pipeline? Kind regards, Roel de Wildt Software Engineer -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this grou

Re: Pipelines Export/import

2020-03-23 Thread Alfredo De Luca
Thanks Alok. I will give it a try. Appreciated /Alfredo On Sun., 22 Mar. 2020, 8:49 pm alok kumar, wrote: > Hi, > You can use job-import plugin to do so. > It's very easy and self explanatory. > > Thanks > Alok > > On Sun., Mar. 22, 2020, 14:29 Alfredo De Luca, &

Pipelines Export/import

2020-03-22 Thread Alfredo De Luca
Hi all., I have 2 separate Jenkins instances running. I d like to export all the pipelines from one instance in order to import them in the other one. How can I do that? I have full acces to the instance where I want to export the pipelines from and only the Jenkins web interface on the other i

Re: scripted | declarative | pipeline

2020-01-15 Thread Toni Van de Voorde
Hi Chandra, This sums it right up => https://www.edureka.co/community/54705/difference-between-declarative-pipeline-scripted-pipeliine On Wed, 15 Jan 2020 at 16:05, Chandra shekar wrote: > Hi Guys,i hope you all doing well. > > I have a doubt regarding the pipelines(scripted & Declarative).I k

Re: Secure Jenkins URL

2019-10-16 Thread Toni Van de Voorde
How about the page on the wiki of jenkins itself ? https://wiki.jenkins.io/pages/viewpage.action?pageId=135468777 On Wed, 16 Oct 2019 at 17:03, Veera Mani wrote: > Hi, > > How to setup the jenkins URL to https? > I am looking to use the jenkins tool in internal network , but still > would like

Re: Post all the archive data from Jenkins in Confluence

2019-09-05 Thread Toni Van de Voorde
Hi Sravan, I'm not aware of any tool or plugin doing this. If that's the case, then you have following options: 1. create a jenkins plugin for your needs :) 2. write a little script that runs on your or some machine, which does what you want using jenkins and confluence api ... Optionally you cou

Re: Issue with jenkins pipeline

2019-09-04 Thread Toni Van de Voorde
Hi Salvatore, The pipeline seems correct, but how did you configure jenkins to run this? Seems to me it doesn't find this specific configuration?! Cheers On Thu, 5 Sep 2019 at 00:06, Salvatore Esposito < salvatore.esposit...@gmail.com> wrote: > Hi. I create this pipeline using docker container

Re: Delay agent execution for auto-updates at boot

2019-09-03 Thread Toni Van de Voorde
Hey James, I had the same issue without understanding what happened. Meanwhile I also understand that it's due to the automatic updates kicking in. I solved it by removing the JDK from that AMI and let the master install it. You could also update your AMI and not allow auto upgrades, or you co

Re: EC2 slave connectivity issues

2019-09-02 Thread Toni Van de Voorde
On Thursday, August 29, 2019 at 1:05:20 PM UTC+2, Toni Van de Voorde wrote: > > Hey everyone, > > I suddenly have issues with my master slave setup on jenkins. It seems > there is a connectivity issue each time a job wants to run on it. I already > opened a ticket on Jira fo

Re: Passing env variable bettween different pipeline

2019-08-20 Thread Alfredo De Luca
thanks heaps Alfredo On Mon, Aug 19, 2019 at 11:36 AM Alfredo De Luca wrote: > Hi all. > > we are using Jenkins 2.176 and with blu ocean. > We have different pipelines each one does different things but in the near > future we ll need to pass some env variables between them. &

Passing env variable bettween different pipeline

2019-08-19 Thread Alfredo De Luca
Hi all. we are using Jenkins 2.176 and with blu ocean. We have different pipelines each one does different things but in the near future we ll need to pass some env variables between them. How can I do that? Cheers -- *Alfredo* -- You received this message because you are subscribed to the

puppet-jenkins_plugin module

2019-08-08 Thread Johan De Wit
Hi, For those interested in jenkins plugin configuration using puppet/groovy, have a look at https://github.com/witjoh/puppet-jenkins_plugin.git. This is still work in progress. Comments/suggestions are very welcome. Grts -- You received this message because you are subscribed to the Google Gr

CICD for IOS build

2019-08-05 Thread DE
Hi Experts, I am new to IOS build , and could you please help me with your suggestions here We are planning to implement a CICD for IOS build, which is doing by TFS now. Our plan is to use Jenkins as CI tool and would need more information from you how we can procced with jenkins. 1) What wil

Re: How to automatically build the latest svn tag

2019-08-02 Thread Nico van de Kamp
Question: I'm not familiar with this specific but I try to get the last version of a tag from SVN. I found this. SVN is installed on another server than the Jenkins server. So to run command: *export SVN_TAG=`svn ls --username someuser --password somepass --non-interactive http://someproj.goo

How to configure Jenkins to let it work with SVN, so that directory's/file's are checked out?

2019-05-03 Thread Nico van de Kamp
Hello, This year feb. I started working with Jenkins. Now I want to deploy new versions from SVN. I understand there two ways: [list]Push: initiative is at the side of SVN.[/list] [list]Pull: initiative is at Jenkins side by polling.[/list] On this moment I prefer the Push method, but... *St

Example of get 'latest' source map/file's from SVN and if not exist in Nexus, put into Nexus.

2019-03-29 Thread Nico van de Kamp
Hello, In another tread before I mention already I'm new to Jenkins. But a thing what I have to make is: 1. Another company is putting SVN (=folder) a folder with files, which is the new version like: 1. Main_folder *<-- When in this folder a new folder is placed, Jenkins

What can be the reason of: "Problems occurs on injecting env vars as a build step Java heap space"?

2019-03-29 Thread Nico van de Kamp
ike such a messages! I hope that someone can help us out or point us in a direction that we can solve it! Thanks in advance, -- Met vriendelijke groet, *Nico van de Kamp* -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubs

"[Multijob] - [ERROR] - Problems occurs on injecting env. vars as a build step: Java heap space", does anyone know, what we can do about it?

2019-03-29 Thread Nico van de Kamp
Hello, I'm added to a colleague who is doing CI/CA for a certain project. I'm "already" three weeks working with jenkins! But without jokes, I'm new to Jenkins. I see now this error "[Multijob] - [ERROR] - Problems occurs on injecting env. vars as a build step: Java heap space" and I've been s

Re: Containerized Jenkins master and agents

2019-03-18 Thread nicolas de loof
quot;Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/9fb2d785-1b74-c0d4-dd05-4b0

Re: Use AdoptOpenJDK as JDK Tool download source

2019-02-26 Thread nicolas de loof
I assume this would require a JEP ? Le mar. 26 févr. 2019 à 17:32, Slide a écrit : > +1 on deprecation > > On Tue, Feb 26, 2019 at 9:08 AM nicolas de loof > wrote: > >> I don't know if we have any metric for this purpose, but docker images >> seems to me a way b

Re: Use AdoptOpenJDK as JDK Tool download source

2019-02-26 Thread nicolas de loof
received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to jenkinsci-users+unsubscr...@googlegroups.com. >> To view this discussion on the w

Re: docker image for jenkins:lts is not latest

2018-12-10 Thread nicolas de loof
eceived this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https:

Re: Configuration as a Code Plugin securiy disable

2018-11-27 Thread nicolas de loof
/msgid/jenkinsci-users/edbfe25f-4269-484b-a48d-dd00b12f6c74%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Nicolas De Loof -- You received this message because you are subscribed to the Google Groups

Re: Configuration as code and preservation of credentials

2018-09-25 Thread nicolas de loof
unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/fb5e1d2b-4df3-4950-902d-5f18490b2ea5%40googlegroups.com > <https://

Re: Migrating to Configuration as Code

2018-09-18 Thread nicolas de loof
e.com/d/msgid/jenkinsci-users/527e2d7f-0ca2-447b-815e-ce8062cdb751%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/527e2d7f-0ca2-447b-815e-ce8062cdb751%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/

FW: Stacktrace error while saving configuration on Jenkins

2018-09-14 Thread BCT Roel de Wildt
Hello, After trying some options I have found out that if "Build on NuGet updates" is checked the error occurs even if I rollback to 2.121.3. Kind regards, Roel de Wildt Software Engineer -Oorspronkelijk bericht- Van: jenkinsci-users@googlegroups.com [mailto:jenki

Stacktrace error while saving configuration on Jenkins

2018-09-14 Thread BCT Roel de Wildt
ambda$scheduleNext$0(BoundedExecutorService.java:80) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Kind regards, Roel de Wildt Software Eng

scm checkout fails randomly

2018-09-11 Thread BCT Roel de Wildt
this further? Or is this a know issue? Kind regards, Roel de Wildt Software Engineer -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci

Configuration-as-Code 1.0-RC1 released

2018-08-10 Thread nicolas de loof
guration-as-code-plugin> or report issues <https://github.com/jenkinsci/configuration-as-code-plugin/issues>. -- Nicolas De Loof -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiv

Jenkins BlueOcean, Jenkinsfile, docker builds & autoscaled agent pool?

2018-05-03 Thread ringo . de . smet
Hello, I have been away from the Jenkins community for about 4 years now. Everything moved on, so I'm a bit lost at the moment. For the past 2 hours, I have tried to find the right set of plugins & configuration to become the following setup: * I host a Jenkins master on a fixed machine on AWS

Re: newbie: cloning multiple git repositories into my workspace

2018-04-26 Thread Luís Borges de Oliveira
Hello Don, On 26-04-2018 00:48, Don Raikes wrote: > My first task is to clone a number of git repositories into my workspace. > > In the past I have used a bash script to clone all the repositories > using a specific branch that is supplied on the command-line. > > > > What is the “best” way to

Re: automating jenkins (master) setup - plugins / extensions and their configs

2018-04-23 Thread nicolas de loof
init.groovy scripts is a very powerful way to setup jenkins but require to know jenkins / plugins programmatic API. If you're not a plugin developer this might be very uncomfortable to write and maintain. As an alternative, you might be interested in https://github.com/jenkinsci/configuration-as-c

RE: Problem with the "Publish Over CIFS" plugin

2018-04-21 Thread BCT Roel de Wildt
googlegroups.com [mailto:jenkinsci-users@googlegroups.com] Namens Slide Verzonden: zaterdag 21 april 2018 23:28 Aan: jenkinsci-users@googlegroups.com Onderwerp: Re: Problem with the "Publish Over CIFS" plugin Are you missing one or more * in the sourceFiles definition in the first set of

Problem with the "Publish Over CIFS" plugin

2018-04-21 Thread BCT Roel de Wildt
option. I do not know why. The sample code is generated by Jenkins itself with the Pipeline Syntax generator. Could someone point me to the right direction to make this work? System info: Jenkins ver. 2.107.2 Publish Over CIFS 0.10 Kind regards, Roel de Wildt -- You received this message becau

Slack Webhook Settings

2018-03-05 Thread 'Guilherme Augusto de Sousa Rios' via Jenkins Users
Hi, I am trying to setup a Slack Webhook, but keep getting the error at the end of the email. Jenkins version 2.82, Slack plugin version 2.3. Both "Outgoing Webhook Token" and "Outgoing Webhook URL Endpoint" are set, looks like I'm getting the NullPointerException when trying to access "globalCon

Re: [solved] Re: Docker cloud plugin and pipeline using docker

2018-02-26 Thread nicolas de loof
ume and as such workspace sub-folder will be shareable with other containers. 2018-02-26 5:14 GMT+01:00 Christian Gagneraud : > On 26 February 2018 at 15:29, Christian Gagneraud > wrote: > > On 26 February 2018 at 03:10, nicolas de loof > wrote: > >> docker support in dec

Re: Docker cloud plugin and pipeline using docker

2018-02-25 Thread nicolas de loof
docker support in declarative pipeline relies on docker-workfow plugin, which require the jenkins slave to have access to a LOCAL docker daemon, which means the docker agent you are provisioning on computer B using docker plugin HAS to be configured with /var/run/docker.sock (so, the one from B) bi

Re: Docker Plugin - Jenkins doesn't have label....

2017-12-19 Thread nicolas de loof
orrectly. Any hints for working >> around this for now? I tried restarting Jenkins but it didn't help. >> >> On Monday, December 11, 2017 at 2:24:08 PM UTC-6, nicolas de loof wrote: >>> >>> sounds to me this is more or less https://issues.jenkins-ci >

Re: Docker Plugin - Jenkins doesn't have label....

2017-12-11 Thread nicolas de loof
sounds to me this is more or less https://issues.jenkins-ci.org/browse/JENKINS-48490 which is a recurrent issue. Still looking for a definitive fix 2017-12-11 17:49 GMT+01:00 Mandy Hubbard : > Using the Docker Plugin to run Jenkins agents in containers, I often get > the error "Jenkins doesn't h

Re: Jenkins and HA

2017-12-05 Thread nicolas de loof
ou have multiple masters active too? Or is this not the setup of > masters? > > > Op dinsdag 5 december 2017 10:26:42 UTC+1 schreef nicolas de loof: > >> #disclaimer I'm working by CloudBees >> CloudBees indeed has such a HA solution based on active/passive jenkins &

Re: Jenkins and HA

2017-12-05 Thread nicolas de loof
-cluster-centos-drbd-pacemaker-kvm.html 2017-12-05 10:17 GMT+01:00 Walter Heestermans : > So, we have to go to solutions like CloudBees? Other solutions available > for HA and to look at? > > > Op dinsdag 5 december 2017 10:13:27 UTC+1 schreef nicolas de loof: > >> you

Re: Jenkins and HA

2017-12-05 Thread nicolas de loof
you can't do this way, two masters sharing same JENKINS_HOME would override each other configuration on disk. Jenkins is designed as a single-instance server. 2017-12-05 8:30 GMT+01:00 Walter Heestermans : > Hi, > > How can setup HA with Jenkins OpenSource? I have now one master running > and two

Re: Build Docker Image from a Dockerized Jenkins

2017-12-05 Thread nicolas de loof
; > On 2017-12-04 17:37, Jeeva Chelladhurai wrote: > > I would like to run my builds inside docker, so that I can manage > different run times like node, python, go thru docker images. > > - Jeeva > > On Mon, Dec 4, 2017 at 5:51 PM, nicolas de loof > wrote: > >> (anoth

Re: Build Docker Image from a Dockerized Jenkins

2017-12-04 Thread nicolas de loof
:37 GMT+01:00 Jeeva Chelladhurai : > I would like to run my builds inside docker, so that I can manage > different run times like node, python, go thru docker images. > > - Jeeva > > On Mon, Dec 4, 2017 at 5:51 PM, nicolas de loof > wrote: > >> (another) plugin of mi

Re: Build Docker Image from a Dockerized Jenkins

2017-12-04 Thread nicolas de loof
(another) plugin of mines. Same design as docker-pipeline's "docker.inside" Can you please describe your use-case so we give better advise ? if you just want to "build Docker images" as your initial message told, then just run "docker build" within your job, what else ? 2017-12-04 13:15 GMT+01:0

Re: Build Docker Image from a Dockerized Jenkins

2017-12-03 Thread nicolas de loof
There's no "recommended" solution, each plugin comes with it's own vision, benefits and drawbacks. docker-plugin can be used to run dockerized agents, it can run from a dockerized jenkins master with /var/run/docker.sock without docker CLI installed, as it uses a java client library for docker API

Re: docker jenkinsci/ssh-slave volumes

2017-11-28 Thread nicolas de loof
This is to make it clear where (potentially) persistent data should live, the rest of the container being fully transient. Le 28 nov. 2017 1:41 PM, a écrit : > Hi, > I would like to know the utility of the "volume" command in > jenkinsci/ssh-slave docker file : > https://hub.docker.com/r/jenkins

Re: Provisioning Docker Containers on a Remote Host Using Jenkins Master

2017-11-25 Thread nicolas de loof
Please give more details on what you want to do with this remote machine. I assume you want to use it as a Jenkins agent to host build, not running on your master node. Then using docker plugin you can configure a "cloud" to access this remote Docker API (with adequate TLS keys registered as crede

Re: cloud docker give options to java command

2017-11-24 Thread nicolas de loof
enkins nodes. > > > > Le jeudi 23 novembre 2017 18:52:22 UTC+1, nicolas de loof a écrit : >> >> it depends the docker agent template "launch" mechanism you're using. >> Can you please describe your use-case ? Which argument do you want to >> pass

Re: cloud docker give options to java command

2017-11-23 Thread nicolas de loof
it depends the docker agent template "launch" mechanism you're using. Can you please describe your use-case ? Which argument do you want to pass to the jenkins remote agent ? 2017-11-23 15:50 GMT+01:00 : > Hi, > how could I give an option to the java command launching jenkins in a slave : > java

Re: Docker plugin. How to manage concurrent builds/volumes

2017-11-04 Thread nicolas de loof
2017-11-02 22:55 GMT+01:00 Ryan Hochstetler : > Kris, > > I tried to travel down the same road, mounting a volume with the workspace > directory into the slave containers as well as the master in order to > expose the workspace contents post-build. The *jenkins way* to provide > developer-visibil

Re: Does Docker Slave Plugin support Pipeline Maven Integration Plugin?

2017-11-02 Thread nicolas de loof
I can't tell, best to give it a try and report any issue you encounter doing this. Le 2 nov. 2017 1:41 PM, "'Sandra Parsick' via Jenkins Users" < jenkinsci-users@googlegroups.com> a écrit : > > ... -- You received this message because you are subscribed to the Google Groups "Jenkins Users" gro

Re: Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread nicolas de loof
being destroyed > correctly. Subsequent builds then suffer from the 'offline'/non-terminated > executor. > Thanks. > > On 20 October 2017 at 15:59, nicolas de loof > wrote: > >> looks like the build termination isn't successfully caught to terminate >> thi

Re: Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread nicolas de loof
Manager.java:367) > at > com.trilead.ssh2.transport.TransportManager.initialize(TransportManager.java:480) > at com.trilead.ssh2.Connection.connect(Connection.java:774) > ... 9 more > [10/20/17 14:06:44] Launch failed - cleaning up connection > [10/20/17 14:06:44] [S

Re: Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread nicolas de loof
I docker exec into the jenkins master I can also ssh into the slave >>> container using the docker host ip: >>> ssh -p *ephmeral_port* jenkins@*hostip* >>> >>> h. >>> >>> On 20 October 2017 at 13:05, nicolas de loof >>> wrot

Re: Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread nicolas de loof
of your > other posts and have already tried it but still seeing the same issue > unfortunately. > > On 20 October 2017 at 11:11, nicolas de loof > wrote: > >> to use your own SSH credentials you need to disable the "SSH key >> management" option (title is unc

Re: Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread nicolas de loof
to use your own SSH credentials you need to disable the "SSH key management" option (title is unclear) with this option set the container is configured to rely on jenkins master Identity ssh key I'm working on a UI refactoring to avoid such confusing options 2017-10-20 11:38 GMT+02:00 : > Just t

Re: Docker plugin problems

2017-10-17 Thread nicolas de loof
Docker-plugin 1.0.1 introduce a new option to disable SSH key injection in container. Main idea for this feature is to avoid SSH private key in docker image, which is a terrible security issue. But for backward compatibility it might be needed. > The plugin no longer assumes 4243 as default port.

Re: Jenkins docker container overrides with "--entrypoint cat" ...

2017-09-29 Thread nicolas de loof
docker.inside NEED some way to run a docker container in some "wait" mode, so the use of the `cat` command. if your entrypoint script do follow docker recommendations it *should* detect use of such a command and enventually execute it, but real world experience demonstrated many people don't follow

Re: Jenkins and Docker

2017-09-05 Thread nicolas de loof
The chapter you refer to is about running Jenkins as a docker container. If you used another installation process, just ignore That being said, docker is a nice complement to jenkins, and is used in various samples in documentation, including Declarative Pipeline. So I recommend you install it so y

Re: Declarative pipeline docker executeable TCP supported?

2017-09-02 Thread nicolas de loof
docker agent in declarative pipeline actually translate into docker.inside (see docker-p

Re: Does docker-slaves-plugin with pipeline assume Linux?

2017-08-13 Thread nicolas de loof
Yes indeed. But as long g as you use git this one is actually ran in Jenkins agent container due to an implementation issue. Le 13 août 2017 12:16 PM, "Jacob Larsen" a écrit : > Wouldn't you need a Windows SCM image as well? > > On 2017-08-12 18:56, nicolas de loof wro

Re: Does docker-slaves-plugin with pipeline assume Linux?

2017-08-12 Thread nicolas de loof
t trying to do anything beyond basic usage. Perhaps you > could write this in the plugin description? > > On Friday, 11 August 2017 09:08:51 UTC+2, nicolas de loof wrote: >> >> This plugin has never been tested for Windows containers, so I can't tell >> if they can wor

Re: Does docker-slaves-plugin with pipeline assume Linux?

2017-08-11 Thread nicolas de loof
This plugin has never been tested for Windows containers, so I can't tell if they can work without changes. Le 11 août 2017 9:04 AM, "Geoff Bache" a écrit : > > I removed the extra slash in global configuration, but it still fails and > there are still Linux-style paths that I don't seem to be a

Re: Does docker-slaves-plugin with pipeline assume Linux?

2017-08-10 Thread nicolas de loof
mages for the > remoting image and the SCM image. But I have no idea if the volume mounts > would work there. You might be right that this part is hardcoded to Linux. > > /Jacob > > On 2017-08-10 18:19, nicolas de loof wrote: > > I'm on vacation so can't help befor

Re: Does docker-slaves-plugin with pipeline assume Linux?

2017-08-10 Thread nicolas de loof
I'm on vacation so can't help before 1 week. Pipeline is fully supported, please check global configuration for the agent image you have configured for docker-slaves-plugin Le 10 août 2017 5:30 PM, "Geoff Bache" a écrit : > > Yes, I didn't contribute anything to that generated command. > > On Th

Re: The official docker image jenkins/jenkins:lts is missing ruby

2017-07-29 Thread nicolas de loof
We recommend to NOT run build within the master image anyway, and always connect a slave computer/container to enforce resources isolation. Le 27 juil. 2017 9:12 PM, "Jacob Larsen" a écrit : > I agree. Extending the base image is the way to go. Alternatively, you can > use a clean image for the

Agent fails to run the job because working directory doesn't exist

2017-07-21 Thread Marcos de Vera Piquero
eadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Finished: FAILURE -- *Marcos de Vera Piquero* Software Engineer @ Quobis <http://www.quobis.com/> | e: marcos.dev...@quobis.com | t: +34902999465 -- You receiv

Re: Jenkins running docker container slaves that run builds using docker

2017-07-10 Thread nicolas de loof
it means a build with some "malicious code" (sic) could access all other builds, secrets injected into a build environment by jenkins, all host ressources, etc. It could as well create by intent or because of some buggy script create thousands containers and exhaust host resources. consider docker

Re: Jenkins running docker container slaves that run builds using docker

2017-07-10 Thread nicolas de loof
Not so simple bind mounting docker.sock means you give access to anything on host, so you just give up with security and isolation between builds. Docker in Docker require some adequate combination for the docker daemon setup to be nested, especially on how it stores containers layers on disk (and

Re: Jenkins running docker container slaves that run builds using docker

2017-07-10 Thread nicolas de loof
You have two options : 1. use a Docker in Docker image (play-with-docker.com for sample is using this approach) 2. bind mount /var/run/docker.sock into your build container so you can interact with the host's docker daemon Both of them involve some security consideration, so you might need to dou

Re: Nightly Slave workspace cleanup - unintentional

2017-06-23 Thread Jaap de Jong
> > And yes, you are right, building from scratch is better, at least every > now and then. > It would even be better to always start from scratch! -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop recei

Re: Nightly Slave workspace cleanup - unintentional

2017-06-23 Thread Jaap de Jong
ely to lead to make your >> agents become snowflake and encourage config drift. >> >> Wiping out everything and starting from scratch as often as possible is >> the only way to make sure your testing are stable and you're not going to >> hit the flaky tests/b

Nightly Slave workspace cleanup - unintentional

2017-06-23 Thread Jaap de Jong
Jaap de Jong -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web vi

Re: build docker container inside dockerized Jenkins

2017-06-06 Thread nicolas de loof
lain docker CLI terminal emulation. > > Does that mean I have to bind mount docker socket to the Jenkins container? > > -Jeeva > > On Tue, Jun 6, 2017 at 10:07 PM, nicolas de loof > wrote: > >> docker-slaves don't follow the classic slave approach, it doesn&

Re: build docker container inside dockerized Jenkins

2017-06-06 Thread nicolas de loof
ce? > > How does Docker slave plugin works? Does function like a slave or > piggyback on any of the existing slaves? > https://wiki.jenkins-ci.org/display/JENKINS/Docker+Slaves+Plugin > > On Tue, Jun 6, 2017 at 7:45 PM, nicolas de loof > wrote: > >> When you're r

Re: build docker container inside dockerized Jenkins

2017-06-06 Thread nicolas de loof
When you're running Jenkins in a container don't build on master, always connect a slave. This slave can also be a container. Doing this you'll enforce process isolation. To run docker commands like 'docker build' the commonly used approach is to bind mount /car/run/docker.sock. that's beer red win

Re: Howto integrate OWASP dependency check plugin in Jenkins Pipeline ?

2017-05-08 Thread childNo͡ . de
hi, I just gave it a try on * jenkins 1.651.2 * Jenkins OWASP Dependency-Checker 1.4.5 * HTML Publisher Plugin 1.11 so, first of all: The example given is valid, and workin. The Jenkins OWASP

Re: jenkins slave node running debian 7 will not launch

2017-05-03 Thread Jaap de Jong
o with at least one of the failures. > > Could you log a bug so that this can be tracked? We want some time to > review the behavior before the base Jenkins version is chosen for the next > long term support release. > > Mark Waite > > On Tue, May 2, 2017 at 5:48 AM Rich

jenkins slave node running debian 7 will not launch

2017-05-02 Thread Jaap de Jong
fixes it, but I really need debian 7 for the project to be able to build it. What are my options? Thanks! Jaap de Jong -- 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 i

Re: Jenkins dkr container on top of CoreOS + Kubernetes - DNS Issue resolving mirrors.jenkins-ci.org

2017-02-21 Thread nicolas de loof
That's pretty odd as the blueocean container is based on the jenkins docker image. 2017-02-21 7:02 GMT+01:00 : > Thanks Mark. Since I can't send docker-specific args via Kubernetes pods, > I've shifted to the blueocean container and the issue doesn't happen there. > > It's a pity I can't use the

Re: docker.inside or agnet {docker} executing as host user (jenkins) instead of the containers root

2017-02-17 Thread nicolas de loof
uname gives you kernel informations, and the kernel is shared between dockerhost and container. 2017-02-16 17:09 GMT+01:00 Tom Lester : > It also seems like my sh command are not running in the container. For > example... If you see this Jenkins file: > > node { > ECR_LOGIN = sh ( > script:

Re: docker.inside or agnet {docker} executing as host user (jenkins) instead of the containers root

2017-02-16 Thread nicolas de loof
This is by design. If the build process doesn't run as host's user "jenkins" then this would corrupt the workspace with files one can't read/delete later The fact the jenkins user doesn't exists isn't an issue. You should prepare your docker image so it let arbitrary user create content under /go/

Re: [ANNOUNCE] Jenkins Upgrades to Java 8

2017-01-20 Thread nicolas de loof
pipeline (and docker-pipeline plugin) still rely on a plain java jenkins agent running on build node. so this won't change the migration issue for people with exotic hardware. Anyway, JDK8 is available for most platforms, maybe not in the default upstream repository, but - hey - is this such a pai

Re: Docker Build & Publish using --force=true in Pipeline?

2017-01-19 Thread nicolas de loof
why not just use a plain sh "docker push foo:tag" step ? I never understood what this docker.xx basic methods where for, as they just replicate the plain docker CLI without extra features 2017-01-20 3:46 GMT+01:00 : > Hi David! > > I'm not sure that follows. According to the plugin page ( > https

Re: Jenkins Pipeline : How could I access the git repository cloned at job start

2016-12-05 Thread nicolas de loof
the Jenkinsfile detection indeed relies on a git clone on master, but this isn't considered a workspace. Also, it might not be necessary for some integrations, typically one could access this specific file remotely (not sure about the actual implementation) To get the exact commit that triggered a

Re: Jenkins Pipeline : How could I access the git repository cloned at job start

2016-11-29 Thread nicolas de loof
by pipeline design, you need to define node usage (so workspace) and how long same node has to be used to run your build. This allows to distribute the build steps on multiple nodes (including parallel execution). For simplest scenario, you can just wrap the whole pipeline with a `node() { }` block

Re: Jenkins with Docker

2016-10-19 Thread nicolas de loof
RTFM :P https://github.com/jenkinsci/docker#preinstalling-plugins 2016-10-19 15:47 GMT+02:00 : > I can launch a Docker container with Jenkins but I still have to login to > the Jenkins URL and perform the final steps of adding plugins. > > Does anyone know how to install or script in a way that d

  1   2   3   4   >