Rev 5286 | Blame | Compare with Previous | Last modification | View Log | RSS feed
REM Maintained in package SubversionServerSupportREMREM Trigger a Fisheye scan of this RepoREM Hit a know Rest API with magicREMREM ArgsREM %1 - Path to RepoREM %2 - Rev created by the commitREMset repoName=%~nx1set URL=http://fecru:8060set KEY=6a4d8efe1601eec0f2ae857515e135605bde84ffset CURL="c:\Program Files\cURL\bin\curl.exe"set ARGS=--max-time 7 -X POST -H "X-Api-Key: %KEY%" %URL%/rest-service-fecru/admin/repositories-v1/%repoName%/scanREM echo %1 : %2 : %repoName% : %ARGS% >> C:\Windows\Temp\ddp.logREM echo %1 : %2 : %repoName% : %ARGS% >&2%CURL% %ARGS%if %errorlevel%==0 (goto Done)echo Error triggering Fisheye/Crucible >&2exit 1:Doneexit 0