Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GATB
gatb-core
Commits
208fb393
Commit
208fb393
authored
Feb 12, 2016
by
Guillaume Rizk
Browse files
Merge branch 'master' of
git+ssh://scm.gforge.inria.fr//gitroot/gatb-core/gatb-core
parents
ce734dd8
ed1a24b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
gatb-core/test/jenkins/test-suite-debian7-64bits-gcc-4.7.sh
View file @
208fb393
...
...
@@ -3,9 +3,9 @@
# Continuous integration script for Jenkins #
#--------------------------------------------------------------#
#
# Default mode :
# This script will exit with error (exit code 1) if any of its steps fails.
# To change this behaviour,
launch the script with the DEBUG argument
.
# Default mode :
# This script will exit with error (exit code 1) if any of its steps fails.
# To change this behaviour,
choose DO_NOT_STOP_AT_ERROR in Jenkins (see below)
.
#--------------------------------------------------------------#
set
+xv
echo
"
...
...
@@ -16,12 +16,14 @@ pwd : `pwd`
--------------------------
Jenkins build parameters
--------------------------
GIT_TAG :
$GIT_TAG
DEBUG :
$DEBUG
USER_NAME :
$USER_NAME
BRANCH_TO_BUILD :
${
BRANCH_TO_BUILD
}
RELEASE_TO_BUILD :
${
RELEASE_TO_BUILD
}
INRIA_FORGE_LOGIN :
${
INRIA_FORGE_LOGIN
}
TEST_VARIABLE :
${
TEST_VARIABLE
}
DO_NOT_STOP_AT_ERROR :
${
DO_NOT_STOP_AT_ERROR
}
"
[
"
$D
EBUG
"
!=
"true"
]
&&
{
set
-e
;
}
||
{
echo
"DEBUG mode, the script will NOT stop..."
;
}
[
"
$D
O_NOT_STOP_AT_ERROR
"
!=
"true"
]
&&
{
set
-e
;
}
||
{
echo
"DEBUG mode, the script will NOT stop..."
;
}
set
-xv
################################################################
...
...
@@ -50,14 +52,14 @@ if [ $? -eq 0 ]; then
echo
"Creating a binary archive... "
echo
"N.B. this is NOT an official binary release"
binbundle
=
gatb_binary_
${
GIT_TAG
}
_
"
`
uname
`
"
binbundle
=
gatb_binary_
${
BRANCH_TO_BUILD
}
_
"
`
uname
`
"
mkdir
$binbundle
cp
bin/
*
$binbundle
cp
lib/
*
$binbundle
tar
-zcf
$binbundle
.tgz
$binbundle
scp
$binbundle
.tgz
${
USER_NAME
}
@scm.gforge.inria.fr:/home/groups/gatb-core/htdocs/ci-inria
scp
$binbundle
.tgz
${
INRIA_FORGE_LOGIN
}
@scm.gforge.inria.fr:/home/groups/gatb-core/htdocs/ci-inria
fi
...
...
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