Questions about deleting branches on Apache Jenkins

2019-02-21 Thread yi xu
Hi,

I’m curious about the branch detection of our Jenkins pipeline. If I create a 
new branch and push it to remote repo, I can find my branch on jenkins 
pipeline. However, if I delete this branch on remote repo, jenkins pipeline 
won’t delete it. Now there are lots of useless branches piled up on jenkins.

Can someone help to delete them?

Thanks
XuYi


Re: Questions about deleting branches on Apache Jenkins

2019-02-21 Thread Felix Cheung
Can you point to where you see these branches? Is it on asf Jenkins?



From: yi xu 
Sent: Thursday, February 21, 2019 12:52 AM
To: dev@iotdb.apache.org
Subject: Questions about deleting branches on Apache Jenkins

Hi,

I’m curious about the branch detection of our Jenkins pipeline. If I create a 
new branch and push it to remote repo, I can find my branch on jenkins 
pipeline. However, if I delete this branch on remote repo, jenkins pipeline 
won’t delete it. Now there are lots of useless branches piled up on jenkins.

Can someone help to delete them?

Thanks
XuYi


Re: Questions about deleting branches on Apache Jenkins

2019-02-21 Thread Xiangdong Huang
The jenkins job list: https://builds.apache.org/job/IoTDB-Pipeline/

There are 10+ branches on the list.

Actually it is what we asked several months ago. At that time, we wanted to
using Jenkins to test all branches. So, Chris helped us to set a routine
task to scan new branches everyday and then add them on Jenkins. It is very
helpful.

Now:

* The discarded branches (which have been merged into the master branch and
then been deleted) are not removed from Jenkins list, but have a
strikethrough on the branch name and have been marked as disabled.

* We have improved the Travis-CI configuration to test IoTDB on
Win/Ubuntu/MacOS * JDK8/11 for each PR.

So, do we still need to test all branches on Jenkins? Maybe from now on,
only testing the master branch is ok...

Best,
---
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院


Felix Cheung  于2019年2月22日周五 上午1:02写道:

> Can you point to where you see these branches? Is it on asf Jenkins?
>
>
> 
> From: yi xu 
> Sent: Thursday, February 21, 2019 12:52 AM
> To: dev@iotdb.apache.org
> Subject: Questions about deleting branches on Apache Jenkins
>
> Hi,
>
> I’m curious about the branch detection of our Jenkins pipeline. If I
> create a new branch and push it to remote repo, I can find my branch on
> jenkins pipeline. However, if I delete this branch on remote repo, jenkins
> pipeline won’t delete it. Now there are lots of useless branches piled up
> on jenkins.
>
> Can someone help to delete them?
>
> Thanks
> XuYi
>


Re: Questions about deleting branches on Apache Jenkins

2019-02-21 Thread yi xu
Hi,

URL is https://builds.apache.org/view/I/view/IoTDB/job/IoTDB-Pipeline/

Thanks
XuYi

> On Feb 22, 2019, at 01:02, Felix Cheung  wrote:
> 
> Can you point to where you see these branches? Is it on asf Jenkins?
> 
> 
> 
> From: yi xu 
> Sent: Thursday, February 21, 2019 12:52 AM
> To: dev@iotdb.apache.org
> Subject: Questions about deleting branches on Apache Jenkins
> 
> Hi,
> 
> I’m curious about the branch detection of our Jenkins pipeline. If I create a 
> new branch and push it to remote repo, I can find my branch on jenkins 
> pipeline. However, if I delete this branch on remote repo, jenkins pipeline 
> won’t delete it. Now there are lots of useless branches piled up on jenkins.
> 
> Can someone help to delete them?
> 
> Thanks
> XuYi



Re: Questions about deleting branches on Apache Jenkins

2019-02-21 Thread Willem Jiang
Maybe we can setup a rule for the development branch which could be skipped.
The CI job can be ran when we send a PR from the development.

Just my 2 cents.

Willem Jiang

Twitter: willemjiang
Weibo: 姜宁willem

