gerrit_json_query=".[0].revisions[.[0].current_revision].ref"
gerrit_json_query_status=".[0].status"
-possible_depends_on="lttng-ust|lttng-modules|userspace-rcu"
+possible_depends_on="lttng-ust|lttng-modules|userspace-rcu|babeltrace"
re="Depends-on: (${possible_depends_on}): ([^'$'\n'']*)"
property_file="${WORKSPACE}/gerrit_custom_dependencies.properties"
if [ "$project" = "lttng-modules" ]; then
if [ -d "$WORKSPACE/src/lttng-modules" ]; then
# Remove the regular modules sources to replace them with those
- # from the gerrit change
+ # from the gerrit change
rm -rf "$WORKSPACE/src/lttng-modules"
- else
- # This job does not require modules sources
- continue
- fi
+ fi
fi
# Export the GERRIT_DEP_... into the property file for further jenkins usage