Skip to content

Commit

Permalink
Restrict test to gazebo_libs
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero committed May 21, 2024
1 parent 9dfb41b commit a522c45
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jenkins-scripts/dsl/dsl_checks.bash
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ if [[ -n ${non_github_orgs} ]]; then
exit 1
fi

# Check that whiteListedTargetBranches are non empty
# Check that whiteListedTargetBranches are non empty in all generated gazebo_libs
# see https://github.com/gazebo-tooling/release-tools/pull/1144
empty_branches_on_github_triggered=$(grep '<whiteListTargetBranches></whiteListTargetBranches>' -- *.xml)
# For other jobs the use case is valid since pr can be enabled on all branches
empty_branches_on_github_triggered=$(grep '<whiteListTargetBranches></whiteListTargetBranches>' -- {gz_,sdformat}*{-abichecker-,-pr_any-}*.xml)
if [[ -n ${empty_branches_on_github_triggered} ]]; then
echo "Unexpected whiteListTargetBranches without values. It will trigger all branches:"
echo "${empty_branches_on_github_triggered}"
Expand Down

0 comments on commit a522c45

Please sign in to comment.