Commit 8fa54d71 authored by Raphael Defosseux's avatar Raphael Defosseux

Adding dummy warning list

Signed-off-by: Raphael Defosseux's avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 904f2143
Pipeline #10232 passed with stage
in 0 seconds
......@@ -48,7 +48,8 @@ pipeline {
if ("0".equals(res)) {
addGitLabMRComment comment: "All Changed files in Merge Request follow OAI Formatting Rules"
} else {
addGitLabMRComment comment: "Some Changed files in Merge Request DO NOT follow OAI Formatting Rules"
def fileList=readFile('./oai_warning_files_list.txt').trim();
addGitLabMRComment comment: "Some Changed files in Merge Request DO NOT follow OAI Formatting Rules (" + fileList + ")"
}
} else {
echo "Git Branch is ${GIT_BRANCH}"
......
......@@ -3,6 +3,7 @@
if [ $# -eq 0 ]
then
NB_FILES_TO_FORMAT=`astyle --dry-run --options=scripts/astyle-options.txt --recursive *.c *.h | grep -c Formatted `
echo "common/utils/itti/assertions.h openair1/PHY/LTE_UE_TRANSPORT/dlsch_demodulation.c openair1/SCHED_UE/phy_procedures_lte_ue.c openair1/SIMULATION/LTE_PHY/dlsim.c openair1/SIMULATION/LTE_PHY/ulsim.c openair2/ENB_APP/enb_config.c openair2/ENB_APP/flexran_agent_ran_api.c openair2/LAYER2/MAC/eNB_scheduler_phytest.c openair2/LAYER2/RLC/rlc.c openair2/RRC/LTE/rrc_eNB.c openair2/RRC/LTE/rrc_UE.c" > oai_warning_files_list.txt
echo "Nb Files that do NOT follow OAI rules: $NB_FILES_TO_FORMAT"
exit 0
fi
......@@ -38,6 +39,7 @@ then
done
echo "Nb Files that do NOT follow OAI rules: $NB_TO_FORMAT"
echo $NB_TO_FORMAT > ./oai_rules_result.txt
echo "common/utils/itti/assertions.h openair1/PHY/LTE_UE_TRANSPORT/dlsch_demodulation.c openair1/SCHED_UE/phy_procedures_lte_ue.c openair1/SIMULATION/LTE_PHY/dlsim.c openair1/SIMULATION/LTE_PHY/ulsim.c openair2/ENB_APP/enb_config.c openair2/ENB_APP/flexran_agent_ran_api.c openair2/LAYER2/MAC/eNB_scheduler_phytest.c openair2/LAYER2/RLC/rlc.c openair2/RRC/LTE/rrc_eNB.c openair2/RRC/LTE/rrc_UE.c" > oai_warning_files_list.txt
exit 0
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment