Subversion Repositories DevTools

Rev

Rev 5286 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5286 Rev 6519
Line 7... Line 7...
7
REM		%1 - Path to Repo
7
REM		%1 - Path to Repo
8
REM		%2 - Rev created by the commit
8
REM		%2 - Rev created by the commit
9
REM
9
REM
10
set repoName=%~nx1
10
set repoName=%~nx1
11
set URL=http://fecru:8060
11
set URL=http://fecru:8060
12
set KEY=2a0ee4a4a09841f078aeb59f21a9dc69349e756c
12
set KEY=6a4d8efe1601eec0f2ae857515e135605bde84ff
13
set CURL="c:\Program Files\cURL\bin\curl.exe"
13
set CURL="c:\Program Files\cURL\bin\curl.exe"
14
set ARGS=--max-time 7 -X POST -H "X-Api-Key: %KEY%"  %URL%/rest-service-fecru/admin/repositories-v1/%repoName/scan
14
set ARGS=--max-time 7 -X POST -H "X-Api-Key: %KEY%" %URL%/rest-service-fecru/admin/repositories-v1/%repoName%/scan
15
 
15
 
16
REM echo %1 : %2 : %repoName% : %ARGS% >> C:\Windows\Temp\ddp.log
16
REM echo %1 : %2 : %repoName% : %ARGS% >> C:\Windows\Temp\ddp.log
17
REM echo %1 : %2 : %repoName% : %ARGS%  >&2
17
REM echo %1 : %2 : %repoName% : %ARGS%  >&2
18
 
18
 
19
%CURL% %ARGS%
19
%CURL% %ARGS%