Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
f87d9efd
Commit
f87d9efd
authored
Sep 23, 2014
by
Han Su Kim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change to grep -F
parent
ff120692
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
util/jenkins/get-rc-branches.sh
+2
-2
No files found.
util/jenkins/get-rc-branches.sh
View file @
f87d9efd
...
...
@@ -7,7 +7,7 @@ usage() {
This will clone a repo and look for release
candidate branches that will be returned as
a sorted list in json to be
a sorted list in json to be
parsed by the dynamic choice jenkins plugin
Usage:
$prog
...
...
@@ -62,7 +62,7 @@ fi
$noop
cd
"/var/tmp/
$repo_basename
"
if
[[
-z
$noop
]]
;
then
for
branch
in
$(
git branch
-a
| sort
-r
| tr
-d
' '
|
grep
-
P
"
$filter
"
)
;
do
for
branch
in
$(
git branch
-a
| sort
-r
| tr
-d
' '
|
grep
-
F
"
$filter
"
)
;
do
echo
"origin/
${
branch
}
"
done
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment