Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trackrdrd
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
trackrdrd
Commits
e1c0469e
Commit
e1c0469e
authored
Nov 27, 2012
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trackrdrd: bugfixing RPM/Jenkins build -- name the buildroot explicitly
parent
d7a7783e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
build-ci.sh
trackrdrd/build-ci.sh
+11
-1
trackrdrd.spec
trackrdrd/rpmbuild/SPECS/trackrdrd.spec
+2
-1
No files found.
trackrdrd/build-ci.sh
View file @
e1c0469e
...
...
@@ -41,6 +41,7 @@ done
VERSION
=
$(
grep
' VERSION '
$WORKSPACE
/trackrdrd/config.h |
sed
's/^.*"\([^"]*\)".*$/\1/'
)
REVISION
=
$(
git show
-s
--pretty
=
format:%h
)
BUILDPATH
=
$WORKSPACE
/trackrdrd/rpmbuild/BUILDROOT/trackrdrd-
$VERSION
-rev
${
REVISION
}
_build
$BUILD_NUMBER
.
$(
uname
-m
)
DESTDIR
=
$BUILDPATH
make
install
[[
$?
-ne
0
]]
&&
exit
1
...
...
@@ -52,5 +53,14 @@ cp $WORKSPACE/trackrdrd/etc/sample.conf $BUILDPATH/$LHOTSE_TRACKING_PREFIX/etc/
cp
$WORKSPACE
/trackrdrd/etc/trackrdrd
$BUILDPATH
/etc/init.d/
cd
$WORKSPACE
/trackrdrd/rpmbuild
rpmbuild
--define
'_topdir '
$WORKSPACE
/trackrdrd/rpmbuild
--define
'version '
$VERSION
--define
'revision '
$REVISION
--define
'build_number '
$BUILD_NUMBER
--define
'prefix '
$LHOTSE_TRACKING_PREFIX
-bb
SPECS/trackrdrd.spec
rpmbuild
\
--define
'_topdir '
$WORKSPACE
/trackrdrd/rpmbuild
\
--define
'version '
$VERSION
\
--define
'revision '
$REVISION
\
--define
'build_number '
$BUILD_NUMBER
\
--define
'prefix '
$LHOTSE_TRACKING_PREFIX
\
--buildroot
$BUILDPATH
-bb
SPECS/trackrdrd.spec
[[
$?
-ne
0
]]
&&
exit
1
cd
$WORKSPACE
/trackrdrd
make clean
trackrdrd/rpmbuild/SPECS/trackrdrd.spec
View file @
e1c0469e
...
...
@@ -8,7 +8,8 @@ Group: System Environment/Daemons
URL: https://qspa.otto.de/confluence/display/LHOT/C-Implementierung
Packager: LHOTSE Operations <lhotse-ops@dv.otto.de>
#Source0: git@git.lhotse.ov.otto.de:lhotse-tracking-varnish
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
#BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
#BuildRoot: %{_topdir}/BUILDROOT
#BuildRequires: XXX
#Requires: varnish_bestats
#Requires: libactivemq
...
...
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