-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incorporate CRON expression settings in release manager checklist (#3887
) * Updates scripts and contributing guide to set CRON * Ticket label can be assigned directly on the ticket creation
- Loading branch information
Showing
10 changed files
with
53 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
#!/bin/bash | ||
|
||
HERE="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
|
||
if [[ $# -ne 2 ]]; then | ||
echo "Error: This script requires exactly two arguments." | ||
echo "./bom-line-test.sh <LINE> <comma separated list of plugins>" | ||
exit 1 | ||
fi | ||
|
||
LINE=$1 PLUGINS=$2 TEST=InjectedTest bash ../local-test.sh | ||
LINE=$1 PLUGINS=$2 TEST=InjectedTest bash ${HERE}/../local-test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
release-manager-scripts/bom-release-issue-add-release-comment.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
#!/bin/bash | ||
|
||
HERE="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
|
||
releaseName=$(gh release list --limit 1 --json isLatest,name --jq ".[] | select (.isLatest == true) | .name" --exclude-drafts --exclude-pre-releases --repo jenkinsci/bom) | ||
issueNumber=$(gh issue list --limit 1 --state open --label release --json number --jq=".[].number" --repo jenkinsci/bom) | ||
gh issue comment $issueNumber --body "New release: [https://github.com/jenkinsci/bom/releases/tag/$releaseName](https://github.com/jenkinsci/bom/releases/tag/$releaseName)" --repo jenkinsci/bom | ||
./bom-release-issue-complete-task.sh 8 | ||
${HERE}/bom-release-issue-complete-task.sh 9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
#!/bin/bash | ||
|
||
./bom-release-issue-complete-task.sh 11 | ||
HERE="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
|
||
${HERE}/bom-release-issue-complete-task.sh 12 | ||
issueNumber=$(gh issue list --limit 1 --state open --label release --json number --jq=".[].number" --repo jenkinsci/bom) | ||
gh issue unpin $issueNumber --repo jenkinsci/bom | ||
gh issue close $issueNumber --repo jenkinsci/bom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
#!/bin/bash | ||
|
||
HERE="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
|
||
gh workflow run cd.yaml --ref master --repo jenkinsci/bom | ||
./bom-release-issue-complete-task.sh 6 | ||
${HERE}/bom-release-issue-complete-task.sh 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
#!/bin/bash | ||
|
||
HERE="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
|
||
if [[ $# -ne 1 ]]; then | ||
echo "Error: This script requires exactly one argument." | ||
echo "./bom-test-all-lines.sh <comma separated list of plugins>" | ||
exit 1 | ||
fi | ||
|
||
./bom-line-test.sh weekly $1 | ||
./bom-line-test.sh 2.479.x $1 | ||
./bom-line-test.sh 2.462.x $1 | ||
./bom-line-test.sh 2.452.x $1 | ||
${HERE}/bom-line-test.sh weekly $1 | ||
${HERE}/bom-line-test.sh 2.479.x $1 | ||
${HERE}/bom-line-test.sh 2.462.x $1 | ||
${HERE}/bom-line-test.sh 2.452.x $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters