File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -212,13 +212,8 @@ pipeline {
212212 script {
213213 try {
214214 COMMIT_AUTHOR_EMAIL = sh (returnStdout: true, script: "git --no-pager show -s --format='%ae'").trim();
215- if ( env.BRANCH_NAME == "master" ) {
216- echo("Main development branch: report to stakeholders and commit author.");
217- EMAIL_TO="$COMMIT_AUTHOR_EMAIL, \$DEFAULT_RECIPIENTS";
218- } else {
219- echo("Feature development branch: report only to commit author.");
220- EMAIL_TO="$COMMIT_AUTHOR_EMAIL";
221- }
215+ echo("Nightly run: report to stakeholders and commit author.");
216+ EMAIL_TO="$COMMIT_AUTHOR_EMAIL, \$DEFAULT_RECIPIENTS";
222217 } catch (Exception e) {
223218 echo "Exception occurred: " + e.toString();
224219 EMAIL_TO="\$DEFAULT_RECIPIENTS";
You can’t perform that action at this time.
0 commit comments