VOL-5156 - Disable job build_flex-ocp-cord_TP_TT_voltha*
jjb/voltha-test/voltha-release-jobs/master.yaml
jjb/voltha-test/voltha-release-jobs/voltha-2.11.yaml
jjb/voltha-test/voltha-release-jobs/voltha-2.12.yaml
jjb/voltha-test/voltha.yaml
makefiles/jjb/targets.mk
----------------------------------------------------
o Refactor voltha.yaml into configs named for release branches.
o Disable jobs hanging on 'qa-testvm-pod'
Change-Id: I3d497aa05fd31db3acfe97bcc645b28ff76b9c0c
diff --git a/makefiles/jjb/targets.mk b/makefiles/jjb/targets.mk
index 889eceb..9778337 100644
--- a/makefiles/jjb/targets.mk
+++ b/makefiles/jjb/targets.mk
@@ -23,6 +23,7 @@
##---] GLOBALS [---##
##-------------------##
jjb-gen-dir := build
+# JJB_DEBUG := true
##-------------------##
##---] TARGETS [---##
@@ -34,14 +35,18 @@
## -----------------------------------------------------------------------
.PHONY: jjb-gen
+jjb-gen-args := $(null)
+$(if $(JJB_DEBUG),$(eval jjb-gen-args += --log_level DEBUG))
+
jjb-gen-log := $(jjb-gen-dir)/jjb-gen.log
jjb-gen: $(venv-activate-script)
+
$(call banner-enter,Target $@)
@mkdir -p $(jjb-gen-dir)
@touch "$(jjb-gen-dir)/.sentinel"
( \
$(activate) \
- && jenkins-jobs test $(PWD)/jjb -o $(jjb-gen-dir) 3>&1 2>&1 \
+ && jenkins-jobs $(jjb-gen-args) test $(PWD)/jjb -o $(jjb-gen-dir) 3>&1 2>&1 \
) | tee "$(jjb-gen-log)"
ifdef LOGS