Merge "Disable all Oxygen Jobs to save infra resources"
[releng/builder.git] / jjb / autorelease / compare-autorelease-projects.sh
index dfcd933ffccc391683a234c96bd7f67629275135..6f63a660cbf7e36e6149cd768ed5792eca5e9cc7 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -l
 # SPDX-License-Identifier: EPL-1.0
 ##############################################################################
 # Copyright (c) 2018 The Linux Foundation and others.
@@ -15,12 +15,6 @@ echo "---> compare-autorelease-projects.sh"
 # The purpose of this script is to compare list of projects in autorelease
 # are equal to the list of projects in integration/distribution.
 
-# Note: int/dist pom files uses templates only since Oxygen release.
-# Todo: Remove this check after Carbon and Nitrogen EOL
-if [[ $STREAM =~ carbon ]] || [[ $STREAM =~ nitrogen ]]; then
-    exit 0
-fi
-
 mapfile -t PROJECTS_INT_DIST < <(xmlstarlet sel\
      -N "x=http://maven.apache.org/POM/4.0.0"\
      -t -m "/x:project/x:profiles/x:profile[x:activation/x:activeByDefault='true']/x:dependencies/x:dependency/x:groupId"\
@@ -38,7 +32,6 @@ for project in "${PROJECTS_INT_DIST[@]}"; do
     fi
 done
 
-project_int_dist+=("mdsal")
 project_int_dist+=("integration/distribution")
 
 # Get a list of all the projects from releng/autorelease repo