makefiles/include.mk
makefiles/git-submodules.mk
makefiles/lint/jjb.mk
makefiles/virtualenv.mk
---------------------------
o Update lint-venv to depend on venv activate and git submodules.
o Added a named target for git submodule checkout.
jjb/voltha-scale.yaml
---------------------
o Cleanup lint errors -- duplicate v2.11 job declarations.
Change-Id: I3f63a9b6be8d0c754ea3a56488d6d9ad7dc57291
diff --git a/makefiles/lint/jjb.mk b/makefiles/lint/jjb.mk
index c85b8b9..ccfa073 100644
--- a/makefiles/lint/jjb.mk
+++ b/makefiles/lint/jjb.mk
@@ -18,6 +18,7 @@
##-------------------##
##---] GLOBALS [---##
##-------------------##
+.PHONY: lint-venv
##-------------------##
##---] TARGETS [---##
@@ -42,15 +43,18 @@
lint-jjb-args += --config-xml# # JJB v3.0 write to OUTPUT/jobname/config.xml
lint-jjb-args += jjb/# # JJB config sources (input)
-lint-jjb:
- jenkins-jobs $(lint-jjb-args)
+lint-jjb-deps := $(null)
+lint-jjb-deps += $(venv-activate-script)
+lint-jjb-deps += checkout-ci-management-sub-modules
+lint-jjb: $(lint-jjb-deps)
+ $(activate) && { jenkins-jobs $(lint-jjb-args); }
## -----------------------------------------------------------------------
## -----------------------------------------------------------------------
help ::
@echo ' lint-jjb Validate jjb job generation'
ifdef VERBOSE
- @echo '1 DEBUG=1 lint-jjb --log_level=DEBUG'
+ @echo ' DEBUG=1 lint-jjb --log_level=DEBUG'
endif
# [EOF]