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: 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']], >