[Buildbot-devel] Trigger without revision possible?

Stefan Schlauch stefan.schlauch at hella-gutmann.com
Tue Oct 28 09:22:49 UTC 2014


@Ben,
Thank you very much for the solution - alwaysUseLates=True  was the switch, I searched and it works.
I searched for the keyword trigger but does not found the page. Ok, perhaps I was blind :)
I am the system administrator of our buildsystem with basics in coding but not a real coder. The documentation is not always easy to understand for me :)


-----Ursprüngliche Nachricht-----
Von: Benoît Allard [mailto:benoit.allard at greenbone.net]
Gesendet: Montag, 27. Oktober 2014 11:16
An: Stefan Schlauch; Buildbot Devel (buildbot-devel at lists.sourceforge.net)
Betreff: Re: [Buildbot-devel] Trigger without revision possible?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/27/2014 10:21 AM, Stefan Schlauch wrote:
> Hi,
>
> I have the following situation. One builder gets it sources from a git
> repository. If the build success it should trigger an other builder
> (builder 2) to use the new data. Builder 2 gets it sources from a
> subversion repository. If builder 1 is ready it will start builder 2
> but now my problem. The revision number from the git is transferred
> and so builder 2 will fail within the svn update. Both builders should
> be run separately. Is there a switch to trigger the next builder
> without the transfer of the revision number? If it is too tricky, I
> have to use an other solution.
>

'codebases' have been introduced to help those kind of setup where one needs to handle multiple repositories. I highly suggest you reading those sections of the doc.

Then, if those sounds too complicated for your setup (Please tell us which part : we strive to improve the doc, especially in this area !
This needs to be simple ...), the 'Trigger' step accept a few parameters that allow him to mess up with the sourcestamp of the Triggered build. You probably want to use 'alwaysUseLatest'. But please, consider using codebases first, that's what they are meant for.

Doc to the Trigger parameters:
http://docs.buildbot.net/current/manual/cfg-buildsteps.html?highlight=alwaysUseLatest#triggering-schedulers

Good luck !
Ben.

> Thanks and regards,
>
> Stefan
>
>
> ________________________________
>
> -- Hella Gutmann Solutions GmbH * Unternehmensform: Gesellschaft mit
> beschraenkter Haftung * Firmensitz: 79241 Ihringen * Eingetragen im
> Handelsregister: AG Freiburg i.Br., HRB 290194 *
> Geschaeftsfuehrer: Alfred Mayer, Bjoern Rietschel * USt-IdNr.:
> DE142208666
>
>
>
> ----------------------------------------------------------------------
> --------
>
>
>
>
> _______________________________________________ Buildbot-devel mailing
> list Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>


- --
Benoît Allard (B30A05B0)|Greenbone Networks GmbH|http://greenbone.net Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460 Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBAgAGBQJUThtXAAoJEHZCfVOzCgWwLq8H/0okymYJh9czTf1cINM20qjj
++D+7iy1aqCKKbUTHi0KWn9k2s9bsNqPOT4Yh7MMwnZfn6q9MjyX7DYPfIkXoxm9
HuNfvipL8RCE9G/3oXSVhlpvydr5/sPaEBXNemujc6FQ3rVT0bQl4Sn/yl17S3l4
99ZmJ/5OyuJTL0TxpArhI1eJlAJtRlrmUi16R3sprqFwW0FdQSSOwlXgvtlfXZ7V
JAFx2YNuehjLBHjXeXgKSyx8b4TnpwLmKDtLTbUI0NusMaxNFzcIt/fyHteW6e0w
U34nfXSwNawS96jBNXie+RKjMK+PtobGQOXggcgyVFEe5pgrrB2Nbmwi6Fzd3pU=
=EK2K
-----END PGP SIGNATURE-----

________________________________

--
Hella Gutmann Solutions GmbH * Unternehmensform: Gesellschaft mit beschraenkter Haftung *
Firmensitz: 79241 Ihringen * Eingetragen im Handelsregister: AG Freiburg i.Br., HRB 290194 *
Geschaeftsfuehrer: Alfred Mayer, Bjoern Rietschel * USt-IdNr.: DE142208666




More information about the devel mailing list