Skip to content

Commit

Permalink
SRE-2887 ci: Disable Jenkins prehook
Browse files Browse the repository at this point in the history
Disable Jenkins pre-commit githook until the new instance of Jenkins
will be available.

Doc-only: true

Signed-off-by: Tomasz Gromadzki <[email protected]>
  • Loading branch information
grom72 committed Feb 28, 2025
1 parent 28e9717 commit c8f9062
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/githooks/pre-commit.d/30-Jenkinsfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ if [ -z "$(_git_diff_cached_files "Jenkinsfile")" ] ; then
exit 0
fi

echo "Temporary skipping as the old Jenkins instance is not accessible"
echo "Pre-hook will be restored after new instance of Jenkins will be fully operational"
exit 0

echo "Checking syntax"

Check failure on line 26 in utils/githooks/pre-commit.d/30-Jenkinsfile.sh

View workflow job for this annotation

GitHub Actions / ShellCheck

Command appears to be unreachable. Check usage (or ignore if invoked indirectly). [SC2317]

HOST="${HOST:-build.hpdd.intel.com}"

Check failure on line 28 in utils/githooks/pre-commit.d/30-Jenkinsfile.sh

View workflow job for this annotation

GitHub Actions / ShellCheck

Command appears to be unreachable. Check usage (or ignore if invoked indirectly). [SC2317]
Expand Down

0 comments on commit c8f9062

Please sign in to comment.