diff --git a/elastic-job-example/elastic-job-example-cloud/src/main/resources/assembly/assembly.xml b/elastic-job-example/elastic-job-example-cloud/src/main/resources/assembly/assembly.xml index b76c8f1c77..188c0fcd7f 100644 --- a/elastic-job-example/elastic-job-example-cloud/src/main/resources/assembly/assembly.xml +++ b/elastic-job-example/elastic-job-example-cloud/src/main/resources/assembly/assembly.xml @@ -9,6 +9,11 @@ bin 0755 + + src/main/resources/script + script + 0755 + diff --git a/elastic-job-example/elastic-job-example-cloud/src/main/resources/script/demo.bat b/elastic-job-example/elastic-job-example-cloud/src/main/resources/script/demo.bat new file mode 100755 index 0000000000..5e077b15d8 --- /dev/null +++ b/elastic-job-example/elastic-job-example-cloud/src/main/resources/script/demo.bat @@ -0,0 +1 @@ +@echo test %* \ No newline at end of file diff --git a/elastic-job-example/elastic-job-example-cloud/src/main/resources/script/demo.sh b/elastic-job-example/elastic-job-example-cloud/src/main/resources/script/demo.sh new file mode 100755 index 0000000000..7c67ff77af --- /dev/null +++ b/elastic-job-example/elastic-job-example-cloud/src/main/resources/script/demo.sh @@ -0,0 +1,2 @@ +#!/bin/bash +echo sharding execution context is $* \ No newline at end of file