Nothing Special   »   [go: up one dir, main page]

0% found this document useful (0 votes)
19 views34 pages

Untitled

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 34

Before executing click-here.sh, navigate to / folder -> right-click on start_eclipse.

sh and select
Leafpad option, to edit the file.

Replace the existing contents with the following lines:

#!/bin/bash

cmd="nohup eclipse -data /root/Desktop/user_repo/Project -import /root/Desktop/workspace"

$cmd &

exit 0
Restart Jenkins by executing the 08_Stop_Jenkins.sh and 05_Start_Jenkins.sh scripts within Utility
folder in /root/Desktop/user_repo
Setup:
Compile:
Static:
UT:
CC:

.
War:
Art:
Snoke:
FAQ:

A list of issues you may run into and how to resolve them:

Plugins are not installing and showing errors

Install newer version of Jenkins as mentioned in Configuration 1 and/or Restart Jenkins from
Desktop folder user_repo > Utility.

Jenkins job is throwing a "JAVA_HOME varaible not set" error

Follow the fourth point in Configuration 2 to set the java and maven variables in Jenkins
Jenkins job is throwing a "pom.xml not found" error

Make sure that the following sequence of task execution is done in every job (except the first):

Copy artifacts from previous job

Execute the maven commands

Deploy option is not available

Make sure the Deploy plugin was uploaded using the Advanced tab. Same goes for any other
option that may not be displayed in the job configurations

Copying artifacts from previous job is throwing an error

Any of the following options can be tried:

Ensure that the previous job exists and is not spelt incorrectly

Try deleting the existing job and creating it once again

Restart Jenkins

SmokeTest job is failing: Deployment failed to tomcat

Any of the following options can be tried:

Make sure that the latest tomcat version was choosen from the dropdown inside the Deploy
war/ear to container task.

Ensure that the credentials used were exactly as given on the table present on the Context |
Configure tools tab.

Check if Tomcat service is running by checking the URL mentioned on the same table.

Eclipse is showing errors under Markers tab before executing maven goals

Ignore those errors and proceed with executing the maven goals as given in the Exercises Tab

You might also like