Re: Jenkins pod provisioning takes too long

2022-06-29 Thread Denis Mone
I have tried to provision the pod manually. It takes around 30 - 35 seconds. We use GKE as well as the k8s provider. Do you have specific configuration of the kubernetes-plugin you can share. I find it interesting that with the same setup we have such a big difference in provisioning times. Στι

Re: Jenkins SIGTERM SIGKILL SIGQUIT

2019-06-12 Thread Denis Mone
We have a pipeline which deploys our main product (a java app inside an application container) I have used the env variable *JENKINS_NODE_COOKIE* to instruct Jenkins to not kill the process. For example: withEnv(['JENKINS_NODE_COOKIE=dontkill']) { // start your process here sh 'java -jar ...'

Re: Cloud Master / On-Prem Slave

2019-04-18 Thread Denis Mone
We have our Jenkins master on a EC2 instance as well, and the slaves are VMs in our office. We have Jenkins communicate with them over OpenVPN (though VPC would be preferable) On the Jenkins side the agents are launched using the ssh-agents plugin. Plain old ssh connection that is. We have multip

Build blocker plugin issue with node level blocking

2019-04-11 Thread Denis Mone
Hi all. I have 2 jobs let's say job1, job2 on my Jenkins instance which i want to exclude from running at the same time, on the same node. I have configured job1 to *block* on *node level* when a build of job2 is happening. I have scheduled job2 to run every 2 mins on a specific node and job1 every

Re: unable to start jenkins after changing user to jenkins

2019-03-19 Thread denis mone
How did you install Jenkins in the first place. How do you start/stop it. Without this information it'd be difficult to help. On 3/19/19 2:10 PM, Turaco mobile wrote: Hi, Jenkins 2.167 running on centos 7. So for its running as root user. I changed to jenkins user at /etc/sysconfig/jenkins fi

Re: Creating 2 pipelines in a single jenkinsfile

2019-01-10 Thread Denis
You can create two pipeline jobs and have the first one trigger the second one as a downstream job. i.e in a finally block you can check the result of the build and trigger the pipeline that publish to nexus On January 10, 2019 5:30:03 PM GMT+02:00, Faad Sayaou wrote: >I was thinking maybe doi

Re: Github branch source plugin: ignore archived repos

2018-10-18 Thread Denis
As a workaround you could rename the Jenkinsfile on those repositories to something like Jenkinsfile_ar On October 18, 2018 10:48:41 AM GMT+03:00, "Louis Piët" wrote: >Hi, > >We are using the git hub branch source plug in to automatically >discovery >most of our projects on github, this work

Re: How to trigger remote deploy using Jenkins on another server

2018-10-12 Thread Denis Mone
> on that remote server, so this job runs on that server ? this is the only > way I know for Jenkins to remotely access another machine to perform tasks > > Le ven. 12 oct. 2018 à 13:20, Denis Mone a écrit : > >> You could create another job that calls those scripts and schedule it

Re: How to trigger remote deploy using Jenkins on another server

2018-10-12 Thread Denis Mone
You could create another job that calls those scripts and schedule it to run after the builds are finished. You could do that either by scheduling the build as a downstream inside your pipeline, or by configuring it to build after the specified jobs are finished. -- You received this message beca

Re: Multibranch workflow pipeline and email notifications

2018-08-29 Thread Denis Mone
I believe Jenkins gather the mail addresses from the commits. If you have a stage that clones/updates your code see if there are new commits. If there are not new commits the recipient list will be empty. On Wed, Aug 29, 2018 at 3:10 PM Vitaly Karasik wrote: > I'm trying to add Git committers t

Re: How to know if the pull requests are trusted ?

2018-08-06 Thread Denis Mone
Maybe you need to have your branch parametrized inside Jenkinsfile For example: checkout([$class: 'GitSCM', > branches: [[name: "${sha1}"]], // parametrized value > doGenerateSubmoduleConfigurations: false, > extensions: [[$class: 'CleanBeforeCheckout']], >

Re: Unexpected EOF in Jenkins Ant on macOS because of password symbols

2018-04-23 Thread Denis Kazantsev
Actually problem was caused by quote character in the password that passed to Ant from Jenkins. Simply escaping char with `\` solved my problem. On Thursday, March 1, 2018 at 8:54:50 PM UTC+3, Denis Kazantsev wrote: > > I'm also created topic on stackoverflow > <https://

Unexpected EOF in Jenkins Ant on macOS because of password symbols

2018-03-01 Thread Denis Kazantsev
I'm also created topic on stackoverflow but I guess here will help me better. I'm using local instance of Jenkins on my macOS machine. It configured to use macOS system Ant. I'm us

Re: Mac Jenkins Can't Clone/fetch from GitHub

2018-03-01 Thread Denis Kazantsev
This helped with my problem. But after macOS reboot (OS update was installed) Jenkins roll backed to previous version. And also now I have different problem with Ant but I'm not sure that it's related to this issue. On Wednesday, May 24, 2017 at 6:00:20 AM UTC+3, Shuguo Yang wrote: > > Hey, this

dockerFingerprintFrom when the Dockerfile uses an ARG is not working from a pipeline

2018-01-11 Thread denis . antonioli
Hi I have started using a Dockerfile build argument to simplify my dependencies between images. Namely, I have Dockerfile to build the image "secret_project/name" looking like: ARG parent_version FROM secret_project/parent_name:${parent_version} My jenkins pipeline lets maven build the dock

docker swarm mode + pipeline deploy

2017-02-16 Thread Denis J. Cirulis
Hello, wanted to ask for help with creating docker service from pipeline. For now I'm running my app stack from compose file on a single node. Created a swarm cluster (1.13.1) and wondering how can I create each component of this compose file as a standalone service from pipeline. When I do with

Re: Is there any variable for total build time in pipeline plugin?

2016-09-20 Thread Denis Kot
Nice, but how to convert milliseconds to HH:MM:SS in groovy script, in particular in pipeline plugin? Denis Kot 2016-09-19 20:58 GMT+02:00 Baptiste Mathus : > long startTime = System.currentTimeMillis() > > // Do what you need > > long elapsedMillis = System.currentTimeMilli

Re: Is there any variable for total build time in pipeline plugin?

2016-09-20 Thread Denis Kot
uong Tran wrote: >> >> How about: >> >> currentBuild.getDuration() >> >> https://github.com/jenkinsci/workflow-support-plugin/blob/ma >> ster/src/main/java/org/jenkinsci/plugins/workflow/support/ >> steps/build/RunWrapper.java >> >> On

Is there any variable for total build time in pipeline plugin?

2016-09-19 Thread Denis Kot
I would like to send message from pipeline to hipchat contains total build time, i.e.: job-pipeline #3007 SUCCESSFUL after 1 min 42 sec How can I implement it? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and

Fwd: Pipeline aggregate downstream test results

2016-02-10 Thread Denis Rosca
7;, value: REFSPEC]]} jobs['integration-tests-3']={build job: 'integration-tests-job-3', parameters: [[$class: 'StringParameterValue', name: 'REVISION', value: REVISION], [$class: 'StringParameterValue', name: 'REFSPEC', value: REFSPEC]]}

How to pass a multiline parameter to jenkins cli build

2015-12-11 Thread Denis Gaudet
xpecting the "\n" to have been expanded, but, it wasn't ;( How else can I get multiple lines trough the CLI interface? Thanks in advance for your help! Denis -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscrib

CloudBees Docker Custom Build Environment Plugin and remote docker hosts

2015-11-03 Thread Denis J. Cirulis
Hi, maybe somebody knows, can I use remote docker machine to execute build jobs inside container ? There is a input field where I can enter docker remote api uri, launch job, then remote host pulls image from private registry and then I gen this: Error response from daemon: Cannot start contain

Robo and Testng framework with Selenium python in different slaves in Jenkins

2015-06-01 Thread Denis Raj
creating this setup. Thanks, Denis -- 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 discuss

Re: Build Flow Plugin: run build flow job on commit

2013-08-14 Thread Denis Belorunov
That is clear, thanks! On Tuesday, August 13, 2013 3:32:42 PM UTC-4, Nicolas De loof wrote: > > no, you have to define a job to get triggered by SCM then this job will > trigger the build flow > > > 2013/8/12 Denis Belorunov > > >> I want to start flow when there

Build Flow Plugin: run build flow job on commit

2013-08-12 Thread Denis Belorunov
I want to start flow when there is commit into CVS repository. But I do not really want to setup CVS as SCM for my flow job, as checkout takes significant time and does not really needed. Plugin description contains this statement "If you want to implement a build-pipeline after a commit on you

Re: idle jenkings but constantly very high cpu usage

2012-07-09 Thread Denis Walrave
THANKS! I had been struggling with this (hudson in my case...) before I read your post... Denis