scottdurow / SparkleXrm

An open-source library for building Dynamics CRM XRM solutions using Script#, jQuery & Knockoutjs.
MIT License
264 stars 194 forks source link

Error while executing release.bat file :[error]Process completed with exit code 255 #202

Closed GirijeshD closed 4 years ago

GirijeshD commented 6 years ago

My release.bat file

REM VSTS Release Script @echo off set connection=%~1 set password=~%2 set package_root=......

REM Find the spkl in the folder and subfolder for /R %package_root% %%G IN (spkl.exe) do( IF EXIST "%%G" (set spkl_path=%%G goto:continue) )

:continue @echo Deploying using %spkl_path%

REM Web Resources %spkl_path% webresources NHS.WebResource "%connection%%password%" /p:Release

if errorlevel 1( echo Error Code=%errorlevel% exit /b %errorlevel% )

REM plugings %spkl_path% plugings NHS.Plugin.AutoNumber "%connection%%password%" /p:Release

if errorlevel 1( echo Error Code=%errorlevel% exit /b %errorlevel% )


image


2018-02-16T07:01:26.7671015Z ##[section]Starting: Run script $(System.DefaultWorkingDirectory)/NHS-Plugin CI/drop/BuildTests/release.bat 2018-02-16T07:01:26.7675089Z ============================================================================== 2018-02-16T07:01:26.7675354Z Task : Batch Script 2018-02-16T07:01:26.7676077Z Description : Run a windows cmd or bat script and optionally allow it to change the environment 2018-02-16T07:01:26.7676252Z Version : 1.1.3 2018-02-16T07:01:26.7676411Z Author : Microsoft Corporation 2018-02-16T07:01:26.7676610Z Help : More Information 2018-02-16T07:01:26.7676791Z ============================================================================== 2018-02-16T07:01:26.7796456Z ##[command]"D:\a\r1\a\NHS-Plugin CI\drop\BuildTests\release.bat" "Url=https://***********.crm4.dynamics.com;authtype=Office365; Username=Girijesh.Dixit@****.onmicrosoft.com" **** 2018-02-16T07:01:26.8153874Z do( was unexpected at this time. 2018-02-16T07:01:26.8154060Z 2018-02-16T07:01:26.8154827Z D:\a\r1\a>REM VSTS Release Script 2018-02-16T07:01:26.8162568Z 2018-02-16T07:01:26.8192969Z D:\a\r1\a>set connection=Url=https://*********.crm4.dynamics.com;authtype=Office365; Username=Girijesh.Dixit@****.onmicrosoft.com 2018-02-16T07:01:26.8208143Z 2018-02-16T07:01:26.8211730Z D:\a\r1\a>set password=~**** 2018-02-16T07:01:26.8211922Z 2018-02-16T07:01:26.8212134Z D:\a\r1\a>set package_root=...... 2018-02-16T07:01:26.8212273Z 2018-02-16T07:01:26.8215083Z D:\a\r1\a>REM Find the spkl in the folder and subfolder 2018-02-16T07:01:26.8215223Z 2018-02-16T07:01:26.8215420Z D:\a\r1\a>for /R ...... %G IN (spkl.exe) do( 2018-02-16T07:01:27.1859421Z ##[error]Process completed with exit code 255. 2018-02-16T07:01:27.1872539Z ##[section]Finishing: Run script $(System.DefaultWorkingDirectory)/NHS-Plugin CI/drop/BuildTests/release.bat

mattp65 commented 6 years ago

@GirijeshD You have a slight error in your syntax, the command processor needs a space between the 1 & the (, so instead of

if errorlevel 1(
echo Error Code=%errorlevel%
exit /b %errorlevel%
)

Use:

if errorlevel 1 (
echo Error Code=%errorlevel%
exit /b %errorlevel%
)

@scottdurow Might consider adding the error handling script to the sample BAT files. Without this in place, errors don't bubble up to VSTS if there are subsequent actions in the BAT file as it only seems to check the last action of the BAT file. So a Release step that makes multiple SPKL calls that has an error in step 1 won't be recognized by VSTS as having an error. Having it built into the samples will help others from making this mistake.

twiga2013 commented 4 years ago

Hi Scott,

Where do I find the sample release bat file? Thank You

twiga2013 commented 4 years ago

I have simple Release build for the plugins everything is succeeded but I dot see my Plugins assemblies or steps in CRM not sure what I am missing

steps:
- task: BatchScript@1
  displayName: 'Run script $(System.DefaultWorkingDirectory)/_GITCICDNETCORE-.NET Desktop-CI/drop/SF365/release.bat'
  inputs:
    filename: '$(System.DefaultWorkingDirectory)/_GITCICDNETCORE-.NET Desktop-CI/drop/SF365/release.bat'
    arguments: '"$(connection)""$(password)"'
    workingFolder: '$(System.DefaultWorkingDirectory)/_GITCICDNETCORE-.NET Desktop-CI/drop/SF365'

My release.bat

REM VSTS Release Script

@echo off
set connection=%1
set password=%2
set package_root=..\..\..
REM Find the spkl in the package folder (irrespective of version)
For /R %package_root% %%G IN (spkl.exe) do (
    IF EXIST "%%G" (set spkl_path=%%G
    goto :continue)
    )

:continue
@echo Using '%spkl_path%' 
REM spkl plugins [path] [connection-string] [/p:release]
::"%spkl_path%" plugins "%cd%\.."

 "%spkl_path%" plugins Plugins "%connection%%password%" /p:release

pause
)

Capture

