Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
1f6ca48a
Commit
1f6ca48a
authored
10 years ago
by
Emmanuel Milou
Committed by
Tristan Matthews
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
jenkins: fix build tools patching system
Refs #51822 Change-Id: I51b46628f101cdb4bef8fcae4ba947923cc97f22
parent
8f0d87f2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/build-system/launch-build-machine-jenkins.sh
+17
-17
17 additions, 17 deletions
tools/build-system/launch-build-machine-jenkins.sh
with
17 additions
and
17 deletions
tools/build-system/launch-build-machine-jenkins.sh
+
17
−
17
View file @
1f6ca48a
...
...
@@ -152,20 +152,6 @@ else
PREVIOUS_VERSION
=
${
PREVIOUS_RELEASE_TAG_NAME
}
fi
# If release, checkout the latest tag
if
[
${
IS_RELEASE
}
]
;
then
git checkout
${
CURRENT_RELEASE_TAG_NAME
}
# When we need to apply an emergency patch for the release builds
# This should only be used to temporarily patch packaging tools, not
# daemon/client code (or anything else that build_tarball would grab).
if
[
-d
/tmp/sflphone_release_patch
]
;
then
echo
"Applying patch(es) to packaging tools..."
git apply /tmp/sflphone_release_patch/
*
rm
-rf
/tmp/sflphone_release_patch
REQUIRE_RESET
=
1
fi
fi
echo
"Retrieve build info"
# retrieve info we may need
...
...
@@ -196,6 +182,22 @@ VERSION="${SOFTWARE_VERSION}~ppa${VERSION_INDEX}~SYSTEM"
echo
"Clean build directory"
git clean
-f
-x
${
LAUNCHPAD_DIR
}
/
*
>
/dev/null
git checkout
${
LAUNCHPAD_DIR
}
# If release, checkout the latest tag
if
[
${
IS_RELEASE
}
]
;
then
git checkout
${
CURRENT_RELEASE_TAG_NAME
}
# When we need to apply an emergency patch for the release builds
# This should only be used to temporarily patch packaging tools, not
# daemon/client code (or anything else that build_tarball would grab).
if
[
-d
/tmp/sflphone_release_patch
]
;
then
echo
"Applying patch(es) to packaging tools..."
git apply
--verbose
/tmp/sflphone_release_patch/
*
rm
-rf
/tmp/sflphone_release_patch
REQUIRE_RESET
=
1
fi
fi
get_dir_name
()
{
case
$1
in
...
...
@@ -223,6 +225,7 @@ get_dir_name() {
esac
}
# Looping over the packages
for
LAUNCHPAD_PACKAGE
in
${
LAUNCHPAD_PACKAGES
[*]
}
do
echo
" Package:
${
LAUNCHPAD_PACKAGE
}
"
...
...
@@ -232,9 +235,6 @@ do
DEBIAN_DIR
=
"
${
LAUNCHPAD_DIR
}
/
${
LAUNCHPAD_PACKAGE
}
/debian"
echo
" --> Clean debian directory"
git checkout
${
DEBIAN_DIR
}
echo
" --> Retrieve new sources"
DIRNAME
=
`
get_dir_name
${
LAUNCHPAD_PACKAGE
}
`
cp
-r
${
REFERENCE_REPOSITORY
}
/
${
DIRNAME
}
/
*
${
LAUNCHPAD_DIR
}
/
${
LAUNCHPAD_PACKAGE
}
...
...
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