To fix lf-install.sh issue
Change-Id: I9ab7ac434550cd5ed5993b20d2491677871c2cbf
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2d8c2ba
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,23 @@
+# Makefile for testing JJB jobs in a virtualenv
+
+.PHONY: test clean
+
+VENV_DIR ?= venv-jjb
+JJB_VERSION ?= 2.0.3
+JOBCONFIG_DIR ?= job-configs
+
+$(VENV_DIR):
+ @echo "Setting up virtualenv for JJB testing"
+ virtualenv $@
+ $@/bin/pip install jenkins-job-builder==$(JJB_VERSION) pipdeptree
+
+$(JOBCONFIG_DIR):
+ mkdir $@
+
+test: $(VENV_DIR) $(JOBCONFIG_DIR)
+ source $(VENV_DIR)/bin/activate ; \
+ pipdeptree ; \
+ jenkins-jobs -l DEBUG test --recursive -o $(JOBCONFIG_DIR) jjb/ ;
+
+clean:
+ rm -rf $(VENV_DIR) $(JOBCONFIG_DIR)
diff --git a/jjb/ci-management/ci-management.yaml b/jjb/ci-management/ci-management.yaml
index 2917fab..f0357ad 100644
--- a/jjb/ci-management/ci-management.yaml
+++ b/jjb/ci-management/ci-management.yaml
@@ -18,4 +18,4 @@
project: 'ci-management'
project-name: 'ci-management'
- jjb-version: 2.0.0.0b2
+ jjb-version: 2.0.3
diff --git a/jjb/global-jjb b/jjb/global-jjb
index 98512a2..ad0ee7c 160000
--- a/jjb/global-jjb
+++ b/jjb/global-jjb
@@ -1 +1 @@
-Subproject commit 98512a2a3e4aacecc5834f4d3b51d8c5333045ff
+Subproject commit ad0ee7c792b24345f2b419b3418bd84eac0f6ac1