Commit b5f2f0b8 authored by YM-RD-AP01\ymadmin's avatar YM-RD-AP01\ymadmin

scott: Job [Deploy_HRB_API_SIT_124] configuration updated

Change performed by ·¨¼y°ó
parent 522d9e3d
......@@ -115,7 +115,7 @@
<hudson.tasks.Shell>
<command>VAR=$(git rev-parse --short HEAD)_$(date +&quot;%Y%m%d_%H%M&quot;)
version=$(echo $GIT_BRANCH | cut -d&apos;/&apos; -f 3)
sed -i &quot;s/&lt;title.*/&lt;title ng-bind=&apos;page_title&apos;&gt;CRM v${version}_${VAR}&lt;\/title\/&gt;/&quot; src/main/resources/static/index.html
# sed -i &quot;s/&lt;title.*/&lt;title ng-bind=&apos;page_title&apos;&gt;CRM v${version}_${VAR}&lt;\/title\/&gt;/&quot; src/main/resources/static/index.html
</command>
</hudson.tasks.Shell>
</prebuilders>
......@@ -123,7 +123,7 @@ sed -i &quot;s/&lt;title.*/&lt;title ng-bind=&apos;page_title&apos;&gt;CRM v${ve
<hudson.tasks.Shell>
<command>systemctl stop HRB_API
rm -f /opt/HRB_API/lib/*.jar
/usr/bin/unzip -j -o target/authservice-pack.zip &quot;authservice/lib/*&quot; -d /opt/HRB_API/lib
/usr/bin/unzip -j -o target/HRB_API-pack.zip &quot;HRB_API/lib/*&quot; -d /opt/HRB_API/lib
systemctl start HRB_API</command>
</hudson.tasks.Shell>
</postbuilders>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment