Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
44b64a0a
Commit
44b64a0a
authored
Mar 10, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print only task info to log, do step
parent
88e775f8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
rpmbs
bin/rpmbs
+5
-5
No files found.
bin/rpmbs
View file @
44b64a0a
...
...
@@ -188,8 +188,8 @@ if [ -n "$UPLOADNOW" ] && is_gear $SPECDIR ; then
ssh
$GIRARHOST
build
-b
$BINARYREPO
$BASENAME
$TAG
2>&1 |
tee
$RPMDIR
/uploaded.log.tmp
fi
# FIXME: incorporate
cat
$RPMDIR
/uploaded.log.tmp |
head
-n2
|
tail
-n1
>>
$RPMDIR
/uploaded.log
echo
"run
$TASKNUMBER
task
$BASENAME
with tag
$TAG
at
$GIRARHOST
(in
$BINARYREPO
) at
`
date
"+%c"
`
"
>>
$RPMDIR
/uploaded.log
cat
$RPMDIR
/uploaded.log.tmp |
grep
task |
head
-n2
|
tail
-n1
>>
$RPMDIR
/uploaded.log
echo
"
run
$TASKNUMBER
task
$BASENAME
with tag
$TAG
at
$GIRARHOST
(in
$BINARYREPO
) at
`
date
"+%c"
`
"
>>
$RPMDIR
/uploaded.log
rm
-f
$RPMDIR
/uploaded.log.tmp
exit
fi
...
...
@@ -301,7 +301,7 @@ else
fi
# FIXME: parse and incorporate
cat
$RPMDIR
/uploaded.log.tmp |
head
-n2
|
tail
-n1
>>
$RPMDIR
/uploaded.log
cat
$RPMDIR
/uploaded.log.tmp |
grep
task |
head
-n2
|
tail
-n1
>>
$RPMDIR
/uploaded.log
for
i
in
$LISTBUILT
;
do
# FIXME: more general way
...
...
@@ -309,8 +309,8 @@ for i in $LISTBUILT ; do
echo
>>
$LOGFILE
date
>>
$LOGFILE
echo
"uploaded"
>>
$LOGFILE
TEXTADD
=
"run
$TASKNUMBER
build src.rpm"
[
-z
"
$TASKNUMBER
"
]
||
TEXTADD
=
"add src.rpm to task
$TASKNUMBER
"
TEXTADD
=
"
run
$TASKNUMBER
build src.rpm"
[
-z
"
$TASKNUMBER
"
]
||
TEXTADD
=
"
add src.rpm to task
$TASKNUMBER
"
echo
"
$(
basename
$i
)
$TEXTADD
at
$GIRARHOST
(
$MENV
) at
`
date
"+%c"
`
"
>>
$RPMDIR
/uploaded.log
done
...
...
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