This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
joid:ci_integration [2016/01/26 14:10] David Blaisonneau [Run CI deploy script without jenkins] |
joid:ci_integration [2016/01/26 14:21] (current) David Blaisonneau [Jenkins defaults] |
||
---|---|---|---|
Line 37: | Line 37: | ||
# Git URL to use on this Jenkins Slave | # Git URL to use on this Jenkins Slave | ||
export GIT_BASE=https://gerrit.opnfv.org/gerrit/$PROJECT | export GIT_BASE=https://gerrit.opnfv.org/gerrit/$PROJECT | ||
+ | |||
+ | # Project Name | ||
+ | export PROJECT=joid | ||
+ | |||
+ | # Place of jenkins workspace | ||
+ | export WORKSPACE=$HOME/workspace/joid-deploy-<scenario>/ | ||
+ | # in case of local script testing | ||
+ | export WORKSPACE=$HOME/joid/ | ||
+ | |||
</code> | </code> | ||
+ | |||
+ | |||
====Projects default==== | ====Projects default==== | ||
Line 116: | Line 127: | ||
chmod +x joid-deploy.sh</code> | chmod +x joid-deploy.sh</code> | ||
* Run the script | * Run the script | ||
- | <code>sudo ./joid-deploy.sh</code> | + | <code>./joid-deploy.sh</code> |
==== Add my pod deployed by jenkins ==== | ==== Add my pod deployed by jenkins ==== |