l-b.cgi - Add pending build(s) to be processed ahead of your request.
This commit is contained in:
parent
fe93b01571
commit
d33c099ede
|
@ -118,11 +118,15 @@ else
|
|||
# Getting build identifier
|
||||
_BUILD=$(date +%Y%m%d.%H%M%S.%N)
|
||||
|
||||
# Getting number of builds pending.
|
||||
_QUEUENUM=$(ls "${_TEMPDIR}"/*.build | wc -l)
|
||||
|
||||
#echo "${QUERY_STRING}"
|
||||
# Sending html confirmation
|
||||
# Note: On each string remember to use a delimeter that is not in the string.
|
||||
sed -e "s/BUILD/${_BUILD}/g" \
|
||||
-e "s/EMAIL/${_EMAIL}/" \
|
||||
-e "s/QUEUENUM/${_QUEUENUM}/" \
|
||||
-e "s/LB_BINARY_IMAGES/${LB_BINARY_IMAGES}/" \
|
||||
-e "s/LB_DISTRIBUTION/${LB_DISTRIBUTION}/" \
|
||||
-e "s/LB_PACKAGE_LISTS/${LB_PACKAGE_LISTS}/" \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<br />
|
||||
|
||||
<h3>Your build 'BUILD' was recorded and will be processed soon. Depending on the options you have selected, the build takes about between 5 and 20 minutes. You will be notified by email when the attempt has completed.</h3>
|
||||
<h3>Your build 'BUILD' was recorded and will be processed soon. Depending on the options you have selected, a build attempt generally takes between 5 and 20 minutes to complete. Currently there are 'QUEUENUM' pending build(s) to be processed ahead of your request. You will be notified by email when the attempt has completed.</h3>
|
||||
|
||||
<h3>Your build will be available at: <a href="SERVER/BUILD/">SERVER/BUILD/</a>.</h3>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<br />
|
||||
|
||||
<h3>Your build 'BUILD' was recorded and will be processed soon. Depending on the options you have selected, the build takes about between 5 and 20 minutes. You will be notified by email when the attempt has completed.</h3>
|
||||
<h3>Your build 'BUILD' was recorded and will be processed soon. Depending on the options you have selected, a build attempt generally takes between 5 and 20 minutes to complete. Currently there are 'QUEUENUM' pending build(s) to be processed ahead of your request. You will be notified by email when the attempt has completed.</h3>
|
||||
|
||||
<h3>Your build will be available at: <a href="SERVER/BUILD/">SERVER/BUILD/</a>.</h3>
|
||||
|
||||
|
|
Loading…
Reference in New Issue