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
35622d4e
Commit
35622d4e
authored
Feb 03, 2016
by
Charles Deltel
Browse files
[ci] update Jenkins script
parent
324021c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
gatb-core/test/jenkins/test-suite-debian7-64bits-gcc-4.7.sh
View file @
35622d4e
...
...
@@ -7,22 +7,23 @@
# 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.
#--------------------------------------------------------------#
[
"
$DEBUG
"
!=
"true"
]
&&
{
set
-e
;
}
||
{
echo
"DEBUG mode, the script will NOT stop..."
;
}
set
-xv
date
hostname
pwd
set
+xv
echo
"
date :
`
date
`
hostname :
`
hostname
`
pwd :
`
pwd
`
--------------------------
Jenkins build parameters
--------------------------
GIT_TAG :
$GIT_TAG
DEBUG :
$DEBUG
GIT_TAG :
$GIT_TAG
DEBUG :
$DEBUG
USER_NAME :
$USER_NAME
"
[
"
$DEBUG
"
!=
"true"
]
&&
{
set
-e
;
}
||
{
echo
"DEBUG mode, the script will NOT stop..."
;
}
set
-xv
################################################################
# COMPILATION #
################################################################
...
...
@@ -43,7 +44,22 @@ cd $BUILD_DIR
cmake
-Wno-dev
$GIT_DIR
make
make
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
`
"
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
fi
################################################################
# UNIT TESTS #
...
...
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