Skip to content

Commit

Permalink
[JENKINS-38134] Check sha256sum tool availability.
Browse files Browse the repository at this point in the history
  • Loading branch information
armfergom committed Oct 24, 2016
1 parent 768a47b commit 4563dc4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Expand Up @@ -24,7 +24,9 @@ setup:

package: war msi osx deb rpm suse

publish: war.publish msi.publish osx.publish deb.publish rpm.publish suse.publish
publish:
bash ./toolAvailability.sh
war.publish msi.publish osx.publish deb.publish rpm.publish suse.publish

test: deb.test rpm.test suse.test

Expand Down
3 changes: 3 additions & 0 deletions toolAvailability.sh
@@ -0,0 +1,3 @@
#!/bin/bash -ex
which sha256sum >/dev/null 2>&1 || { echo "sha256sum not found" >&2 ; exit 1 ; }

0 comments on commit 4563dc4

Please sign in to comment.