You are on page 1of 2

.

cshrc file backup (this will work for sankey and not for sbxdell3)

/bin/tcsh
setenv PATH /sonus/p4/bin:$PATH
setenv P4PORT ssl:perforceindev1:7667
setenv P4CONFIG .p4config

p4 login -a
(windows password)

p4 trust

/sonus/p4/bin/mkws (to create workspace)

/sonus/p4/bin/workon <view name>

> cd $EMS_ROOT

-------------------------------------

Java code style


--------------------
/sonus/p4/bin/doastyle

Delete perforce view

p4 client -d jklotzbach.blr.cloud2
cd /sonus/p4/ws/jklotzbach
rm -rf cloud2

p4 clients | grep sbmishra

Check in process from commandline


---------------------------
Step 1 (File Checkout)
p4 edit [FILE_NAME]

Step 2 : Modify the file

Step 3 :

p4 change
Modify the description and save the file
An change Id would be generated for e.g. 2353

Step 4 :
p4 fix -c 2353 INS-24754
Map the change ID to the JIRA id (job no)

Step 5 :
ccollab addchangelist new 2353
Enter URL : http://smartbear/
Enter Windows password
You will get a review Id, for e.g. 245

Step 6 : Open the review to assign reviewers


http://smartbear/ui#review:id=245
Use your windows credentials

Step 7: Attach change Id to review Id


ccollab addchangelist 245 2353

Step 9:
Reviewer has to approve or else it won’t allow to checkin

Step 8 : Check in
p4 submit -c 2353

You might also like