Skip to content

Commit

Permalink
Add check SHA for OpenJCEPlus repo
Browse files Browse the repository at this point in the history
- Add check SHA for OpenJCEPlus repo

Signed-off-by: LongyuZhang <[email protected]>
  • Loading branch information
LongyuZhang committed Feb 21, 2024
1 parent ca20b01 commit d2ad9bc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions functional/OpenJcePlusTests/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<property environment="env" />

<target name="openJcePlusTests.check">
<echo>HereHere1!!!</echo>
<condition property="openJcePlusTests.exists">
<available file="OpenJCEPlus" type="dir"/>
</condition>
Expand All @@ -39,6 +40,7 @@
<if>
<isset property="env.OPENJCEPLUS_GIT_REPO"/>
<then>
<echo>HereHere2!!!</echo>
<property name="openjceplusGitRepo" value="${env.OPENJCEPLUS_GIT_REPO}"/>
</then>
<else>
Expand All @@ -56,7 +58,11 @@
</if>

<target name="getOpenJcePlusTests" depends="openJcePlusTests.check" unless="openJcePlusTests.exists">
<echo>HereHere3!!!</echo>
<getFileWithRetry file="OpenJCEPlus" command="git clone --depth 1 -q ${openjceplusGitRepo} -b ${openjceplusGitBranch} OpenJCEPlus"/>
<echo>HereHere4!!!</echo>
<checkGitRepoSha repoDir="OpenJCEPlus"/>
<echo>HereHere5!!!</echo>
<delete dir="./OpenJCEPlus/src/main" />
</target>

Expand Down

0 comments on commit d2ad9bc

Please sign in to comment.