22.8.18

Jenkins Node Configuration for SoapUI/ReadyAPI Project



Soap UI Node Configuration:
To Overcome Jenkins License Not Found issue

Error Log



Please follow the below steps.
Step(i). Create  a new node Specific to the SoapUI jobs.
1.     In Jenkins, go to Manage Jenkins > Manage Nodes > New Node.
2.     Specify the name of the node (LocalSSH ) and select the Permanent Agent mode. Click OK.
3.     To run a particular job on this node, specify a unique label for the node.
4.     Remote root directory : Is the path where we can specify for Jenkins to create a Workspace
5.     In the Launch method drop-down list, select Launch slave agents via SSH.

6.     Specify IP address of the Jenkins server (10.xx.xx.xxx) as a Host.

7.     Credentials: Please Click on ADD and add  the username and password which  used to login to Jenkins and Activate the License.(in this case sdidla user activated the license)

Please follow the below diagram for convenience























Save and make sure the Node is online by launching the


Step(ii) At JOB level (Jenkins>Name of Job> Configure)

1.     Please check the Restrict where this project can be run and in the Label Expression Please add the earlier mentioned Lable i.e. LocalSSH





1.     In the Source Code Management, Please select the appropriate repo and please add Jenkins credentials(the username & password or the user with ssh used by Jenkins to fetch data from GIT)





1.     In the Build Step please add the following


We are giving the path for the testrunner.sh and the path for the Test to be executed.

























11.3.18

How to create a new project code repo in GitLab

Pre-requisites:-

1. Account in GitLab
2. Sourcetree setup on your system
3. Project Code to push into repo

Step for how to create a new project code repo:-

1. Go to Gitlab and create a new project
2. open the source tree and click on the + button just below the top menu, which adds a new tab.
3. once the new tab is opened click on the create"+". Click YES on popup
4. Browse the path and of the folder which you want to checkin and click on the create. you will see all the files
from that folder to be displaying in the bottom pane.
5. Go the windows folder view into the code/framework folder, add a .gitignore file into that folder.
make sure this file don't have extension of text, you can remove the .txt extension by save as option/all files.
6. we can get this .gitignore file content by searching in google, copy and past in the Notepad++ and
save it as .gitignore with out any .txt extension
7. Back to source tree and check the files count displaying, we will see some files removed from the pane,
As we always don't need to checkin all the files .gitignore know what to add and remove to the git repo.
8. Click on the stage all button on top of the bottom pane.files will move to top pane
9. write some comments and click on commit. Now the local repo is created. now we want this repo
to connect to centeral repo
10. Copy the url from the Gitlab project on top the project page.
11. Back to source tree, click on the settings--->Add--->
type Remote name:- origin
url/path:- Past the url copied from Gitlab project from step 10
12. click on the PUSH button to commit the code to remote branch.