Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I52b2c9f8bcc56f69d6479b85dc6210665e27b26b
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
|
|
Exit if script is run from the wrong directory
Change-Id: I693ab65b4439c5b4d3b609e95295fa43e8cd3a58
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
|
|
A normal user doesn't have a right to read /etc/sudoers, so current
script won't work if executed by non-root users.
This patch replacing the check by geeting config from 'sudo -l'
command.
Change-Id: I608edabb73761cea0f6199045f1cde2217a34bf3
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
if tty is requried monit fails, this will alert the user of this issue
if the wget takes to long monit panics and restart the process
Change-Id: Idf40a6150d1c87ec1b4b6652ace85680c6edb4fc
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
|
|
esp for heading spaces and if/else/fi
JIRA:RELENG-113
Change-Id: I9009cfec71be653e1009d8d59aec2f27d7206a8d
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
|
|
The jenkins-jnlp-connect.sh script will check whether a monit
configuration file for jenkins exists. If it does, it will make sure the
contents are correct according to the paramters provided in the command
line. The check is made diffing the contents of the file with what is
expected by the script. However the script compares the contents of the
file against a string that is not exactly the same to what would be
written to the file by the script, resulting in the check always
failing, and the file being rewritten unnecessarily every time.
Change-Id: I0b15195e9d667c11898942c92b39ef3fb053821d
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
|
|
Change-Id: Iee61343d1ce838e4a2ff25a664b069f4278c5b78
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
|
|
Instead of finding out the Linux distribution of the host, try
whether one of the well known monit configuration directories exist,
and use that.
Change-Id: Ibb111661fb3a6ef8e4b4ef559b9a1d56599d59c8
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
|
|
License headers are added.
- Set company name based on the author who created the file first time
- Add SPDX header for Apache 2.0
Change-Id: I8f357a2d6f75179171c681f4b53e0f4249eca5a2
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
|
|
Change-Id: Ib5e317f17f3ba2eef3c4f0948739f83a13968c6a
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
|
|
JIRA: RELENG-53
Change-Id: Id19f748e125eb8c439560b42de4f5e1ab8e9553f
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
|
|
Make sure that java connection runs in foregrond if script is run in test mode
Make sure slave.jar is owned by jenkinsuser so that it can be updated
Change-Id: I919eaf841569f1540f2a3f026f4a87064bda1b45
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
|
|
added optargs
added test mode to test connection without monit
Creates and/or updates monit config
Updates slave.jar before each connection
Monit will restart slave connection if it drops.
detects distro
can generate a help desk email template if firewall not open
JIRA: RELENG-42
Change-Id: I237eda32ac59a57202811bc1d0c7ce29010ac71d
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
|