Quantcast

"Poll SCM now" button

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

"Poll SCM now" button

Terry.Rankine

Hi Guys

 

I don’t want randoms building my project if there are no changes, but I figure I would be happy with a ‘poll now’ button.

 

Would also make the developers life easy, as currently the source is polled every 15 mins, and if they do a commit, they could hit poll now, to speed up the process.

 

Is there already a plugin for this?

 

Terry

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: "Poll SCM now" button

Didier Durand
Hi,

They are no randoms builds if there are no change: you have to use the
correct trigger, i.e. not "build periodically" but only "poll scm".
Then, jenkins polls the SCM according to the schedule that you define
and build ONLY if there are changes.

regards

didier

On Nov 25, 2:44 am, <[hidden email]> wrote:
> Hi Guys
>
> I don't want randoms building my project if there are no changes, but I figure I would be happy with a 'poll now' button.
>
> Would also make the developers life easy, as currently the source is polled every 15 mins, and if they do a commit, they could hit poll now, to speed up the process.
>
> Is there already a plugin for this?
>
> Terry
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: "Poll SCM now" button

Terry.Rankine
There are random builds when people press the build button! Even if there is no source change.

I want to make sure that we don't 'rebuild' a non changed source.

Having a 'poll scm' button and no build button would allow them to perform a much lighter operation (check the scm) than a build.

Note - All I want is for the devs to be able to 'skip the waiting step' before the next build, BUT the build engine is OPEN, and don't want anyone pushing the build it button.

Regards,
Terry Rankine

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Didier Durand
Sent: Friday, 25 November 2011 12:55 PM
To: Jenkins Users
Subject: Re: "Poll SCM now" button

Hi,

They are no randoms builds if there are no change: you have to use the
correct trigger, i.e. not "build periodically" but only "poll scm".
Then, jenkins polls the SCM according to the schedule that you define
and build ONLY if there are changes.

regards

didier

On Nov 25, 2:44 am, <[hidden email]> wrote:
> Hi Guys
>
> I don't want randoms building my project if there are no changes, but I figure I would be happy with a 'poll now' button.
>
> Would also make the developers life easy, as currently the source is polled every 15 mins, and if they do a commit, they could hit poll now, to speed up the process.
>
> Is there already a plugin for this?
>
> Terry
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: "Poll SCM now" button

jes Struck

Sounds like a great feature
+1

Den 25/11/2011 05.58 skrev <[hidden email]>:
There are random builds when people press the build button! Even if there is no source change.

I want to make sure that we don't 'rebuild' a non changed source.

Having a 'poll scm' button and no build button would allow them to perform a much lighter operation (check the scm) than a build.

Note - All I want is for the devs to be able to 'skip the waiting step' before the next build, BUT the build engine is OPEN, and don't want anyone pushing the build it button.

Regards,
Terry Rankine

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Didier Durand
Sent: Friday, 25 November 2011 12:55 PM
To: Jenkins Users
Subject: Re: "Poll SCM now" button

Hi,

They are no randoms builds if there are no change: you have to use the
correct trigger, i.e. not "build periodically" but only "poll scm".
Then, jenkins polls the SCM according to the schedule that you define
and build ONLY if there are changes.

regards

didier

On Nov 25, 2:44 am, <[hidden email]> wrote:
> Hi Guys
>
> I don't want randoms building my project if there are no changes, but I figure I would be happy with a 'poll now' button.
>
> Would also make the developers life easy, as currently the source is polled every 15 mins, and if they do a commit, they could hit poll now, to speed up the process.
>
> Is there already a plugin for this?
>
> Terry
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: "Poll SCM now" button

Ulli Hafner
Why don't you just set the polling interval to e.g. 1 minute? Or let the SCM initiate the build automatically (trigger)?

Which SCM are you using?

Ulli


On 11/25/2011 09:29 AM, jes Struck wrote:

Sounds like a great feature
+1

Den 25/11/2011 05.58 skrev [hidden email]:
There are random builds when people press the build button! Even if there is no source change.

I want to make sure that we don't 'rebuild' a non changed source.

Having a 'poll scm' button and no build button would allow them to perform a much lighter operation (check the scm) than a build.

Note - All I want is for the devs to be able to 'skip the waiting step' before the next build, BUT the build engine is OPEN, and don't want anyone pushing the build it button.

Regards,
Terry Rankine

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Didier Durand
Sent: Friday, 25 November 2011 12:55 PM
To: Jenkins Users
Subject: Re: "Poll SCM now" button

Hi,

They are no randoms builds if there are no change: you have to use the
correct trigger, i.e. not "build periodically" but only "poll scm".
Then, jenkins polls the SCM according to the schedule that you define
and build ONLY if there are changes.

regards

didier

On Nov 25, 2:44 am, [hidden email] wrote:
> Hi Guys
>
> I don't want randoms building my project if there are no changes, but I figure I would be happy with a 'poll now' button.
>
> Would also make the developers life easy, as currently the source is polled every 15 mins, and if they do a commit, they could hit poll now, to speed up the process.
>
> Is there already a plugin for this?
>
> Terry

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: "Poll SCM now" button

Tyrael
In reply to this post by Terry.Rankine


On Fri, Nov 25, 2011 at 2:44 AM, <[hidden email]> wrote:

Hi Guys

 