019-10-24T22:14:41.3444717Z ##[section]Starting: Run script $(System.DefaultWorkingDirectory)/_GITCICDNETCORE-.NET Desktop-CI/drop/SF365/release.bat
2019-10-24T22:14:41.3604771Z ==============================================================================
2019-10-24T22:14:41.3604846Z Task         : Batch script
2019-10-24T22:14:41.3605094Z Description  : Run a Windows command or batch script and optionally allow it to change the environment
2019-10-24T22:14:41.3605151Z Version      : 1.1.7
2019-10-24T22:14:41.3605186Z Author       : Microsoft Corporation
2019-10-24T22:14:41.3605222Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/batch-script
2019-10-24T22:14:41.3605296Z ==============================================================================
2019-10-24T22:14:41.3695525Z ##[command]"D:\a\r1\a\_GITCICDNETCORE-.NET Desktop-CI\drop\SF365\release.bat" "Url=https://XXXX.crm.dynamics.com;Username=XXXXX.onmicrosoft.com;AuthType=Office365;SkipDiscovery=false;""***"
2019-10-24T22:14:41.3811645Z 
2019-10-24T22:14:41.3812370Z D:\a\r1\a\_GITCICDNETCORE-.NET Desktop-CI\drop\SF365>REM VSTS Release Script 
2019-10-24T22:14:41.3826961Z Using 'D:\a\r1\a\spkl.1.0.226\tools\spkl.exe' 
2019-10-24T22:14:41.7974459Z spkl Task Runner v1.0.226.1    Tasks v1.0.226.1
2019-10-24T22:14:52.8771196Z Deploying Plugins
2019-10-24T22:14:52.9217136Z Searching for plugin config in 'D:\a\r1\a\_GITCICDNETCORE-.NET Desktop-CI\drop\SF365\Plugins'
2019-10-24T22:14:53.8482628Z Using Config 'D:\a\r1\a\_GITCICDNETCORE-.NET Desktop-CI\drop\SF365\Plugins'
2019-10-24T22:14:53.8504449Z Processed 1 config(s)
2019-10-24T22:14:53.9188048Z Press any key to continue . . . 
2019-10-24T22:14:53.9217479Z ##[section]Finishing: Run script $(System.DefaultWorkingDirectory)/_GITCICDNETCORE-.NET Desktop-CI/drop/SF365/release.bat
twiga2013 commented 4 years ago

I downloaded the artifact folder locally and ran the release.bat file manually and here is the output.

 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\content\net45\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\content\net45\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\content\net46\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\content\net46\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\lib\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\lib\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\lib\net45\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\lib\net45\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\tools\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\tools\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\tools\net45\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\tools\net45\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\tools\Roslyn45\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\tools\Roslyn45\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\tools\RoslynLatest\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\tools\RoslynLatest\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CrmSdk.CoreAssemblies.9.0.2.19\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CrmSdk.CoreAssemblies.9.0.2.19\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CrmSdk.CoreAssemblies.9.0.2.19\lib\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CrmSdk.CoreAssemblies.9.0.2.19\lib\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CrmSdk.CoreAssemblies.9.0.2.19\lib\net462\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CrmSdk.CoreAssemblies.9.0.2.19\lib\net462\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CrmSdk.CoreTools.9.0.0.7\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CrmSdk.CoreTools.9.0.0.7\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CrmSdk.CoreTools.9.0.0.7\content\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CrmSdk.CoreTools.9.0.0.7\content\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CrmSdk.CoreTools.9.0.0.7\content\bin\spkl.exe" (set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CrmSdk.CoreTools.9.0.0.7\content\bin\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CrmSdk.CoreTools.9.0.0.7\content\bin\coretools\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.CrmSdk.CoreTools.9.0.0.7\content\bin\coretools\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\build\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\build\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\cs\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\cs\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\de\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\de\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\es\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\es\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\fr\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\fr\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\it\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\it\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\ja\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\ja\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\ko\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\ko\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\pl\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\pl\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\pt-BR\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\pt-BR\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\ru\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\ru\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\tr\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\tr\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\utils\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\utils\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\zh-Hans\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\zh-Hans\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\zh-Hant\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\Microsoft.VisualStudio.Azure.Containers.Tools.Targets.1.9.5\tools\zh-Hant\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\spkl.1.0.226\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\spkl.1.0.226\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\spkl.1.0.226\content\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\spkl.1.0.226\content\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\spkl.1.0.226\content\spkl\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\spkl.1.0.226\content\spkl\spkl.exe
 goto :continue
) )

C:\Users\twiga\Desktop\drop (1)\drop\SF365>(IF EXIST "C:\Users\twiga\Desktop\drop\drop\SF365\packages\spkl.1.0.226\tools\spkl.exe" (
set spkl_path=C:\Users\twiga\Desktop\drop\drop\SF365\packages\spkl.1.0.226\tools\spkl.exe
 goto :continue
) )
Using 'C:\Users\twiga\Desktop\drop\drop\SF365\packages\spkl.1.0.226\tools\spkl.exe'

C:\Users\twiga\Desktop\drop (1)\drop\SF365>REM spkl plugins [path] [connection-string] [/p:release]

C:\Users\twiga\Desktop\drop (1)\drop\SF365>"C:\Users\twiga\Desktop\drop\drop\SF365\packages\spkl.1.0.226\tools\spkl.exe" plugins Plugins "Url=https://******.crm.dynamics.com;Username=*******.onmicrosoft.com;AuthType=Office365;SkipDiscovery=false;" /p:release
spkl Task Runner v1.0.226.1     Tasks v1.0.226.1
Deploying Plugins
Searching for plugin config in 'C:\Users\twiga\Desktop\drop (1)\drop\SF365\Plugins'
Using Config 'C:\Users\twiga\Desktop\drop (1)\drop\SF365\Plugins'
Processed 1 config(s)

C:\Users\twiga\Desktop\drop (1)\drop\SF365>pause
Press any key to continue . . .