On Fri, Feb 22, 2019 at 9:47 AM Xiangdong Huang  wrote:
>
> The jenkins job list: https://builds.apache.org/job/IoTDB-Pipeline/
>
> There are 10+ branches on the list.
>
> Actually it is what we asked several months ago. At that time, we wanted to
> using Jenkins to test all branches. So, Chris helped us to set a routine
> task to scan new branches everyday and then add them on Jenkins. It is very
> helpful.
>
> Now:
>
> * The discarded branches (which have been merged into the master branch and
> then been deleted) are not removed from Jenkins list, but have a
> strikethrough on the branch name and have been marked as disabled.
>
> * We have improved the Travis-CI configuration to test IoTDB on
> Win/Ubuntu/MacOS * JDK8/11 for each PR.
>
> So, do we still need to test all branches on Jenkins? Maybe from now on,
> only testing the master branch is ok...
>
> Best,
> ---
> Xiangdong Huang
> School of Software, Tsinghua University
>
>  黄向东
> 清华大学 软件学院
>
>
> Felix Cheung  于2019年2月22日周五 上午1:02写道:
>
> > Can you point to where you see these branches? Is it on asf Jenkins?
> >
> >
> > ____
> > From: yi xu 
> > Sent: Thursday, February 21, 2019 12:52 AM
> > To: dev@iotdb.apache.org
> > Subject: Questions about deleting branches on Apache Jenkins
> >
> > Hi,
> >
> > I’m curious about the branch detection of our Jenkins pipeline. If I
> > create a new branch and push it to remote repo, I can find my branch on
> > jenkins pipeline. However, if I delete this branch on remote repo, jenkins
> > pipeline won’t delete it. Now there are lots of useless branches piled up
> > on jenkins.
> >
> > Can someone help to delete them?
> >
> > Thanks
> > XuYi
> >


Re: Questions about deleting branches on Apache Jenkins

2019-02-22 Thread Christofer Dutz
I just decreased the number of old items to keep and the number of days to keep 
them.

Some branches disappeared immediately ... Some will in a day or two.

Chris

Outlook für Android<https://aka.ms/ghei36> herunterladen


From: Willem Jiang 
Sent: Friday, February 22, 2019 3:52:30 AM
To: dev@iotdb.apache.org
Subject: Re: Questions about deleting branches on Apache Jenkins

Maybe we can setup a rule for the development branch which could be skipped.
The CI job can be ran when we send a PR from the development.

Just my 2 cents.

Willem Jiang

Twitter: willemjiang
Weibo: 姜宁willem

On Fri, Feb 22, 2019 at 9:47 AM Xiangdong Huang  wrote:
>
> The jenkins job list: https://builds.apache.org/job/IoTDB-Pipeline/
>
> There are 10+ branches on the list.
>
> Actually it is what we asked several months ago. At that time, we wanted to
> using Jenkins to test all branches. So, Chris helped us to set a routine
> task to scan new branches everyday and then add them on Jenkins. It is very
> helpful.
>
> Now:
>
> * The discarded branches (which have been merged into the master branch and
> then been deleted) are not removed from Jenkins list, but have a
> strikethrough on the branch name and have been marked as disabled.
>
> * We have improved the Travis-CI configuration to test IoTDB on
> Win/Ubuntu/MacOS * JDK8/11 for each PR.
>
> So, do we still need to test all branches on Jenkins? Maybe from now on,
> only testing the master branch is ok...
>
> Best,
> ---
> Xiangdong Huang
> School of Software, Tsinghua University
>
>  黄向东
> 清华大学 软件学院
>
>
> Felix Cheung  于2019年2月22日周五 上午1:02写道:
>
> > Can you point to where you see these branches? Is it on asf Jenkins?
> >
> >
> > ________
> > From: yi xu 
> > Sent: Thursday, February 21, 2019 12:52 AM
> > To: dev@iotdb.apache.org
> > Subject: Questions about deleting branches on Apache Jenkins
> >
> > Hi,
> >
> > I’m curious about the branch detection of our Jenkins pipeline. If I
> > create a new branch and push it to remote repo, I can find my branch on
> > jenkins pipeline. However, if I delete this branch on remote repo, jenkins
> > pipeline won’t delete it. Now there are lots of useless branches piled up
> > on jenkins.
> >
> > Can someone help to delete them?
> >
> > Thanks
> > XuYi
> >