22 lines
849 B
Batchfile
22 lines
849 B
Batchfile
@echo off
|
|
set _SERVER_=%1
|
|
set _PORT_=%2
|
|
set _PASS_=%3
|
|
set _PROJECT_=%4
|
|
set _CHANGELIST_=%5
|
|
set _USER_=%6
|
|
|
|
|
|
|
|
|
|
echo set new defects to the changelist found
|
|
cov-manage-im --host "%_SERVER_%" --port %_PORT_% --user admin --password %_PASS_% --mode defects --update --project "%_PROJECT_%" --status New --ext-ref "" --set ext-ref:%_CHANGELIST_% --set comment:"Changelist %_CHANGELIST_% by user %_USER_%"
|
|
echo START_ANALYSIS
|
|
cov-manage-im --host "%_SERVER_%" --port %_PORT_% --user admin --password %_PASS_% --mode defects --show --project "%_PROJECT_%" --status New --separator " " --no-headers
|
|
echo END_ANALYSIS
|
|
echo START_NEWDEFECTS
|
|
cov-manage-im --host "%_SERVER_%" --port %_PORT_% --user admin --password %_PASS_% --mode defects --show --project "%_PROJECT_%" --ext-ref %_CHANGELIST_% --status New --separator " " --no-headers
|
|
echo END_NEWDEFECTS
|
|
|
|
|
|
|