summaryrefslogtreecommitdiffstats
path: root/build/f_isoroot/f_odlpluginbuild
diff options
context:
space:
mode:
Diffstat (limited to 'build/f_isoroot/f_odlpluginbuild')
-rw-r--r--build/f_isoroot/f_odlpluginbuild/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/f_isoroot/f_odlpluginbuild/Makefile b/build/f_isoroot/f_odlpluginbuild/Makefile
index a82d2fb31..024cd4a50 100644
--- a/build/f_isoroot/f_odlpluginbuild/Makefile
+++ b/build/f_isoroot/f_odlpluginbuild/Makefile
@@ -38,6 +38,9 @@ release:.odlbuild
$(REPOINFO) -r . > gitinfo_odlplugin.txt
rm -rf fuel-plugin-opendaylight
touch .odlbuild
+ # Store artifact in cache straight away if caching is enabled
+ # (no .cacheid will be present unless this is a cached build)
+ test -f .cacheid && $(MAKE) -f Makefile put-cache || exit 0
#############################################################################
# Cache operations - only used when building through ci/build.sh