ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Triggering re-build on jenkins

asked 2016-06-01 07:29:30 -0500

JenniferBuehler gravatar image

Hi,

Is there a way to trigger a re-build of the jenkins builds? I'm thinking about something like this.

The reason I would like to do this is that I am releasing a package which runs fine in the pre-release tests, but fails on Jenkins (see also my other question about this). Now I'd like to be able to test this particular case locally.

I can apply the fixes in my repo and then re-run bloom-release to push to the release repository. I don't increase the version, and skip the part about the PR to rosdistro. This causes all packages which have failed so far to re-build (they failed because they depend on the faulty package which needs fixing). However the faulty package itself has built fine, so a jenkins re-build is not triggered for it - with the result of having all depending packages fail again, even though the cause of error has been fixed in the release repository.

In my case, I just forgot to set a flag needed for jenkins build in my cmake file. Is it necessary to increase version and do a full bloom bloom-release (incl. PR), even if changes are tiny, in order to trigger a re-build of a particular jenkins project? Or is there an easier way to do this? I don't want to flood the system with silly version increases, I'd prefer to test this locally before I re-release the package. Is there a standard way to do this?

Thanks for your help, Jenny

edit retag flag offensive close merge delete

Comments

Can you please clarify which job you are referring to. A devel job or a sourcedeb / binarydeb job?

Dirk Thomas gravatar image Dirk Thomas  ( 2016-06-01 09:19:38 -0500 )edit

One example was arm_components_name_manager. It needs the baselib_binding package, which had built fine. I wanted to re-trigger building baselib_binding (after only setting a flag to true in cmakelists)

JenniferBuehler gravatar image JenniferBuehler  ( 2016-06-01 10:08:38 -0500 )edit

http://build.ros.org/view/Idev/job/Id... should be the job since that repo contains the package of the referenced binary job ( https://github.com/ros/rosdistro/blob... ).

Dirk Thomas gravatar image Dirk Thomas  ( 2016-06-01 11:12:54 -0500 )edit

Ok, that's great to know, I'll try this. So far the devel branches have built fine, but maybe I have missed something there. I'll re-release the package with the fixes - it's anyway only required for the first release of the package, until things are fixed, so it's not a huge concern. Thanks!

JenniferBuehler gravatar image JenniferBuehler  ( 2016-06-01 14:14:48 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-06-01 11:11:45 -0500

Dirk Thomas gravatar image

I binary job builds a released package. Therefore it requires you to make a new release to trigger it again. You might want to use a devel job which is being triggered on new commits to your upstream repo.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-06-01 07:29:30 -0500

Seen: 109 times

Last updated: Jun 01 '16