Request for pointers for a plugin implementation

Hi there,

In our setup, we're getting to the point that the lack of mutually exclusive
builds is really affecting us. See below for an older request and a description
of the needed functionality:

http://jetbrains.net/tracker/issue/TW-3798
http://www.jetbrains.net/devnet/thread/277221

We were hoping 4.0 would include this functionality, but, alas, it did not.
So we're looking into coding it ourselves, in a plugin.

First of all, do you think that's possible using the public API? If yes,
would you care to share some pointers/tips that would help us get started?

Thx,
Andrei


7 comments
Comment actions Permalink

JetBrains,

Any ideas? Is this even possible?

Thx,
Andrei

AO> Hi there,
AO>
AO> In our setup, we're getting to the point that the lack of mutually
AO> exclusive builds is really affecting us. See below for an older
AO> request and a description of the needed functionality:
AO>
AO> http://jetbrains.net/tracker/issue/TW-3798
AO> http://www.jetbrains.net/devnet/thread/277221
AO> We were hoping 4.0 would include this functionality, but, alas, it
AO> did not. So we're looking into coding it ourselves, in a plugin.
AO>
AO> First of all, do you think that's possible using the public API? If
AO> yes, would you care to share some pointers/tips that would help us
AO> get started?
AO>
AO> Thx,
AO> Andrei


0
Comment actions Permalink

Sorry for delay.

Unfortunately, right now there is no good point where you can plug such a plugin. But I think we will be able to provide it in the next EAP build (4.1 EAP).

0
Comment actions Permalink

Hello Pavel,

Great, thanks a lot.

Best,
Andrei

PS> Sorry for delay.
PS>
PS> Unfortunately, right now there is no good point where you can plug
PS> such a plugin. But I think we will be able to provide it in the next
PS> EAP build (4.1 EAP).
PS>
PS> ---
PS> Original message URL:
PS> http://www.jetbrains.net/devnet/message/5232548#5232548


0
Comment actions Permalink

Hello Pavel,

Is the newly released EAP the lucky one? Any hints on how to proceed?

Thx,
Andrei

PS> Sorry for delay.
PS>
PS> Unfortunately, right now there is no good point where you can plug
PS> such a plugin. But I think we will be able to provide it in the next
PS> EAP build (4.1 EAP).
PS>
PS> ---
PS> Original message URL:
PS> http://www.jetbrains.net/devnet/message/5232548#5232548


0
Comment actions Permalink

Andrei,

Yes, Pavel has added an extension point, see jetbrains.buildServer.serverSide.buildDistribution.StartBuildPrecondition interface.

Also see my comment to a related issue - I posted a simple plugin that makes use of the extension point to provide some basic build locks functionality.

Also, a sample plugin avilable under devPackage in the TeamCity distribution makes use of the extention to demonstrate build pausing functionality.

Please let us know does this fulfulls your requirements or not.

--
Best regards,

Yegor Yarko
Project Manager (TeamCity)
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Hello Yegor,

Great, thanks a lot, I'll give it a try and let you know.

Best,
Andrei

YY> Andrei,
YY>
YY> Yes, Pavel has added an extension point, see
YY> jetbrains.buildServer.serverSide.buildDistribution.StartBuildPrecond
YY> ition interface.
YY>
YY> Also see my comment to a http://jetbrains.net/tracker/issue/TW-3798
YY> - I posted a simple plugin that makes use of the extension point to
YY> provide some basic build locks functionality.
YY>
YY> Also, a sample plugin avilable under devPackage in the TeamCity
YY> distribution makes use of the extention to demonstrate build pausing
YY> functionality.
YY>
YY> Please let us know does this fulfulls your requirements or not.
YY>
YY> --
YY> Best regards,
YY> Yegor Yarko
YY> Project Manager (TeamCity)
YY> JetBrains, Inc
YY> http://www.jetbrains.com
YY> "Develop with pleasure!"
YY> ---
YY> Original message URL:
YY> http://www.jetbrains.net/devnet/message/5234073#5234073


0
Comment actions Permalink

Hello Yegor, Pavel,

The plugin works great, thanks a lot for putting it together.

We'll play with it a bit more and set it up for all the cases where we need
this kind of locking, but so far it looks great.

Thanks again for addressing this requirement.

Best,
Andrei

YY>>
YY>> Yes, Pavel has added an extension point, see
YY>> jetbrains.buildServer.serverSide.buildDistribution.StartBuildPrecon
YY>> d ition interface.
YY>>
YY>> Also see my comment to a http://jetbrains.net/tracker/issue/TW-3798
YY>> - I posted a simple plugin that makes use of the extension point to
YY>> provide some basic build locks functionality.
YY>>
YY>> Also, a sample plugin avilable under devPackage in the TeamCity
YY>> distribution makes use of the extention to demonstrate build
YY>> pausing functionality.
YY>>
YY>> Please let us know does this fulfulls your requirements or not.
YY>>
YY>> --
YY>> Best regards,
YY>> Yegor Yarko
YY>> Project Manager (TeamCity)
YY>> JetBrains, Inc
YY>> http://www.jetbrains.com
YY>> "Develop with pleasure!"
YY>> ---
YY>> Original message URL:
YY>> http://www.jetbrains.net/devnet/message/5234073#5234073


0

Please sign in to leave a comment.