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
itminedu
synnefo
Commits
2024fc70
Commit
2024fc70
authored
Apr 11, 2011
by
Georgios Gousios
Browse files
Corrections when installing CI on new Debian
parent
a34ca690
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.ci
View file @
2024fc70
...
...
@@ -2,7 +2,7 @@ Continuous integration with Jenkins
-----------------------------------
The following instructions will setup Jenkins to run synnefo tests with
the SQLite database. To run the tests on MySQL and/or Postgres, step
4
the SQLite database. To run the tests on MySQL and/or Postgres, step
5
must be replicated. Also, the correct configuration file must be copied
(line 5 of the build script).
...
...
@@ -13,6 +13,12 @@ must be replicated. Also, the correct configuration file must be copied
sudo apt-get update
sudo apt-get install jenkins
Also install the following packages:
apt-get install python-virtualenv libcurl3-gnutls libcurl3-gnutls-dev
uuid-dev libmysqlclient-dev libpq-dev libsqlite-dev
python-dev
2. After Jenkins starts, go to
http://$HOST:8080/pluginManager/
...
...
@@ -25,10 +31,15 @@ must be replicated. Also, the correct configuration file must be copied
-Jenkins SLOCCount Plug-in
-Hudson/Jenkins Violations plugin
3. Make sure that all system-level dependencies specified in README.develop
3. Configure the Jenkins user's Git details:
su jenkins
git config --global user.email "buildbot@lists.grnet.gr"
git config --global user.name "Buildbot"
4. Make sure that all system-level dependencies specified in README.develop
are correctly installed
4
. Create a new "free-style software" job and set the following values:
5
. Create a new "free-style software" job and set the following values:
-Project name: synnefo
-Source Code Management: Git
...
...
@@ -43,7 +54,7 @@ must be replicated. Also, the correct configuration file must be copied
URL: https://code.grnet.gr/projects/synnefo/repository/
-Build Triggers->Poll SCM: check
Schedule: # every ten minutes
1
0 * * * *
0,10,20,30,40,5
0 * * * *
-Build -> Add build step-> Execute shell
...
...
@@ -51,6 +62,7 @@ Command:
#!/bin/bash -ex
cd synnefo
mkdir -p reports
/usr/bin/sloccount --duplicates --wide --details api util ui logic auth > reports/sloccount.sc
cp conf/ci/manage.py .
if [ ! -e requirements.pip ]; then cp conf/ci/pip-1.2.conf requirements.pip; 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