HBASE-18563 Fix RAT License complaint about website jenkins scripts
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/c37432fe Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c37432fe Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c37432fe Branch: refs/heads/HBASE-14070.HLC Commit: c37432fefbf4d1ff5bf80f5227c986f3bde281a1 Parents: efd211d Author: Esteban Gutierrez <este...@apache.org> Authored: Thu Aug 10 20:08:03 2017 -0500 Committer: Esteban Gutierrez <este...@apache.org> Committed: Thu Aug 10 20:08:03 2017 -0500 ---------------------------------------------------------------------- .../jenkins-scripts/check-website-links.sh | 20 +++++++++++++++++++- .../jenkins-scripts/generate-hbase-website.sh | 18 ++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/c37432fe/dev-support/jenkins-scripts/check-website-links.sh ---------------------------------------------------------------------- diff --git a/dev-support/jenkins-scripts/check-website-links.sh b/dev-support/jenkins-scripts/check-website-links.sh index c23abbb..1f7cd1c 100755 --- a/dev-support/jenkins-scripts/check-website-links.sh +++ b/dev-support/jenkins-scripts/check-website-links.sh @@ -1,4 +1,22 @@ #!/bin/bash +# +#/** +# * Licensed to the Apache Software Foundation (ASF) under one +# * or more contributor license agreements. See the NOTICE file +# * distributed with this work for additional information +# * regarding copyright ownership. The ASF licenses this file +# * to you under the Apache License, Version 2.0 (the +# * "License"); you may not use this file except in compliance +# * with the License. You may obtain a copy of the License at +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# */ # This script is designed to run as a Jenkins job, such as at # https://builds.apache.org/view/All/job/HBase%20Website%20Link%20Checker/ @@ -44,4 +62,4 @@ if ! grep -q 'ERROR' link_report/index.html; then exit 1 else echo "No errors found. Warnings might be present." -fi \ No newline at end of file +fi http://git-wip-us.apache.org/repos/asf/hbase/blob/c37432fe/dev-support/jenkins-scripts/generate-hbase-website.sh ---------------------------------------------------------------------- diff --git a/dev-support/jenkins-scripts/generate-hbase-website.sh b/dev-support/jenkins-scripts/generate-hbase-website.sh index a3f7823..06d160a 100644 --- a/dev-support/jenkins-scripts/generate-hbase-website.sh +++ b/dev-support/jenkins-scripts/generate-hbase-website.sh @@ -1,4 +1,22 @@ #!/bin/bash +# +#/** +# * Licensed to the Apache Software Foundation (ASF) under one +# * or more contributor license agreements. See the NOTICE file +# * distributed with this work for additional information +# * regarding copyright ownership. The ASF licenses this file +# * to you under the Apache License, Version 2.0 (the +# * "License"); you may not use this file except in compliance +# * with the License. You may obtain a copy of the License at +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# */ # This script is meant to run as part of a Jenkins job such as # https://builds.apache.org/job/hbase_generate_website/