Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
4ee42179
Commit
4ee42179
authored
15 years ago
by
kohleman
Browse files
Options
Downloads
Patches
Plain Diff
modified to be more robust
SVN: 14400
parent
84136d3e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openbis_all/source/bash/cifex_sprint_install.sh
+13
-16
13 additions, 16 deletions
openbis_all/source/bash/cifex_sprint_install.sh
with
13 additions
and
16 deletions
openbis_all/source/bash/cifex_sprint_install.sh
+
13
−
16
View file @
4ee42179
# This is a very simple version of the script which installs the cifex
# This is a very simple version of the script which installs the cifex
# You have to change the INSTALL_URL, PREV and NEW variables by yourself!
PREV
=
cifex-S
NAPSHOT-S68
PREV
=
cifex-S
72
NEW
=
cifex-
S68
NEW
=
cifex-
$1
INSTALL
_URL
=
http://cisd-ci.ethz.ch:8090/cruisecontrol/artifacts/cifex/20091111140651/cifex-SNAPSHOT-r13316.zip
OLD_
INSTALL
=
~/old/
$PREV
/jetty
test
-d
$PREV
||
echo
Directory
$PREV
does not exist!
test
-d
$PREV
||
echo
Directory
$PREV
does not exist!
test
-d
$PREV
||
exit
1
test
-d
$PREV
||
exit
1
un
alias cp
alias cp
=
'cp'
un
alias rm
alias rm
=
'rm'
./
cifex
/jetty/bin/shutdown.sh
./
$PREV
/jetty/bin/shutdown.sh
mv
cifex-
*
old/
mv
$PREV
old/
rm
-f
cifex
rm
-f
cifex
mkdir
$NEW
mkdir
$NEW
ln
-s
$NEW
cifex
ln
-s
$NEW
cifex
cd
cifex
cd
cifex
wget
$INSTALL_URL
unzip
cifex
-
*
.zip
mv
../
cifex
*
.zip
.
OLD_INSTALL
=
~/old/
$PREV
/jetty
unzip cifex
*
.zip
cd
cifex
cd
cifex
cp
$OLD_INSTALL
/
etc/service.properties
.
cp
$OLD_INSTALL
/
work/webapp/WEB-INF/classes/service.properties ~/cifex/jetty/work/webapp/WEB-INF/classes/service.properties
cp
$OLD_INSTALL
/etc/keystore
.
cp
$OLD_INSTALL
/etc/keystore
.
cp
$OLD_INSTALL
/etc/jetty.xml
.
cp
$OLD_INSTALL
/etc/jetty.xml
.
./install.sh ..
./install.sh ..
cd
../jetty
cd
../jetty
cp
$OLD_INSTALL
/
etc
/jetty.properties
etc/
cp
$OLD_INSTALL
/
bin
/jetty.properties
~/cifex/jetty/bin/jetty.properties
cp
$OLD_INSTALL
/etc/triggers.txt
etc/
cp
$OLD_INSTALL
/etc/triggers.txt
~/cifex/jetty/etc/triggers.txt
cp
$OLD_INSTALL
/dssTrigger.properties
.
cp
$OLD_INSTALL
/dssTrigger.properties
~/cifex/jetty/
cd
..
cd
..
rm
-fr
cifex
rm
-fr
cifex
...
...
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