opsi.opsi-builder/sample/old/builder-targets-cb.sh

26 lines
963 B
Bash
Raw Normal View History

##############################################################################
# This optional file "builder-targets-cb.sh" will be called by builder.sh
#
2012-01-27 11:08:27 +01:00
# The targets will be called from thde opsi-builder using the following
# order: config, prepare, retrieve, create, package, publish, commit, cleanup
# You can overwrite the target functions in builder-targets-cb.sh
2012-01-27 10:55:07 +01:00
#
2012-01-27 11:08:27 +01:00
# You can define callback functions. The functions are called from
# opsi-builder within processing a target
# cb_package_makeproductfile
#
2012-01-27 10:55:07 +01:00
# You can use every variable defined in any configuration file or by
# the defined builder script itself. Also, calling the predefined
# targets builder_<targetname> is possible.
#
# Abstract:
# target order: config, prepare, retrieve, create, package, publish, commit, cleanup
# callbacks: <none>
2012-01-27 11:08:27 +01:00
#
##############################################################################
function cleanup() {
2012-02-06 19:51:07 +01:00
echo "Cleanup"
builder_cleanup
}