Re: Anyone using Jenkins as a job scheduler?

2019-03-12 Thread R. Tyler Croy
(replies inline) On Tue, 12 Mar 2019, Badarch Nergui wrote: > For that and some other reasons I've been thinking about centralizing the > scheduling of all of our jobs. > > Jenkins isn't really intended for this, but it could work. > > > Enterprise grade job scheduling software is REALLY

Re: sending email for unstable builds

2019-03-12 Thread Faad Sayaou
thanks for your contribution. Is there any other way of failing of failing the pipeline when unit test stage is unstable? I have something like the following in my code to ignore the failed test but I will like to stop the pipeline and publish unit test result. I am currently experiencing a

Re: Anyone using Jenkins as a job scheduler?

2019-03-12 Thread Peter Berghold
I actually use Jenkins to perform a backup of my Git (privately hosted) repository and ship an archive off to AWS S3. On Tue, Mar 12, 2019 at 4:15 PM Badarch Nergui wrote: > For that and some other reasons I've been thinking about centralizing the > scheduling of all of our jobs. > > Jenkins

Anyone using Jenkins as a job scheduler?

2019-03-12 Thread Badarch Nergui
For that and some other reasons I've been thinking about centralizing the scheduling of all of our jobs. Jenkins isn't really intended for this, but it could work. Enterprise grade job scheduling software is REALLY expensive, but also kind of overkill. -- You received this message because

Re: Class paths for Jenkins?

2019-03-12 Thread Slide
Plugins are generally "the" way to add functionality to Jenkins. Without a plugin, it will be difficult to use any jars that you want added to Jenkins. On Tue, Mar 12, 2019 at 12:03 PM Peter Berghold wrote: > was kinda hoping I could solve this without the overhead of a module. And > no there

Re: Class paths for Jenkins?

2019-03-12 Thread Peter Berghold
was kinda hoping I could solve this without the overhead of a module. And no there isn't as far as I can tell a module that does what I need to do. On Tue, Mar 12, 2019 at 2:37 PM Mark Waite wrote: > It seems like you may be trying to extend the functionality of Jenkins > with additional Java

Re: Class paths for Jenkins?

2019-03-12 Thread Mark Waite
It seems like you may be trying to extend the functionality of Jenkins with additional Java code that you want to run inside the Jenkins process on the Jenkins master, and possibly on one or more agents attached to the master. If so, first be certain that there isn't already a Jenkins plugin that

Class paths for Jenkins?

2019-03-12 Thread Peter Berghold
Following up on a silly question from the other day I have another silly question. Where does Jenkins look for jar files to resolve classes and packages? I've started writing a Java library that I want to access from a pipeline and Jenkins can't seem to find it in spite of it being deployed to

How to handle automated rolling restarts of nodes when using jenkins in kubernetes

2019-03-12 Thread 'Aaron Mell' via Jenkins Users
Is there a good pattern for this? Right now we are converting jobs to run on k8 pods. One of those jobs applies terraform changes. When we update to a newer image for the node, terraform updates the autoscaling group and replaces the nodes. This causes the job to crash and hang in a bad state.

Re: cronjob monitoring question

2019-03-12 Thread Badarch Nergui
why? Jenkins isn't really intended for this, but it could work. On Sunday, August 11, 2013 at 10:26:29 AM UTC-5, Rita Morgan wrote: > > if the jenkins server is down my cronjob won't run. Is there a way for the > job to still run even if jenkins is down? > > > -- You received this message

Re: Jenkins Pipeline: Variable expansion issues

2019-03-12 Thread Mike Craig
Good thinking, I'll try to do a strip on them and see if that clears it up. On Tuesday, March 12, 2019 at 7:18:14 AM UTC-7, Reinhold Füreder wrote: > > Hi Mike, > > > > it looks like the variables are actually strings with a line break at the > end, and not integers? > > > > HTH Reinhold > >

RE: Jenkins Pipeline: Variable expansion issues

2019-03-12 Thread Reinhold Füreder
Hi Mike, it looks like the variables are actually strings with a line break at the end, and not integers? HTH Reinhold From: jenkinsci-users@googlegroups.com On Behalf Of Mike Craig Sent: Montag, 11. März 2019 23:33 To: Jenkins Users Subject: Jenkins Pipeline: Variable expansion issues

Re: Jenkinsfile pipeline for go builds... need an example.

2019-03-12 Thread ctr0306
Hi Chris, I need your help here. I tried as you said but it did not worked for me I want to clone my git repo into /opt/go/src/myproject directory where (/opt/go is my GOPATH) I tried the below way and it did not worked for me i am using alpine image withEnv(['GOPATH=' + pwd()]){

Re: remoting issue

2019-03-12 Thread Glenn Burkhardt
We have another instance of WARNING: Failed to ack the stream java.io.IOException: Broken pipe and scatter/gather is disabled: /etc/network/if-up.d$ ethtool -k ens3 Features for ens3: Cannot get device udp-fragmentation-offload settings: Operation not permitted rx-checksumming: on [fixed]

Jenkins pulls and builds not newest commit

2019-03-12 Thread Piotr Bracha
Hi. I have Jenkins integrated with Bitbucket. I make a test: - create testing repo - add file and commit it - add 2nd file and commit it - Jenkins builds and in logs is message about checkout from first commit not 2nd one - manually rebuild on Jenkins gives checkout from last commit This same is