Code

source: openvpn.manager/builder-targets-cb.sh @ 822551

Revision 822551, 963 bytes checked in by geos_one, 7 years ago (diff)

Intial Commit

  • Property mode set to 100644
Line 
1##############################################################################
2# This optional file "builder-targets-cb.sh" will be called by builder.sh
3#
4# The targets will be called from thde opsi-builder using the following
5# order: config, prepare, retrieve, create, package, publish, commit, cleanup
6# You can overwrite the target functions in builder-targets-cb.sh
7#
8# You can define callback functions. The functions are called from
9# opsi-builder within processing a target
10#   cb_package_makeproductfile
11#
12# You can use every variable defined in any configuration file or by
13# the defined builder script itself. Also, calling the predefined
14# targets builder_<targetname> is possible.
15#
16# Abstract:
17#  target order: config, prepare, retrieve, create, package, publish, commit, cleanup
18#  callbacks: <none>
19#
20##############################################################################
21
22function cleanup() {
23    echo "Cleanup"
24    builder_cleanup
25}
Note: See TracBrowser for help on using the repository browser.