-
Notifications
You must be signed in to change notification settings - Fork 0
Jenkins Jagger Easy Deploy
This section describes how to deploy Jagger via Jagger Easy Deploy
build step.
After that you can see blank build step view.
Determine path to zip file of Jagger Test Suite.
Determine path to properties file. Jagger Nodes MASTER, KERNEL, COORDINATION_SERVER will start with that properties file.
$./start.sh environment.properties
Not filled field means that default properties will be used.
$./start.sh configuration/basic/default.environment.properties
Note! start point to determine path is {JAGGER_HOME} - "runned_jagger"
Additional Environment Properties
can be determined. Some configuration properties could be overwritten here.
KEY=VALUE structure
Each property would be added to start command start.sh
/start_agent.sh
via java option -D
:
start.sh environment.properties.file
-Dchassis.master.session.configuration.bean.name=my_configuration
-Dany.other.property=that.will.pass.to.jagger
To use external database
-
check 'Use External Data Base' mark.
-
specify
Rdb Client Url
,User Name
,User Password
Actually
Rdb Driver
,Rdb Dialect
could be changed.
Unchecked mark means that H2 database will be deployed on Master Node.
Necessarily exist in configuration.
Master Node - Jagger Node with MASTER, COORDINATION_SERVER, HTTP_COORDINATION_SERVER permanent roles.
If external data base is not pointed, RDB_SERVER role will be added to permanent roles. If no Kernel specified , KERNEL role will be added to permanent roles.
-
Address
- required - address of server where Jagger will deploy. -
User Name
- required - name of user that uses in ssh connection. -
Ssh Key Path
- key path that uses in ssh connection via '-i' option. If this field is not defined ssh command will execute without '-i' option. -
Java Options
- options of jvm that starts Jagger. (Change default heap size for example). -
Set JAVA_HOME
- JAVA_HOME can be defined for launching Jagger.
Optional.
Kernel - Jagger Node with KERNEL role
To add KERNEL just click Add
in 'Kernels' section.
Kernel has the same options as Master.
To delete current Kernel Delete
button presented.
Optional.
To add AGENT just click Add
button in 'Agent installation' section.
Agent has the same options as Master pluss additional Use JMX
option.
-
Use JMX
option enables to monitor jmx services. Define ports splitted with comas that should be monitored on concrete server.
To delete current Agent Delete
button presented.
Environment properties of jenkins can be used. For example :
It could be applied to every field.
To use not default ports for
- H2 database
- Coordination Server port
- Http Server on Master
Do not forget to point appropriate properties in Additional Properties
.
For instance default http port - 8089. We want to use another 8099. Should be defined
- chassis.coordination.http.port=8099 in
Additional Properties
or in Environment Properties file. - chassis.coordination.http.url=http://{master-server-address}:8099 in additional properties.
More about configuration properties
How easy deploy plug-in actually works