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
919bea56
Commit
919bea56
authored
10 years ago
by
Oz Linden
Browse files
Options
Downloads
Patches
Plain Diff
rearrange upload of autobuild metadata in hopes of making it reliable
parent
1c526c8d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
build.sh
+21
-22
21 additions, 22 deletions
build.sh
with
21 additions
and
22 deletions
build.sh
+
21
−
22
View file @
919bea56
...
@@ -177,25 +177,6 @@ build()
...
@@ -177,25 +177,6 @@ build()
}
}
# This is called from the branch independent script upon completion of all platform builds.
# This is called from the branch independent script upon completion of all platform builds.
build_docs
()
{
begin_section
"Building Documentation"
begin_section
"Autobuild metadata
$(
pwd
)
"
if
[
-r
"
$build_dir
/autobuild-package.xml"
]
then
upload_item docs
"
$build_dir
/autobuild-package.xml"
text/xml
else
record_event
"no metadata at '
$build_dir
/autobuild-package.xml'"
fi
end_section
"Autobuild metadata"
if
[
"
$arch
"
!=
"Linux"
]
then
record_dependencies_graph
# defined in build.sh
else
echo
"TBD - skipping linux graph (probable python version dependency)"
1>&2
fi
end_section
"Building Documentation"
}
# Check to see if we were invoked from the wrapper, if not, re-exec ourselves from there
# Check to see if we were invoked from the wrapper, if not, re-exec ourselves from there
...
@@ -265,17 +246,35 @@ do
...
@@ -265,17 +246,35 @@ do
build
"
$variant
"
"
$build_dir
"
2>&1 |
tee
-a
"
$build_log
"
|
sed
-n
's/^ *\(##teamcity.*\)/\1/p'
build
"
$variant
"
"
$build_dir
"
2>&1 |
tee
-a
"
$build_log
"
|
sed
-n
's/^ *\(##teamcity.*\)/\1/p'
if
`
cat
"
$build_dir
/build_ok"
`
if
`
cat
"
$build_dir
/build_ok"
`
then
then
echo
"so far so good"
>>
"
$build_log
"
if
[
"
$variant
"
==
"Release"
]
then
if
[
-r
"
$build_dir
/autobuild-package.xml"
]
then
begin_section
"Autobuild metadata"
record_event
"Upload autobuild metadata"
upload_item docs
"
$build_dir
/autobuild-package.xml"
text/xml
if
[
"
$arch
"
!=
"Linux"
]
then
record_dependencies_graph
# defined in buildscripts/hg/bin/build.sh
else
record_event
"no dependency graph for linux (probable python version dependency)"
1>&2
fi
end_section
"Autobuild metadata"
else
record_event
"no autobuild metadata at '
$build_dir
/autobuild-package.xml'"
fi
else
record_event
"do not record autobuild metadata for
$variant
"
fi
else
else
record_failure
"Build of
\"
$variant
\"
failed."
record_failure
"Build of
\"
$variant
\"
failed."
fi
fi
end_section
"Build
$variant
"
end_section
"Build
$variant
"
fi
fi
end_section
"Do
$variant
"
end_section
"Do
$variant
"
done
done
build_docs
# build debian package
# build debian package
if
[
"
$arch
"
==
"Linux"
]
if
[
"
$arch
"
==
"Linux"
]
then
then
...
...
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