Hi,
I'm experiencing two issues using the Jenkins ClearCase plugin. It does not detect changes in the VOB and it continually triggers a build when the config spec specified in Jenkins does not match the config spec defined for the current View in ClearCase. See details below. Thanks in
advance for your help!!
Phil
Jenkins 1.5.10
Jenkins-Clearcase Plugin 1.5
Windows 7
When
Config spec field under Project->Configure->Soucre Code
Managermen matches the config spec of the View Tag, the SCM Poll does
not trigger a build, but when config spec of the View Tag does not match
the Jenkins Project's config spec, a build is triggered each time the
poll runs. See Base ClearCase Polling Logs below.
The other issue
is that changes to the ClearCase VOB are not being detected and/or
build not triggered. If I enter the command found in the log (below), at
the cleartool command line, it shows the files that were modified.
lshistory
-all -since 19-may-14.00:21:25utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\"
\"%Vn\" \"%e\" \"%o\" \n%c\n' -branch brtype:dev3.0 -nco
M:\plord_HnwTester_working_
view\wint_hat\Source\Test_Automation\HNW_Tester_EclipseWorkspace\HNWTester\src\com\harris\hnw\tester
When CONFIG SPECS DON"T MATCH
-----------------------------
Base ClearCase Polling Log
Started on May 18, 2014 8:06:24 PM
Checking if build is running
Checking if a build has already happened
Checking if revision state is known
Checking if we have a build with a valid workspace
*************************** get view CSPEC ***********************
[tester] $ cleartool catcs -tag plord_HnwTester_working_view
element * CHECKEDOUT
# ----- LABEL ------------
#element * HNW_3.0_00.04.06
#element * HNW_3.0_00.06.09
# -----AI BRANCH ------------
#element * .../dev3.0/ai0603/LATEST
#element * /main/dev3.0/LATEST -mkbranch ai0603
# -----PTR BRANCH ------------
#element * .../dev3.0/ptr0677/LATEST
#element * /main/dev3.0/LATEST -mkbranch ptr0677
# ----- DEV BRANCH ------------
element * .../dev3.0/LATEST
element * /main/LATEST -mkbranch dev3.0
#----- MAIN LATEST --------------
element default_config_spec /main/LATEST
element *.doc /main/LATEST
element *.ppt /main/LATEST
element *.xls /main/LATEST
element *.mdb /main/LATEST
element *.pdf /main/LATEST
element *.mdl /main/LATEST
element *.ptl /main/LATEST
element *.cat /main/LATEST
element *.vsd /main/LATEST
element *.docx /main/LATEST
element *.pptx /main/LATEST
element *.xlsx /main/LATEST
element "/wint-ng/HNW/Bin/..." /main/LATEST
element "/wint-ng/HNW/CFE/..." /main/LATEST
element "/wint-ng/HNW/COTS/..." /main/LATEST
element "/wint-ng/HNW/Tools/..." /main/LATEST
element "/wint-ng/Test/..." /main/LATEST
element "Documents/..." /main/LATEST
******************************************************************
[WARNING] CSPEC configured != catcs (view)
REASON: New config spec detected.
Done. Took 0.28 sec
Changes found
When CONFIG SPECS DO MATCH
-----------------------------
Base ClearCase Polling Log
Started on May 18, 2014 8:26:24 PM
Checking if build is running
Checking if a build has already happened
Checking if revision state is known
Checking if we have a build with a valid workspace
*************************** get view CSPEC ***********************
[tester] $ cleartool catcs -tag plord_HnwTester_working_view
element * CHECKEDOUT
# ----- LABEL ------------
#element * HNW_3.0_00.04.06
#element * HNW_3.0_00.06.09
# -----AI BRANCH ------------
#element * .../dev3.0/ai0603/LATEST
#element * /main/dev3.0/LATEST -mkbranch ai0603
# -----PTR BRANCH ------------
#element * .../dev3.0/ptr0677/LATEST
#element * /main/dev3.0/LATEST -mkbranch ptr0677
# ----- DEV BRANCH ------------
element * .../dev3.0/LATEST
element * /main/LATEST -mkbranch dev3.0
#----- MAIN LATEST --------------
element default_config_spec /main/LATEST
element *.doc /main/LATEST
element *.ppt /main/LATEST
element *.xls /main/LATEST
element *.mdb /main/LATEST
element *.pdf /main/LATEST
element *.mdl /main/LATEST
element *.ptl /main/LATEST
element *.cat /main/LATEST
element *.vsd /main/LATEST
element *.docx /main/LATEST
element *.pptx /main/LATEST
element *.xlsx /main/LATEST
element "/wint-ng/HNW/Bin/..." /main/LATEST
element "/wint-ng/HNW/CFE/..." /main/LATEST
element "/wint-ng/HNW/COTS/..." /main/LATEST
element "/wint-ng/HNW/Tools/..." /main/LATEST
element "/wint-ng/Test/..." /main/LATEST
element "Documents/..." /main/LATEST
******************************************************************
Checking view validity
[tester] $ cleartool lsview plord_HnwTester_working_view
* plord_HnwTester_working_view \\pbympnas1\wc_ccs05_view1\WINT_NG\HARRIS\plord\plord_HnwTester_working_view.vws
[tester] $ cleartool startview plord_HnwTester_working_view
Checking if there are changes in history
[tester] $ cleartool lsview plord_HnwTester_working_view
* plord_HnwTester_working_view \\pbympnas1\wc_ccs05_view1\WINT_NG\HARRIS\plord\plord_HnwTester_working_view.vws
[tester] $ cleartool startview plord_HnwTester_working_view
[m_]
$ cleartool lshistory -all -since 19-may-14.00:21:25utc+0000 -fmt
'\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n' -branch
brtype:dev3.0 -nco M:\plord_HnwTester_working_view\wint_hat\Source\Test_Automation\HNW_Tester_EclipseWorkspace\HNWTester\src\com\harris\hnw\tester
Done. Took 2 sec
No changes