Grant Henke has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/15481 )

Change subject: [build] Skip builds with no functional changes
......................................................................

[build] Skip builds with no functional changes

This patch introduces the option to skip builds in pre-commit when
the changes are in files or directories that do not impact the build
or test.

This functionality is disabled by default but can be enabled on our
Jenkins instance by setting `KUDU_ALLOW_SKIPPED_TESTS=1`.

I also hid the `DONT_BUILD` functionality behind the
`KUDU_ALLOW_SKIPPED_TESTS` flag to ensure commits with
`DONT_BUILD` in them do not prevent other builds that are using
this script from running.

Change-Id: If56db6593ce7aa64b562a9fb277a337bffc7b532
Reviewed-on: http://gerrit.cloudera.org:8080/15481
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <[email protected]>
---
M build-support/jenkins/build-and-test.sh
1 file changed, 25 insertions(+), 4 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Adar Dembo: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/15481
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: If56db6593ce7aa64b562a9fb277a337bffc7b532
Gerrit-Change-Number: 15481
Gerrit-PatchSet: 6
Gerrit-Owner: Grant Henke <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to