Re: 4 month old deleted branches still not removed

2017-06-20 Thread Stephen Connolly
On Wed 21 Jun 2017 at 06:54, Michael Neale wrote: > > > On Wednesday, June 21, 2017 at 3:50:06 PM UTC+10, Stephen Connolly wrote: >> >> >> How often is a full scan? >> > > Is that is from the scan log link - then not for 2 months or so. What > triggers that? All the settings are stock. > Periodi

Re: 4 month old deleted branches still not removed

2017-06-20 Thread Stephen Connolly
On Wed 21 Jun 2017 at 07:18, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > On Wed 21 Jun 2017 at 06:54, Michael Neale wrote: > >> >> >> On Wednesday, June 21, 2017 at 3:50:06 PM UTC+10, Stephen Connolly wrote: >>> >>> >>> How often is a full scan? >>> >> >> Is that is from the scan

Re: 4 month old deleted branches still not removed

2017-06-20 Thread Michael Neale
On Wednesday, June 21, 2017 at 3:50:06 PM UTC+10, Stephen Connolly wrote: > > > How often is a full scan? > Is that is from the scan log link - then not for 2 months or so. What triggers that? All the settings are stock. > > Orphaned items are only removed on a full scan. > > New items ar

Re: 4 month old deleted branches still not removed

2017-06-20 Thread Stephen Connolly
On Wed 21 Jun 2017 at 06:17, Michael Neale wrote: > github? polling or webhooks? > > The "scan respotory log" doesn't show anything recent (but new branches > are still being built) - does yours show anything different? > How often is a full scan? Orphaned items are only removed on a full scan.

Re: 4 month old deleted branches still not removed

2017-06-20 Thread Michael Neale
github? polling or webhooks? The "scan respotory log" doesn't show anything recent (but new branches are still being built) - does yours show anything different? This seems a recent thing (well a change in last few months) or else we would have > 4 month old dead branches. On Wednesday, 21

Re: 4 month old deleted branches still not removed

2017-06-20 Thread Mark Waite
Correct. I have some test jobs which intentionally create and destroy branches as part of their testing, and those branches correctly disappear shortly after the branch deletion is detected. On Tue, Jun 20, 2017 at 8:34 PM Michael Neale wrote: > and obviously you aren't seeing deleted branches

Re: 4 month old deleted branches still not removed

2017-06-20 Thread Michael Neale
and obviously you aren't seeing deleted branches still show up without being cleaned up? On Wednesday, June 21, 2017 at 12:23:59 PM UTC+10, Mark Waite wrote: > > Yes, that's how mine is configured. > > On Tue, Jun 20, 2017 at 8:21 PM Michael Neale > wrote: > >> Yes I suspected that - it is the

Re: 4 month old deleted branches still not removed

2017-06-20 Thread Mark Waite
Yes, that's how mine is configured. On Tue, Jun 20, 2017 at 8:21 PM Michael Neale wrote: > Yes I suspected that - it is the default that you get when you create a > new project (see below screen shot). Is this is what yours is? > > This multibranch project has been around for a while - and it on

Re: 4 month old deleted branches still not removed

2017-06-20 Thread Michael Neale
Yes I suspected that - it is the default that you get when you create a new project (see below screen shot). Is this is what yours is? This multibranch project has been around for a while - and it only recently started showing this behavior (recently as 4 months) so I suspect something changed

Re: repo auth problems in Jenkins v2.46 copied from working v2.19 instance

2017-06-20 Thread Mark Waite
If you previous server was not configured to allow jgit as a valid git implementation, and the new server allows it as a valid git implementation, then it is possible that the global pipeline library git configuration has been set to use jgit as its implementation. Check that configuration and swi

Re: 4 month old deleted branches still not removed

2017-06-20 Thread Mark Waite
There is a configuration setting, "Orphaned Item Strategy", in the multi-branch pipeline job definition and in the GitHub Organization Folders definition which sets a retention period for jobs associated with deleted branches. Mine is set to Discard old items, with a retention period of 0 days. I

4 month old deleted branches still not removed

2017-06-20 Thread Michael Neale
Using multibranch and git/github, I am seeing projects that are created for a branch be apparently marked for deletion, but never removed. There is one that hasn't been around for 4 months and shows up like this:

