Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
3f6fe691
Commit
3f6fe691
authored
14 years ago
by
David Kaprielian
Browse files
Options
Downloads
Patches
Plain Diff
Syncing coverity build.sh code with trunk.
parent
1034db63
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build.sh
+10
-11
10 additions, 11 deletions
build.sh
with
10 additions
and
11 deletions
build.sh
+
10
−
11
View file @
3f6fe691
...
@@ -170,13 +170,7 @@ do
...
@@ -170,13 +170,7 @@ do
mkdir
-p
"
$build_dir
"
mkdir
-p
"
$build_dir
"
if
pre_build
"
$variant
"
"
$build_dir
"
>>
"
$build_log
"
2>&1
if
pre_build
"
$variant
"
"
$build_dir
"
>>
"
$build_log
"
2>&1
then
then
if
$build_link_parallel
if
$build_coverity
then
begin_section BuildParallel
(
build
"
$variant
"
"
$build_dir
"
>
"
$build_dir
/build.log"
2>&1
)
&
build_processes
=
"
$build_processes
$!
"
end_section BuildParallel
elif
$build_coverity
then
then
mkdir
-p
"
$build_dir
/cvbuild"
mkdir
-p
"
$build_dir
/cvbuild"
coverity_config
=
`
cygpath
--windows
"
$coverity_dir
/config/coverity_config.xml"
`
coverity_config
=
`
cygpath
--windows
"
$coverity_dir
/config/coverity_config.xml"
`
...
@@ -198,7 +192,6 @@ do
...
@@ -198,7 +192,6 @@ do
begin_section CovAnalyze
\
begin_section CovAnalyze
\
&&
\
&&
\
"
$coverity_dir
"
/bin/cov-analyze
\
"
$coverity_dir
"
/bin/cov-analyze
\
--cxx
\
--security
\
--security
\
--concurrency
\
--concurrency
\
--dir
"
$coverity_tmpdir
"
\
--dir
"
$coverity_tmpdir
"
\
...
@@ -209,14 +202,14 @@ do
...
@@ -209,14 +202,14 @@ do
begin_section CovCommit
\
begin_section CovCommit
\
&&
\
&&
\
"
$coverity_dir
"
/bin/cov-commit-defects
\
"
$coverity_dir
"
/bin/cov-commit-defects
\
--
product
"
$coverity_product
"
\
--
stream
"
$coverity_product
"
\
--dir
"
$coverity_tmpdir
"
\
--dir
"
$coverity_tmpdir
"
\
--
remote
"
$coverity_server
"
\
--
host
"
$coverity_server
"
\
--strip-path
"
$coverity_root
"
\
--strip-path
"
$coverity_root
"
\
--target
"
$branch
/
$arch
"
\
--target
"
$branch
/
$arch
"
\
--version
"
$revision
"
\
--version
"
$revision
"
\
--description
"
$repo
:
$variant
$revision
"
\
--description
"
$repo
:
$variant
$revision
"
\
--user
admin
--password
admin
\
--user
admin
--password
coverity
\
>>
"
$build_log
"
2>&1
\
>>
"
$build_log
"
2>&1
\
||
record_failure
"Coverity Build Failed"
||
record_failure
"Coverity Build Failed"
# since any step could have failed, rely on the enclosing block to close any pending sub-blocks
# since any step could have failed, rely on the enclosing block to close any pending sub-blocks
...
@@ -227,6 +220,12 @@ do
...
@@ -227,6 +220,12 @@ do
then
then
upload_item log
"
$build_dir
"
/cvbuild/build-log.txt text/plain
upload_item log
"
$build_dir
"
/cvbuild/build-log.txt text/plain
fi
fi
elif
$build_link_parallel
then
begin_section BuildParallel
(
build
"
$variant
"
"
$build_dir
"
>
"
$build_dir
/build.log"
2>&1
)
&
build_processes
=
"
$build_processes
$!
"
end_section BuildParallel
else
else
begin_section
"Build
$variant
"
begin_section
"Build
$variant
"
build
"
$variant
"
"
$build_dir
"
>>
"
$build_log
"
2>&1
build
"
$variant
"
"
$build_dir
"
>>
"
$build_log
"
2>&1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment