Switch from java-builder to new builder systems
[releng/builder.git] / jjb / integration / multipatch-distribution.sh
index fde2a3dde4138f26bb04a33302c9c6a78d58738c..f5711aedd1090be38e1b8c63f3cef553ad9e8c58 100644 (file)
@@ -30,6 +30,10 @@ export EMAIL="sandbox@jenkins.opendaylight.org"
 export GIT_COMMITTER_NAME="Multipatch Job"
 
 # TODO: Is "patches" still the correct word?
+if [ -n "$GERRIT_EVENT_COMMENT_TEXT" ]; then
+    PATCHES_TO_BUILD=$(echo "$GERRIT_EVENT_COMMENT_TEXT" \
+        | grep 'multipatch-build:' | awk -F: '{print $2}')
+fi
 IFS=',' read -ra PATCHES <<< "${PATCHES_TO_BUILD}"
 
 # For each patch: