lscm : checkin fails with component not shared
While Using lscm checkin command “scm checkin -u %username% -P %password% -W 399XX”.
I am getting below error msg.
cmd error console:
Problem running 'checkin':
"C:\Jenkins\workspace\ABC" is not shared.
Workspace: (1191) "ABC" <-> (1192)
Unresolved:
-c- /ABC /pom.xml
Outgoing:
Baselines:
(1271) 45 "ABC_build_definition_#49"
Problem running 'deliver':
Note: after the restarting of machine the checking command is working fine. But I am not able to understand why and how its happen?
Generally I am using below commands for checking / deliver
scm checkin -u %username% -P %password% -W 399622 .
scm show status -u %username% -P %password%
scm deliver -u %username% -P %password%