I don’t want randoms building my project if there are no changes, but I figure I would be happy with a ‘poll now’ button.

 

Would also make the developers life easy, as currently the source is polled every 15 mins, and if they do a commit, they could hit poll now, to speed up the process.

 

Is there already a plugin for this?

 

Terry


https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project#Buildingasoftwareproject-Buildsbysourcechanges

should poll the scm, and only start the build if there are changes.

adding an UI control would be nice though.

--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: "Poll SCM now" button

Terry.Rankine
In reply to this post by Ulli Hafner

Repos:

19 SVN [1.6] and 2 GIT.

 

Polling is just more server load, every 15 mins is an acceptable figure for the normal stuff.

 

I haven’t thought about triggers, but it would be a bit messy as we have multiple builds out of one of the svn’s

One of the svn’s look like this:

/project1/(trunk|branch|tag)

/project2/(trunk|branch|tag)

 

I am not saying that there are no current alternatives – just wanted to know if a poll now button was possible or even already existed.

 

Terry

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Ullrich Hafner
Sent: Friday, 25 November 2011 4:40 PM
To: [hidden email]
Subject: Re: "Poll SCM now" button

 

Why don't you just set the polling interval to e.g. 1 minute? Or let the SCM initiate the build automatically (trigger)?

Which SCM are you using?

Ulli


On 11/25/2011 09:29 AM, jes Struck wrote:

Sounds like a great feature
+1

Den 25/11/2011 05.58 skrev [hidden email]:

There are random builds when people press the build button! Even if there is no source change.

I want to make sure that we don't 'rebuild' a non changed source.

Having a 'poll scm' button and no build button would allow them to perform a much lighter operation (check the scm) than a build.

Note - All I want is for the devs to be able to 'skip the waiting step' before the next build, BUT the build engine is OPEN, and don't want anyone pushing the build it button.

Regards,
Terry Rankine

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Didier Durand
Sent: Friday, 25 November 2011 12:55 PM
To: Jenkins Users
Subject: Re: "Poll SCM now" button

Hi,

They are no randoms builds if there are no change: you have to use the
correct trigger, i.e. not "build periodically" but only "poll scm".
Then, jenkins polls the SCM according to the schedule that you define
and build ONLY if there are changes.

regards

didier

On Nov 25, 2:44 am, [hidden email] wrote:
> Hi Guys
>
> I don't want randoms building my project if there are no changes, but I figure I would be happy with a 'poll now' button.
>
> Would also make the developers life easy, as currently the source is polled every 15 mins, and if they do a commit, they could hit poll now, to speed up the process.
>
> Is there already a plugin for this?
>
> Terry

 

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: "Poll SCM now" button

Dean Yu
Re: "Poll SCM now" button Check out the post-commit hook feature:

https://wiki.jenkins-ci.org/display/JENKINS/Subversion+Plugin

  -- Dean


On 11/27/11 4:20 PM , "Terry.Rankine@..." <Terry.Rankine@...> wrote:

Repos:
19 SVN [1.6] and 2 GIT.
 
Polling is just more server load, every 15 mins is an acceptable figure for the normal stuff.
 
I haven’t thought about triggers, but it would be a bit messy as we have multiple builds out of one of the svn’s
One of the svn’s look like this:
/project1/(trunk|branch|tag)
/project2/(trunk|branch|tag)
 
I am not saying that there are no current alternatives – just wanted to know if a poll now button was possible or even already existed.
 
Terry
 

From: jenkinsci-users@... [[hidden email]] On Behalf Of Ullrich Hafner
Sent: Friday, 25 November 2011 4:40 PM
To: jenkinsci-users@...
Subject: Re: "Poll SCM now" button

Why don't you just set the polling interval to e.g. 1 minute? Or let the SCM initiate the build automatically (trigger)?

Which SCM are you using?

Ulli


On 11/25/2011 09:29 AM, jes Struck wrote:
Sounds like a great feature
+1

Den 25/11/2011 05.58 skrev <Terry.Rankine@...> <[hidden email]> :
There are random builds when people press the build button! Even if there is no source change.

I want to make sure that we don't 'rebuild' a non changed source.

Having a 'poll scm' button and no build button would allow them to perform a much lighter operation (check the scm) than a build.

Note - All I want is for the devs to be able to 'skip the waiting step' before the next build, BUT the build engine is OPEN, and don't want anyone pushing the build it button.

Regards,
Terry Rankine

-----Original Message-----
From: jenkinsci-users@... [[hidden email]] On Behalf Of Didier Durand
Sent: Friday, 25 November 2011 12:55 PM
To: Jenkins Users
Subject: Re: "Poll SCM now" button

Hi,

They are no randoms builds if there are no change: you have to use the
correct trigger, i.e. not "build periodically" but only "poll scm".
Then, jenkins polls the SCM according to the schedule that you define
and build ONLY if there are changes.

regards

didier

On Nov 25, 2:44 am, <Terry.Rank...@...> <[hidden email]>  wrote:
> Hi Guys
>
> I don't want randoms building my project if there are no changes, but I figure I would be happy with a 'poll now' button.
>
> Would also make the developers life easy, as currently the source is polled every 15 mins, and if they do a commit, they could hit poll now, to speed up the process.
>
> Is there already a plugin for this?
>
> Terry
 

Loading...