Thanks for taking a look. The lshistory command returns three changed files
in my example:
"20120228.105103" "baileyj" "C:\Users\baileyj\.jenkins\jobs\Build OF012\workspace\baileyj_master_Build_OF012_hudson\web2000\mm_app\we\sdk\tes t\autoload\InstallOF.ps1" "\main\of011\of012\1" "create version" "checkin"
"20120228.105049" "baileyj" "C:\Users\baileyj\.jenkins\jobs\Build OF012\workspace\baileyj_master_Build_OF012_hudson\web2000\mm_app\we\sdk\tes t\autoload\InstallOF.ps1" "\main\of011\of012\0" "create version" "mkbranch"
"20120228.105049" "baileyj" "C:\Users\baileyj\.jenkins\jobs\Build OF012\workspace\baileyj_master_Build_OF012_hudson\web2000\mm_app\we\sdk\tes t\autoload\InstallOF.ps1" "\main\of011\of012" "create branch" "mkbranch"
On Tuesday, February 28, 2012 10:19:37 PM UTC-8, xJom wrote:
> Hi Justin!
> It seems to me like your "lshistory"-command refers forward in time.
> Jenkins starts the poll on Feb 28, 2012 10:51:23 AM and asks for changes
> since 28-feb-12.18:50:24utc+0000
> There must be some time settings either in Jenkins or your
> ClearCase-server. It doesn't say where you are located, if you really are 8
> hours behind UTC?
> Try to run the lshistory command on the command line, and see what time
> stamp you have to put in to detect the change.
> /M
> 2012/2/28 Justin Bailey <jgbai...@gmail.com>
>> I am using the "base" ClearCase plugin with a snapshot view, and it
>> refuses to detect changes.The polling log even shows the changes, but the
>> plugin still reports "No Changes":
>> Started on Feb 28, 2012 10:51:23 AM
>> [baileyj_master_Build_OF012_hudson] $ "c:\Program Files\IBM\RationalSDLC\ClearCase\bin\cleartool" pwv -root
>> C:\Users\baileyj\.jenkins\jobs\Build OF012\workspace\baileyj_master_Build_OF012_hudson
>> [workspace] $ "c:\Program Files\IBM\RationalSDLC\ClearCase\bin\cleartool" lsview baileyj_master_Build_OF012_hudson
>> baileyj_master_Build_OF012_hudson \\ds-wccreg2.ds.ad.foo.com\viewstore\DS\baileyj\baileyj_master_Build_OF012_ hudson.vws
>> [baileyj_master_Build_OF012_hudson] $ "c:\Program Files\IBM\RationalSDLC\ClearCase\bin\cleartool" lshistory -all -since 28-feb-12.18:50:24utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n' -branch brtype:of012 -nco web2000\of_app\of
>> "20120228.105103" "baileyj" "C:\Users\baileyj\.jenkins\jobs\Build OF012\workspace\baileyj_master_Build_OF012_hudson\web2000\mm_app\we\sdk\tes t\autoload\InstallOF.ps1" "\main\of011\of012\1" "create version" "checkin"
>> "20120228.105049" "baileyj" "C:\Users\baileyj\.jenkins\jobs\Build OF012\workspace\baileyj_master_Build_OF012_hudson\web2000\mm_app\we\sdk\tes t\autoload\InstallOF.ps1" "\main\of011\of012\0" "create version" "mkbranch"
>> "20120228.105049" "baileyj" "C:\Users\baileyj\.jenkins\jobs\Build OF012\workspace\baileyj_master_Build_OF012_hudson\web2000\mm_app\we\sdk\tes t\autoload\InstallOF.ps1" "\main\of011\of012" "create branch" "mkbranch"
>> Done. Took 0.81 sec
>> No changes
>> As you can see, the file InstallOF.ps1 has changes yet the plugin reports
>> "No Changes".
>> I am using Jenkins v1.451 and the ClearCase plugin v1.3.7 on Windows 7.
>> Can anyone help? Thanks!
>> Justin