Commit 482ba070 authored by Piotr Wendykier's avatar Piotr Wendykier

The timestamp variable is now read from build/build.txt file.

parent 123ead05
......@@ -107,14 +107,18 @@
</include>
</componentList>
<preBuildActionList>
<createTimeStamp>
<format>%Y-%m-%d-%H.%M.%S</format>
<variable>timestamp</variable>
</createTimeStamp>
<actionGroup>
<actionList>
<setInstallerVariable name="jrepath" value="/jenkins_home/jars"/>
<readFile>
<name>ts</name>
<path>${build_project_directory}/build/build.txt</path>
<show>0</show>
</readFile>
<globalVariables names="${ts}"/>
<setInstallerVariable name="timestamp" value="${ts}"/>
<setInstallerVariable name="jrepath" value="jenkins_home/jars"/>
<setInstallerVariable name="jreversion" value="jre1.8.0_171"/>
</actionList>
</actionGroup>
</preBuildActionList>
......
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