Changes section for each job page only shows the most recent git commit.

2017-06-20 Thread yossi . horowitz
Hi there! I'm having some trouble using Git and Jenkins together. The changes section for each job page only shows the most recent git commit, even if several commits have been made since the last job. Any advice about where I might be going wrong? Possibly related: I'm seeing "skipping resolu

Re: repo auth problems in Jenkins v2.46 copied from working v2.19 instance

2017-06-20 Thread David Karr
On Monday, June 19, 2017 at 8:33:00 AM UTC-7, David Karr wrote: > > I have a working Jenkins v2.19 instance. I have a main pipeline job that > references a Jenkinsfile in a BitBucket repo, accessed through a ssh url. > The Jenkinsfile references a global shared library, also stored in > BitBuc

Re: Network separation and jenkins, your suggestions ?

2017-06-20 Thread Tristan FAURE
thank you for this feedback ! Le mardi 20 juin 2017 17:11:20 UTC+2, Mark Waite a écrit : > > > > On Tue, Jun 20, 2017 at 8:50 AM Tristan FAURE > wrote: > >> Yes my network topology is special and that's why i'm a little confused >> about how to manage this. >> >> You are right about the incremen

Re: Fastest way to git tag in a Jenkinsfile?

2017-06-20 Thread Lee Meador
Is this relevant to your tagging use-case? https://stackoverflow.com/questions/38769976/is-it-possible-to-git-merge-push-using-jenkins-pipeline On Sun, Jun 18, 2017 at 4:13 AM, Idan Adar wrote: > I eventually used the following to accomplish my goal: > https://stackoverflow.com/questions/44612

Re: Github push event fails to trigger pipeline job in jenkins

2017-06-20 Thread Lee Meador
Is it a plain pipeline job? If so, you need to click the option to trigger a build on a GitHub change. On Sun, Jun 18, 2017 at 12:05 AM, Ramanathan Muthaiah wrote: > Hi All, > > This is a re-posting of the issue from https://issues.jenkins- > ci.org/browse/JENKINS-44955. > > After several readin

Re: 405 error from doCreateItem on 2.46.3, not on 2.46.1

2017-06-20 Thread Matt Rabe
I'm not all that familiar with Jenkins source but what I did anyway was git log between the 2.46.1 and 2.46.2 tags and scanned the commit messages for anything that looked obvious, and it was just that: commit ae402ba139df82f3d105b9e070444f1849543fce Author: Daniel Beck Date: Sat Apr 1 02:35:

Re: Jenkins Pipeline: hang on withEnv

2017-06-20 Thread Allen Fisher
This is weird... I added another debugging echo statement right below the sh "gradle all -D..." This made my hanging builds no longer hang. Allen On Tuesday, June 20, 2017 at 11:04:50 AM UTC-5, Allen Fisher wrote: > > Hi All-- > > I tried to update to 2.46.3 today and for various reasons had to

Jenkins Pipeline: hang on withEnv

2017-06-20 Thread Allen Fisher
Hi All-- I tried to update to 2.46.3 today and for various reasons had to downgrade back to 2.32.3. After the rollback, which was accomplished by restoring to a VM snapshot, all my pipeline builds that use Gradle hang right after the build finishes, and the build has to be force killed. From th

Jenkins Process Debugging

2017-06-20 Thread Matt Wilson
Hi All, I've got an odd situation in that my Jenkins server after a certain mount of time seems to start consuming large amounts of CPU. This seems to start to happen every 45 to 60 days. When the CPU usage spikes the Jenkins service doesn't come to a halt, the jobs build times don't seem to b

Re: Network separation and jenkins, your suggestions ?

2017-06-20 Thread Mark Waite
On Tue, Jun 20, 2017 at 8:50 AM Tristan FAURE wrote: > Yes my network topology is special and that's why i'm a little confused > about how to manage this. > > You are right about the incremental aspects of Git, and unfortunately I > can't have ssh between my two networks :( > > The stash and unst

Re: How to clean before checkout in a Multibranch Pipeline

2017-06-20 Thread Mark Waite
On Tue, Jun 20, 2017 at 9:03 AM Francois Marot wrote: > Your answer is so obvious I feel ashamed of myself ! ;) > I used: bat "git clean -dfx" which is IMHO the best. > I find the additional checkout step very redundant as Jenkins itself > checkout the files in order to get the Jenkinsfile. > > T

Re: How to clean before checkout in a Multibranch Pipeline

2017-06-20 Thread Francois Marot
Your answer is so obvious I feel ashamed of myself ! ;) I used: bat "git clean -dfx" which is IMHO the best. I find the additional checkout step very redundant as Jenkins itself checkout the files in order to get the Jenkinsfile. Great thanks Mark On Tuesday, June 20, 2017 at 4:44:08 PM UTC+2, M

Re: Network separation and jenkins, your suggestions ?

2017-06-20 Thread Tristan FAURE
Yes my network topology is special and that's why i'm a little confused about how to manage this. You are right about the incremental aspects of Git, and unfortunately I can't have ssh between my two networks :( Le mardi 20 juin 2017 16:33:44 UTC+2, Mark Waite a écrit : > > I don't fully unders

Re: How to clean before checkout in a Multibranch Pipeline

2017-06-20 Thread Mark Waite
On Tue, Jun 20, 2017 at 8:38 AM Francois Marot wrote: > I converted an old style job to Multibranch Pipeline with a Jenkinsfile > (declarative syntax). > Problem is that files from previous build are present in new builds and > cause numerous problems once packaged. > In the old-style job, I used

How to clean before checkout in a Multibranch Pipeline

2017-06-20 Thread Francois Marot
I converted an old style job to Multibranch Pipeline with a Jenkinsfile (declarative syntax). Problem is that files from previous build are present in new builds and cause numerous problems once packaged. In the old-style job, I used to activate the "clean before checkout " param of the git plug

Re: Network separation and jenkins, your suggestions ?

2017-06-20 Thread Mark Waite
I don't fully understand the network topology you're describing. Are network A and network B only able to communicate with one another through the Jenkins server (and not by any other means)? If so, that surprises me, since only allowing Jenkins between the two networks seems like a lot of work w

Send e-mails from groovy scripts

2017-06-20 Thread Oparlescu Vlad
Dear Jenkins users,Is there a way to send an e-mail from Jenkins Master using a Groovy script ? I have an error which I don't know how to solve it: FATAL: javax.mail.MessagingException: Unknown SMTP host: my.mail.host; nested exception is: java.net.UnknownHostException: my.mail.ho

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-20 Thread Stephen Connolly
If you are chomping at the bit, here are all the binaries: https://www.dropbox.com/sh/47weboatdzus22w/AADNF_aBniOyEeQi9MvM82sMa?dl=0 SHA1 checksums: d9c346ac8db497a35825c7dbbb934842a2bc429a branch-api.hpi 16da429f09fb585fd1d744809ee22c8d612fb62c cloudbees-bitbucket-branch-source.hpi 234fa8eb88da

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-20 Thread Stephen Connolly
OK! Here we are... testing time! These are the plugins that are being covered: (download links should be live in an hour or two) scm-api 2.2.0-alpha-1 https://updates.jenkins.io/download/plugins/scm-api/2.2.0-alpha-1/scm-api.hpi branch-api 2.0.11-alpha-1 https://updates.jenkins.io/download/plugin

vSphere Cloud Plugin - does it work ?

2017-06-20 Thread przemolicc
Hello all, I am trying to use vSphere Cloud Plugin to create new VM for some test deployment. Unfortunatelly it doesn't work and I don't really know why. Below is the error message I get when I press "Check Data" button while defining "vSphere Build Step": https://gist.github.com/anonymous/b355b

Network separation and jenkins, your suggestions ?

2017-06-20 Thread Tristan FAURE
Hello I would like to know your opinion about my issue. I have a network A with my git repository I have a network B with my build environment network B can't see A and A can't see B I have a network bridge between them does it make sense to you to have something like that : jenkins master in

Configure Compiler Warining Priority

2017-06-20 Thread Angel Yanev
Hello everybody, I am wondering what is the way to configure which warning are with priority Normal/High/Low. The GNU C Compiler Warnings are all with priority Normal for me. I would like to set warning such as out of bounds with High priority. Do you know how to configure this ? I am current