Skip to content

Commit

Permalink
LPS-111291 Remove CI logic
Browse files Browse the repository at this point in the history
  • Loading branch information
petershin authored and brianchandotcom committed Oct 28, 2020
1 parent bbf1774 commit c097b58
Showing 1 changed file with 7 additions and 69 deletions.
76 changes: 7 additions & 69 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -333,75 +333,13 @@ message.
<arg value="-Dbuild.profile=portal-pre" />
</gradle-execute>

<if>
<or>
<not>
<available file="${project.dir}/modules/private" type="dir" />
</not>
<not>
<isset property="env.JENKINS_HOME" />
</not>
</or>
<then>
<gradle-execute dir="${project.dir}/modules" task="deploy">
<arg value="--parallel" />
<arg value="-Dbuild.exclude.dirs=${build.exclude.dirs}" />
<arg value="-Dbuild.include.dirs=${build.include.dirs}" />
<arg value="-Dbuild.profile=${build.profile}" />
<env key="WAS_HOME" value="${app.server.websphere.dir}" />
</gradle-execute>
</then>
<else>
<gradle-execute dir="${project.dir}/modules/private" failonerror="false" outputproperty="private.modules.project.paths" task="printProjectPath">
<arg value="--quiet" />
<arg value="-Dbuild.exclude.dirs=${build.exclude.dirs}" />
<arg value="-Dbuild.include.dirs=${build.include.dirs}" />
<arg value="-Dbuild.profile=${build.profile}" />
<env key="WAS_HOME" value="${app.server.websphere.dir}" />
</gradle-execute>

<if>
<not>
<equals arg1="${private.modules.project.paths}" arg2="" />
</not>
<then>
<gradle-execute checktask="true" dir="${project.dir}/modules/private" task="deploy">
<arg value="-Dbuild.exclude.dirs=${build.exclude.dirs}" />
<arg value="-Dbuild.include.dirs=${build.include.dirs}" />
<arg value="-Dbuild.profile=${build.profile}" />
<env key="WAS_HOME" value="${app.server.websphere.dir}" />
</gradle-execute>
</then>
</if>

<if>
<and>
<isset property="build.exclude.dirs" />
<not>
<equals arg1="${build.exclude.dirs}" arg2="" />
</not>
</and>
<then>
<gradle-execute dir="${project.dir}/modules" task="deploy">
<arg value="--parallel" />
<arg value="-Dbuild.exclude.dirs=private,${build.exclude.dirs}" />
<arg value="-Dbuild.include.dirs=${build.include.dirs}" />
<arg value="-Dbuild.profile=${build.profile}" />
<env key="WAS_HOME" value="${app.server.websphere.dir}" />
</gradle-execute>
</then>
<else>
<gradle-execute dir="${project.dir}/modules" task="deploy">
<arg value="--parallel" />
<arg value="-Dbuild.exclude.dirs=private" />
<arg value="-Dbuild.include.dirs=${build.include.dirs}" />
<arg value="-Dbuild.profile=${build.profile}" />
<env key="WAS_HOME" value="${app.server.websphere.dir}" />
</gradle-execute>
</else>
</if>
</else>
</if>
<gradle-execute dir="${project.dir}/modules" task="deploy">
<arg value="--parallel" />
<arg value="-Dbuild.exclude.dirs=${build.exclude.dirs}" />
<arg value="-Dbuild.include.dirs=${build.include.dirs}" />
<arg value="-Dbuild.profile=${build.profile}" />
<env key="WAS_HOME" value="${app.server.websphere.dir}" />
</gradle-execute>

<if>
<equals arg1="${marker.files.lfrbuild.ci.enabled}" arg2="true" />
Expand Down

0 comments on commit c097b58

Please sign in to comment.