Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run url script in all directories #6082

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Zbynek Konecny <zbynek1729@gmail.com>
  • Loading branch information
NotMyFault and zbynek authored Feb 26, 2023
commit 3517716595e76a86095e64847eb63947d1171446
4 changes: 2 additions & 2 deletions scripts/check-hard-coded-URL-references
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

return_code=0

files=$(git grep -l https://www.jenkins.io -- content/[a-zA-Z]**/**/*.adoc)
files=$(git grep -l https://www.jenkins.io -- content/*.adoc)
NotMyFault marked this conversation as resolved.
Show resolved Hide resolved
if [ "$files" != "" ]; then
echo "ERROR: incorrectly used https://www.jenkins.io in ${files}"
echo
Expand All @@ -26,7 +26,7 @@ if [ "$files" != "" ]; then
return_code=1
fi

files=$(git grep -l https://jenkins.io -- content/[a-zA-Z]**/**/*.adoc)
files=$(git grep -l https://jenkins.io -- content/*.adoc)
NotMyFault marked this conversation as resolved.
Show resolved Hide resolved
if [ "$files" != "" ]; then
echo "ERROR: incorrectly used https://jenkins.io in ${files}"
echo
Expand Down