HodorNV / ALOps

ALOps
59 stars 24 forks source link

ALOpsAppCompiler v2 - failonwarnings - AL1026 #363

Closed Arthurvdv closed 3 years ago

Arthurvdv commented 3 years ago

Describe the bug The warning AL1026 doesn't seems to be recognized bij ALOps as a valid warning, when having failonwarnings enabled.

The warning AL1026: A warning occurred during XML validation: 'Permission set RoleID is too long at D:\azure-vsts-agent-build_work\23\s\app\extensionsPermissionSet.xml. The RoleID field must be restricted by 20 characters in length. This warning will become an error in a future release.'.

the used yaml Sniplet from the template

steps:
- task: ALOpsAppCompiler@2
  displayName: 'Compile Extension'
  inputs:
    artifactversion: '${{ parameters.artifactversion }}'
    artifacttype: '${{ parameters.artifacttype }}'
    artifactcountry: '${{ parameters.artifactcountry }}'
    versionselect: ${{ parameters.versionselect }}
    alsourcepath: '$(System.DefaultWorkingDirectory)\app'
    ruleset: '${{ parameters.ruleset }}'
    appversiontemplate: '${{ parameters.appversiontemplate }}'
    alcodeanalyzer: '${{ parameters.alcodeanalyzer }}'
    failonwarnings: '${{ parameters.failonwarnings }}'
    publishartifact: ${{ parameters.publishartifact }}
    sastoken: '${{ parameters.sastoken }}'

the output Also the complete output is necessary for us to see what is going on. Also use backtics:

2021-04-21T08:23:19.7039719Z ##[section]Starting: Compile Extension
2021-04-21T08:23:19.7191069Z ==============================================================================
2021-04-21T08:23:19.7191428Z Task         : ALOps App Compiler
2021-04-21T08:23:19.7191732Z Description  : Compile AL Extension(s) for Business Central
2021-04-21T08:23:19.7192005Z Version      : 2.0.2429
2021-04-21T08:23:19.7192219Z Author       : Hodor
2021-04-21T08:23:19.7192517Z Help         : Compile Business Central extension(s) from AL code.
2021-04-21T08:23:19.7192873Z ==============================================================================
2021-04-21T08:23:21.0381309Z ******************************************************************************
2021-04-21T08:23:21.0387578Z *** ALOps v2 - Preview                                                     ***
2021-04-21T08:23:21.0393554Z ******************************************************************************
2021-04-21T08:23:21.0402191Z *** Importing required ALOps-Functions
2021-04-21T08:23:21.3752775Z *** Task Inputs:
2021-04-21T08:23:21.3880798Z 
2021-04-21T08:23:21.3882104Z name                   value                                                                                           
2021-04-21T08:23:21.3883340Z ----                   -----                                                                                           
2021-04-21T08:23:21.3884410Z artifactversion                                                                                                        
2021-04-21T08:23:21.3885432Z artifacttype           Sandbox                                                                                         
2021-04-21T08:23:21.3886613Z artifactcountry        BE                                                                                              
2021-04-21T08:23:21.3887751Z versionselect                                                                                                          
2021-04-21T08:23:21.3888829Z alternativevsixurl                                                                                                     
2021-04-21T08:23:21.3890106Z alsourcepath           D:\azure-vsts-agent-build\_work\23\s\app                                                        
2021-04-21T08:23:21.3891940Z ruleset                https://...
2021-04-21T08:23:21.3893481Z appversiontemplate     ?.?.[yyyyWW].*                                                                                  
2021-04-21T08:23:21.3894413Z appfilenametemplate    %APP_PUBLISHER%_%APP_NAME%_%APP_VERSION%_%BC_TYPE%_%BC_VERSION%_%BC_COUNTRY%.app                
2021-04-21T08:23:21.3895920Z alcodeanalyzer         UICop,CodeCop,PerTenantExtensionCop                                                             
2021-04-21T08:23:21.3896854Z showmycode             Keep                                                                                            
2021-04-21T08:23:21.3897667Z applicationinsightskey                                                                                                 
2021-04-21T08:23:21.3898564Z alcachepath            D:\azure-vsts-agent-build\_work\23\s                                                            
2021-04-21T08:23:21.3899397Z publishartifact        True                                                                                            
2021-04-21T08:23:21.3900605Z publishxlif            False                                                                                           
2021-04-21T08:23:21.3901458Z failonwarnings         True                                                                                            
2021-04-21T08:23:21.3902544Z storageaccount                                                                                                         
2021-04-21T08:23:21.3903332Z sastoken                                                                                                               
2021-04-21T08:23:21.3905790Z printappmanifest       True                                                                                            
2021-04-21T08:23:21.3906195Z 
2021-04-21T08:23:21.4092779Z 
2021-04-21T08:23:21.4093380Z 
2021-04-21T08:23:21.4093955Z *** For documentation, please visit   : https://www.alops.be/documentation
2021-04-21T08:23:21.4094315Z 
2021-04-21T08:23:21.7054406Z *** ALOps License:
2021-04-21T08:23:21.7119324Z   * Licensed To: Van Roey (Collection License)
2021-04-21T08:23:21.7458460Z 
2021-04-21T08:23:21.9174102Z *** Importing required Task-Functions
2021-04-21T08:23:23.6283734Z 
2021-04-21T08:23:23.6993585Z *** Artifact Type   : [Sandbox]
2021-04-21T08:23:23.7000669Z *** Artifact Version: []
2021-04-21T08:23:23.7006197Z *** Artifact Country: [BE]
2021-04-21T08:23:23.7011702Z *** AL Source Path  : [D:\azure-vsts-agent-build\_work\23\s\app]
2021-04-21T08:23:23.7020442Z *** AL Cache Path   : [D:\azure-vsts-agent-build\_work\23\s]
2021-04-21T08:23:23.7022064Z 
2021-04-21T08:23:23.7037929Z 
2021-04-21T08:23:23.7208813Z *** Default Working Folder: D:\azure-vsts-agent-build\_work\23\s
2021-04-21T08:23:23.7217212Z *** Artifact Folder       : D:\azure-vsts-agent-build\_work\23\a
2021-04-21T08:23:23.7223071Z *** Agent Tool Folder     : D:\azure-vsts-agent-build\_work\_tool
2021-04-21T08:23:23.7229508Z *** Agent Temp Folder     : D:\azure-vsts-agent-build\_work\_temp
2021-04-21T08:23:23.7231649Z 
2021-04-21T08:23:23.7271831Z *** Resolving Path: [D:\azure-vsts-agent-build\_work\23\s\app]
2021-04-21T08:23:23.7320769Z *** AL Source Folder      : D:\azure-vsts-agent-build\_work\23\s\app
2021-04-21T08:23:23.7327860Z *** Resolving Path: [D:\azure-vsts-agent-build\_work\23\s]
2021-04-21T08:23:23.7338131Z *** AL Cache Folder       : D:\azure-vsts-agent-build\_work\23\s
2021-04-21T08:23:23.7340272Z 
2021-04-21T08:23:23.7354832Z *** Check BcContainerHelper
2021-04-21T08:23:23.7965499Z *** Load BcContainerHelper
2021-04-21T08:23:23.9560265Z BcContainerHelper version 2.0.10
2021-04-21T08:23:24.6479746Z 
2021-04-21T08:23:24.6483800Z 
2021-04-21T08:23:24.6541299Z ##[command]"Get-BCArtifactUrl" 
2021-04-21T08:23:24.6541813Z Name                           Value                                                                                   
2021-04-21T08:23:24.6542809Z ----                           -----                                                                                   
2021-04-21T08:23:24.6543562Z country                        BE                                                                                      
2021-04-21T08:23:24.6544238Z type                           Sandbox                                                                                 
2021-04-21T08:23:24.6544955Z 
2021-04-21T08:23:24.6558487Z 
2021-04-21T08:23:24.6558961Z  -country: BE -type: Sandbox
2021-04-21T08:23:43.8287517Z *** Platform: c:\bcartifacts.cache\sandbox\18.0.23013.24611\platform
2021-04-21T08:23:43.8307499Z *** Localisation: c:\bcartifacts.cache\sandbox\18.0.23013.24611\be
2021-04-21T08:23:43.8534254Z *** BC Management DLL: C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\LegacyDlls\program files\Microsoft Dynamics NAV\180\RoleTailored Client\Microsoft.Dynamics.Nav.Management.dll
2021-04-21T08:23:43.8730056Z *** BC App Management DLL: C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\LegacyDlls\program files\Microsoft Dynamics NAV\180\RoleTailored Client\Microsoft.Dynamics.Nav.Apps.Management.dll
2021-04-21T08:23:43.8955632Z *** Get [*.app] and [app.json] files recursive from [D:\azure-vsts-agent-build\_work\23\s\app]
2021-04-21T08:23:43.8992712Z *** Found [1] file.
2021-04-21T08:23:43.9000306Z *** Extract App detail from [D:\azure-vsts-agent-build\_work\23\s\app\app.json]
2021-04-21T08:23:43.9230116Z *** Starting Batch compile of Apps:
2021-04-21T08:23:43.9257880Z   * D:\azure-vsts-agent-build\_work\23\s\app
2021-04-21T08:23:43.9267691Z *** Start Compiling: [D:\azure-vsts-agent-build\_work\23\s\app]
2021-04-21T08:23:43.9748669Z *** Get App Information
2021-04-21T08:23:43.9777837Z *** Loading Json Object: [D:\azure-vsts-agent-build\_work\23\s\app\app.json]
2021-04-21T08:23:43.9793836Z   * Id         : 4fed7a33-d17a-45ea-b35c-a814788da323
2021-04-21T08:23:43.9799637Z   * Publisher  : VanRoey.be
2021-04-21T08:23:43.9805965Z   * Name       : <redacted>
2021-04-21T08:23:43.9810490Z   * Description: 
2021-04-21T08:23:43.9921945Z *** Match: yyyyWW
2021-04-21T08:23:43.9999728Z *** Retaining original [Major] from version (?.0.0.0)
2021-04-21T08:23:44.0025498Z *** Retaining original [Minor] from version (0.?.0.0)
2021-04-21T08:23:44.0040607Z *** Setting Managed App Version [D:\azure-vsts-agent-build\_work\23\s\app\app.json] =>  1.0.202116.7943
2021-04-21T08:23:44.0119437Z *** VSCode Settings: [D:\azure-vsts-agent-build\_work\23\s\app\.vscode\settings.json]
2021-04-21T08:23:44.0127405Z *** VSCode-Settings json found.
2021-04-21T08:23:44.0134131Z *** Loading Json Object: [D:\azure-vsts-agent-build\_work\23\s\app\.vscode\settings.json]
2021-04-21T08:23:44.0166424Z *** Downloading Ruleset settings: [***]
2021-04-21T08:23:44.0174142Z ##[command]Invoke-RestMethod -Method Get -Uri "***" -OutFile "D:\azure-vsts-agent-build\_work\23\s\app\ruleset.json"
2021-04-21T08:23:44.1031954Z *** Ruleset download complete
2021-04-21T08:23:44.1066997Z *** Using Ruleset: [D:\azure-vsts-agent-build\_work\23\s\app\ruleset.json]
2021-04-21T08:23:44.1125284Z ##[command]"Get-BCArtifactUrl" 
2021-04-21T08:23:44.1126310Z Name                           Value                                                                                   
2021-04-21T08:23:44.1127506Z ----                           -----                                                                                   
2021-04-21T08:23:44.1128266Z select                         Latest                                                                                  
2021-04-21T08:23:44.1131339Z type                           Sandbox                                                                                 
2021-04-21T08:23:44.1132225Z country                        be                                                                                      
2021-04-21T08:23:44.1132614Z 
2021-04-21T08:23:44.1132830Z 
2021-04-21T08:23:44.1133031Z 
2021-04-21T08:24:04.0894767Z *** Platform: c:\bcartifacts.cache\sandbox\18.0.23013.24611\platform
2021-04-21T08:24:04.0910089Z *** Localisation: c:\bcartifacts.cache\sandbox\18.0.23013.24611\be
2021-04-21T08:24:04.1200063Z *** VSIX Path: C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\ModernDev\program files\Microsoft Dynamics NAV\180\AL Development Environment\ALLanguage.vsix
2021-04-21T08:24:04.1241571Z *** ALC Path: C:\bcartifacts.cache\sandbox\18.0.23013.24611\VSIX\extension\bin\alc.exe
2021-04-21T08:24:04.1262121Z *** Nav.CodeAnalysis Path: C:\bcartifacts.cache\sandbox\18.0.23013.24611\VSIX\extension\bin\Microsoft.Dynamics.Nav.CodeAnalysis.dll
2021-04-21T08:24:04.2046641Z *** Get Localised Apps [109]
2021-04-21T08:24:04.7715994Z *** Get Platform Apps [103]
2021-04-21T08:24:04.7725867Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\APIV1\Source\Microsoft__Exclude_APIV1_.app
2021-04-21T08:24:04.7824057Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\APIV1\Test\Microsoft__Exclude_APIV1_ Tests.app
2021-04-21T08:24:04.7856585Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\APIV2\Source\Microsoft__Exclude_APIV2_.app
2021-04-21T08:24:04.7895102Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\APIV2\Test\Microsoft__Exclude_APIV2_ Tests.app
2021-04-21T08:24:04.7924105Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\Application\Source\Microsoft_Application.app
2021-04-21T08:24:04.7956599Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_Base Application.app
2021-04-21T08:24:04.8989506Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_Czech language (Czechia).app
2021-04-21T08:24:04.9017418Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_Danish language (Denmark).app
2021-04-21T08:24:04.9049575Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_Dutch language (Belgium).app
2021-04-21T08:24:04.9077724Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_Dutch language (Netherlands).app
2021-04-21T08:24:04.9104048Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_English language (Australia).app
2021-04-21T08:24:04.9131451Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_English language (Canada).app
2021-04-21T08:24:04.9158763Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_English language (New Zealand).app
2021-04-21T08:24:04.9186801Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_English language (United Kingdom).app
2021-04-21T08:24:04.9215055Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_English language (United States).app
2021-04-21T08:24:04.9242603Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_Finnish language (Finland).app
2021-04-21T08:24:04.9291285Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_French language (Belgium).app
2021-04-21T08:24:04.9315844Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_French language (Canada).app
2021-04-21T08:24:04.9342596Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_French language (France).app
2021-04-21T08:24:04.9368079Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_French language (Switzerland).app
2021-04-21T08:24:04.9396178Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_German language (Austria).app
2021-04-21T08:24:04.9399171Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_German language (Germany).app
2021-04-21T08:24:04.9429189Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_German language (Switzerland).app
2021-04-21T08:24:04.9458647Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_Icelandic language (Iceland).app
2021-04-21T08:24:04.9486576Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_Italian language (Italy).app
2021-04-21T08:24:04.9516100Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_Italian language (Switzerland).app
2021-04-21T08:24:04.9545395Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_Norwegian language (Norway).app
2021-04-21T08:24:04.9574872Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_Russian language (Russia).app
2021-04-21T08:24:04.9607065Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_Spanish language (Mexico).app
2021-04-21T08:24:04.9632380Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_Spanish language (Spain).app
2021-04-21T08:24:04.9658410Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Source\Microsoft_Swedish language (Sweden).app
2021-04-21T08:24:04.9684024Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Library-NoTransactions.app
2021-04-21T08:24:04.9710171Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Bank.app
2021-04-21T08:24:04.9737931Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Cash Flow.app
2021-04-21T08:24:04.9766549Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Cost Accounting.app
2021-04-21T08:24:04.9793800Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-CRM integration.app
2021-04-21T08:24:04.9823011Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Data Exchange.app
2021-04-21T08:24:04.9850442Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Dimension.app
2021-04-21T08:24:04.9881208Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-ERM.app
2021-04-21T08:24:04.9941684Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Fixed Asset.app
2021-04-21T08:24:04.9969074Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-General Journal.app
2021-04-21T08:24:04.9998058Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Graph.app
2021-04-21T08:24:05.0031552Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Integration.app
2021-04-21T08:24:05.0067154Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Invoicing.app
2021-04-21T08:24:05.0099117Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Job.app
2021-04-21T08:24:05.0125752Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Local.app
2021-04-21T08:24:05.0148770Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Marketing.app
2021-04-21T08:24:05.0174765Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Misc.app
2021-04-21T08:24:05.0221429Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Monitor Sensitive Fields.app
2021-04-21T08:24:05.0248076Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Permissions.app
2021-04-21T08:24:05.0275359Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Physical Inventory.app
2021-04-21T08:24:05.0303608Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Prepayment.app
2021-04-21T08:24:05.0331334Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Rapid Start.app
2021-04-21T08:24:05.0360569Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Report.app
2021-04-21T08:24:05.0388564Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Resource.app
2021-04-21T08:24:05.0415585Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Reverse.app
2021-04-21T08:24:05.0442449Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-SCM.app
2021-04-21T08:24:05.0497620Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-SINGLESERVER.app
2021-04-21T08:24:05.0533420Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-SMB.app
2021-04-21T08:24:05.0566873Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-SMTP.app
2021-04-21T08:24:05.0597521Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-TestLibraries.app
2021-04-21T08:24:05.0650563Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Upgrade.app
2021-04-21T08:24:05.0679769Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-User.app
2021-04-21T08:24:05.0706293Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-VAT.app
2021-04-21T08:24:05.1795059Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\BaseApp\Test\Microsoft_Tests-Workflow.app
2021-04-21T08:24:05.1825869Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\ClientAddIns\Source\Microsoft__Exclude_ClientAddIns_.app
2021-04-21T08:24:05.1854972Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\CompanyHub\Source\Microsoft_Company Hub.app
2021-04-21T08:24:05.1889839Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\CompanyHub\Test\Microsoft_Company Hub Tests.app
2021-04-21T08:24:05.1913765Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\Email - Current User Connector\Source\Microsoft_Email - Current User Connector.app
2021-04-21T08:24:05.1941951Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\Email - Current User Connector\Test\Microsoft_Email - Current User Connector Tests.app
2021-04-21T08:24:05.1967443Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\Email - Microsoft 365 Connector\Source\Microsoft_Email - Microsoft 365 Connector.app
2021-04-21T08:24:05.1993880Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\Email - Microsoft 365 Connector\Test\Microsoft_Email - Microsoft 365 Connector Tests.app
2021-04-21T08:24:05.2017580Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\Email - Outlook REST API\Source\Microsoft_Email - Outlook REST API.app
2021-04-21T08:24:05.2044974Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\Email - Outlook REST API\Test\Microsoft_Library Outlook REST API.app
2021-04-21T08:24:05.2070038Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\Email - SMTP Connector\Source\Microsoft_Email - SMTP Connector.app
2021-04-21T08:24:05.2098359Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\Email - SMTP Connector\Test\Microsoft_Email - SMTP Connector Tests.app
2021-04-21T08:24:05.2122817Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\EssentialBusinessHeadlines\Source\Microsoft_Essential Business Headlines.app
2021-04-21T08:24:05.2155657Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\EssentialBusinessHeadlines\Test\Microsoft_Essential Business Headlines Test.app
2021-04-21T08:24:05.2179814Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\LatePaymentPredictor\Source\Microsoft_Late Payment Prediction.app
2021-04-21T08:24:05.2209784Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\LatePaymentPredictor\Test\Microsoft_Late Payment Prediction Tests.app
2021-04-21T08:24:05.2234833Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\microsoftuniversalprint\source\Microsoft_Universal Print Integration (Preview).app
2021-04-21T08:24:05.2264250Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\onprem permissions\source\Microsoft_OnPrem Permissions.app
2021-04-21T08:24:05.2312295Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\onprem permissions\test\Microsoft_OnPrem Permissions Tests.app
2021-04-21T08:24:05.2335981Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\paypalpaymentsstandard\source\Microsoft_PayPal Payments Standard.app
2021-04-21T08:24:05.2367670Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\paypalpaymentsstandard\test\Microsoft_PayPal Payments Standard Tests.app
2021-04-21T08:24:05.2408354Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\salesandinventoryforecast\source\Microsoft_Sales and Inventory Forecast.app
2021-04-21T08:24:05.2427027Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\salesandinventoryforecast\test\Microsoft_Sales and Inventory Forecast Tests.app
2021-04-21T08:24:05.2448892Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\sendtoemailprinter\source\Microsoft_Send To Email Printer.app
2021-04-21T08:24:05.2476423Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\simplifiedbankstatementimport\source\Microsoft_Simplified Bank Statement Import.app
2021-04-21T08:24:05.2502947Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\system application\source\Microsoft_System Application.app
2021-04-21T08:24:05.2607526Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\system application\test\Microsoft_System Application Test Library.app
2021-04-21T08:24:05.2634491Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\system application\test\Microsoft_System Application Test.app
2021-04-21T08:24:05.2674608Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\testframework\performancetoolkit\Microsoft_Performance Toolkit Samples.app
2021-04-21T08:24:05.2699660Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\testframework\performancetoolkit\Microsoft_Performance Toolkit Tests.app
2021-04-21T08:24:05.2732106Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\testframework\performancetoolkit\Microsoft_Performance Toolkit.app
2021-04-21T08:24:05.2747946Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\testframework\TestLibraries\Any\Microsoft_Any.app
2021-04-21T08:24:05.2773934Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\testframework\TestLibraries\Assert\Microsoft_Library Assert.app
2021-04-21T08:24:05.2797093Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\testframework\TestLibraries\Variable Storage\Microsoft_Library Variable Storage.app
2021-04-21T08:24:05.2820911Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\testframework\TestRunner\Microsoft_Test Runner.app
2021-04-21T08:24:05.2846360Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\uksendremittanceadvice\source\Microsoft_Send remittance advice by email.app
2021-04-21T08:24:05.2872582Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\vatgroupmanagement\source\Microsoft_VAT Group Management.app
2021-04-21T08:24:05.2904407Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Applications\vatgroupmanagement\test\Microsoft_VAT Group Management Tests.app
2021-04-21T08:24:05.2929520Z   * C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\ModernDev\program files\Microsoft Dynamics NAV\180\AL Development Environment\System.app
2021-04-21T08:24:05.2977465Z *** Retained Platform Apps [18]
2021-04-21T08:24:05.2986568Z *** Loaded [127] Apps
2021-04-21T08:24:05.3011305Z *** Get Build Apps [0]
2021-04-21T08:24:05.3017435Z *** AL Cache: [D:\azure-vsts-agent-build\_work\23\s]
2021-04-21T08:24:05.3045294Z *** Loaded [4] AL Apps
2021-04-21T08:24:05.3096589Z *** AL Language Version: 7.0.432864
2021-04-21T08:24:05.3120271Z *** App To Build: [D:\azure-vsts-agent-build\_work\23\a\VanRoey.be_<redacted>_1.0.202116.7943_sandbox_18.0_be.app]
2021-04-21T08:24:05.3127098Z *** Checking for Assemblies in App
2021-04-21T08:24:05.3156608Z *** Add Windows Assembly Path [C:\Windows\assembly]
2021-04-21T08:24:05.3835790Z *** Adding Mock assemblies [C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Test Assemblies\Mock Assemblies]
2021-04-21T08:24:05.4737008Z *** Adding Add-In assemblies [C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\LegacyDlls\program files\Microsoft Dynamics NAV\180\RoleTailored Client\Add-ins]
2021-04-21T08:24:05.4744124Z *** Adding Add-In assemblies [C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\ServiceTier\program files\Microsoft Dynamics NAV\180\Service\Add-ins]
2021-04-21T08:24:05.4777011Z *** Searching CodeCop: UICop
2021-04-21T08:24:05.5004725Z *** Codecop found: C:\bcartifacts.cache\sandbox\18.0.23013.24611\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll
2021-04-21T08:24:05.5462015Z *** Searching CodeCop: CodeCop
2021-04-21T08:24:05.5462567Z *** Codecop found: C:\bcartifacts.cache\sandbox\18.0.23013.24611\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll
2021-04-21T08:24:05.6156679Z *** Searching CodeCop: PerTenantExtensionCop
2021-04-21T08:24:05.6157274Z *** Codecop found: C:\bcartifacts.cache\sandbox\18.0.23013.24611\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.PerTenantExtensionCop.dll
2021-04-21T08:24:05.6499340Z *** Copy BC Artifact dependencies
2021-04-21T08:24:06.1889543Z *** Copy Project Artifact dependencies
2021-04-21T08:24:06.2010152Z *** Copy Build Artifacts
2021-04-21T08:24:06.2017092Z *** Final app.json:
2021-04-21T08:24:06.2041968Z {
2021-04-21T08:24:06.2042305Z     "id":  "4fed7a33-d17a-45ea-b35c-a814788da323",
2021-04-21T08:24:06.2042722Z     "name":  "<redacted>",
2021-04-21T08:24:06.2043071Z     "publisher":  "VanRoey.be",
2021-04-21T08:24:06.2043396Z     "version":  "1.0.202116.7943",
2021-04-21T08:24:06.2043695Z     "brief":  "",
2021-04-21T08:24:06.2043979Z     "description":  "",
2021-04-21T08:24:06.2044283Z     "privacyStatement":  "",
2021-04-21T08:24:06.2044574Z     "EULA":  "",
2021-04-21T08:24:06.2044909Z     "help":  "https://www.vanroey.be/support/",
2021-04-21T08:24:06.2045297Z     "url":  "https://www.vanroey.be/",
2021-04-21T08:24:06.2045798Z     "logo":  "Assets/VanRoey-logo-compact.png",
2021-04-21T08:24:06.2046125Z     "dependencies":  [
2021-04-21T08:24:06.2046417Z                          {
2021-04-21T08:24:06.2046805Z                              "appId":  "3be7f261-c577-4c67-aee1-992804843ade",
2021-04-21T08:24:06.2047257Z                              "publisher":  "VanRoey.be",
2021-04-21T08:24:06.2047672Z                              "name":  "Common Data",
2021-04-21T08:24:06.2048083Z                              "version":  "0.5.7.0"
2021-04-21T08:24:06.2048453Z                          },
2021-04-21T08:24:06.2048742Z                          {
2021-04-21T08:24:06.2049143Z                              "appId":  "c1164527-3319-4951-93f0-f3ce88f48845",
2021-04-21T08:24:06.2049586Z                              "publisher":  "VanRoey.be",
2021-04-21T08:24:06.2049992Z                              "name":  "CRM Connector",
2021-04-21T08:24:06.2050388Z                              "version":  "0.5.3.0"
2021-04-21T08:24:06.2050941Z                          },
2021-04-21T08:24:06.2051237Z                          {
2021-04-21T08:24:06.2051804Z                              "appId":  "6f1902d1-d33c-494c-bde3-63c727a399ec",
2021-04-21T08:24:06.2052243Z                              "publisher":  "VanRoey.be",
2021-04-21T08:24:06.2052646Z                              "name":  "Real Estate",
2021-04-21T08:24:06.2053073Z                              "version":  "0.5.4.0"
2021-04-21T08:24:06.2053408Z                          }
2021-04-21T08:24:06.2053691Z                      ],
2021-04-21T08:24:06.2053975Z     "screenshots":  [
2021-04-21T08:24:06.2054114Z 
2021-04-21T08:24:06.2054355Z                     ],
2021-04-21T08:24:06.2054651Z     "application":  "15.0.0.0",
2021-04-21T08:24:06.2054961Z     "platform":  "15.0.0.0",
2021-04-21T08:24:06.2055251Z     "idRanges":  [
2021-04-21T08:24:06.2055538Z                      {
2021-04-21T08:24:06.2055857Z                          "from":  54300,
2021-04-21T08:24:06.2056209Z                          "to":  54399
2021-04-21T08:24:06.2056520Z                      },
2021-04-21T08:24:06.2056798Z                      {
2021-04-21T08:24:06.2057114Z                          "from":  70000,
2021-04-21T08:24:06.2057463Z                          "to":  70020
2021-04-21T08:24:06.2057902Z                      }
2021-04-21T08:24:06.2058173Z                  ],
2021-04-21T08:24:06.2058535Z     "contextSensitiveHelpUrl":  "https://www.vanroey.be/support/",
2021-04-21T08:24:06.2058890Z     "features":  [
2021-04-21T08:24:06.2059194Z                      "TranslationFile"
2021-04-21T08:24:06.2059625Z                  ],
2021-04-21T08:24:06.2060014Z     "runtime":  "4.0"
2021-04-21T08:24:06.2060265Z }
2021-04-21T08:24:06.2060361Z 
2021-04-21T08:24:06.2060622Z *** Detect ALC.EXE Features.
2021-04-21T08:24:06.2061031Z ##[command]& C:\bcartifacts.cache\sandbox\18.0.23013.24611\VSIX\extension\bin\alc.exe /?
2021-04-21T08:24:06.3349667Z   * PARALLEL
2021-04-21T08:24:06.3356538Z   * MAXDEGREEOFPARALLELISM
2021-04-21T08:24:06.3359073Z   * ASSEMBLYPROBINGPATHS
2021-04-21T08:24:06.3364176Z *** Start ALC.EXE / Compile AL Extension
2021-04-21T08:24:06.3370968Z ##[command]& C:\bcartifacts.cache\sandbox\18.0.23013.24611\VSIX\extension\bin\alc.exe /packagecachepath:"D:\azure-vsts-agent-build\_work\23\s\app\.ALOPSCache" /project:"D:\azure-vsts-agent-build\_work\23\s\app" /out:"D:\azure-vsts-agent-build\_work\23\a\VanRoey.be_<redacted>_1.0.202116.7943_sandbox_18.0_be.app" /fullpaths /analyzer:"C:\bcartifacts.cache\sandbox\18.0.23013.24611\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll","C:\bcartifacts.cache\sandbox\18.0.23013.24611\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll","C:\bcartifacts.cache\sandbox\18.0.23013.24611\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.PerTenantExtensionCop.dll" /ruleset:"D:\azure-vsts-agent-build\_work\23\s\app\ruleset.json" /parallel+ /maxDegreeOfParallelism:2 /assemblyprobingpaths:"C:\Windows\assembly","C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\Test Assemblies\Mock Assemblies","C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\LegacyDlls\program files\Microsoft Dynamics NAV\180\RoleTailored Client\Add-ins","C:\bcartifacts.cache\sandbox\18.0.23013.24611\platform\ServiceTier\program files\Microsoft Dynamics NAV\180\Service\Add-ins"
2021-04-21T08:24:19.3410661Z *** AL Compiler Exit Code: 0
2021-04-21T08:24:19.3467801Z *** Set Pipeline variable $(ALOPS_COMPILE_ARTIFACT) = 'D:\azure-vsts-agent-build\_work\23\a\VanRoey.be_<redacted>_1.0.202116.7943_sandbox_18.0_be.app'
2021-04-21T08:24:19.3527225Z *** Set Pipeline variable $(ALOPS_COMPILE_ARTIFACT_ARRAY) = 'D:\azure-vsts-agent-build\_work\23\a\VanRoey.be_<redacted>_1.0.202116.7943_sandbox_18.0_be.app'
2021-04-21T08:24:19.3574918Z *** AL Compiler raw logs: Start
2021-04-21T08:24:19.3580761Z Microsoft (R) AL Compiler version 7.0.6.39660
2021-04-21T08:24:19.3586553Z Copyright (C) Microsoft Corporation. All rights reserved
2021-04-21T08:24:19.3592330Z Compilation started for project '<redacted>' containing '44' files at '10:24:6.692'.
2021-04-21T08:24:19.3598178Z D:\azure-vsts-agent-build\_work\23\s\app\Source\Crm Connector\Cod.SyncRecordDataMgt.al(172,9): info AA0210: The table VRA Salesfile Status does not contain a key with the field VRA Crm Status.
2021-04-21T08:24:19.3603852Z D:\azure-vsts-agent-build\_work\23\s\app\extensionsPermissionSet.xml(1,1): info AL1027: The file at location 'D:\azure-vsts-agent-build\_work\23\s\app\extensionsPermissionSet.xml' matches the definition for 'PermissionSet'.
2021-04-21T08:24:19.3610016Z warning AL1026: A warning occurred during XML validation: 'Permission set RoleID is too long at D:\azure-vsts-agent-build\_work\23\s\app\extensionsPermissionSet.xml. The RoleID field must be restricted by 20 characters in length. This warning will become an error in a future release.'.
2021-04-21T08:24:19.3616320Z Compilation ended at '10:24:19.299'.
2021-04-21T08:24:19.3623256Z *** AL Compiler raw logs: End
2021-04-21T08:24:19.3629660Z *** Start processing compile results.
2021-04-21T08:24:19.3841743Z \app\Source\Crm Connector\Cod.SyncRecordDataMgt.al(172,9): info AA0210: The table VRA Salesfile Status does not contain a key with the field VRA Crm Status.
2021-04-21T08:24:19.3855234Z \app\extensionsPermissionSet.xml(1,1): info AL1027: The file at location '\app\extensionsPermissionSet.xml' matches the definition for 'PermissionSet'.
2021-04-21T08:24:19.4099732Z ##[warning]warning AL1026: A warning occurred during XML validation: 'Permission set RoleID is too long at D:\azure-vsts-agent-build\_work\23\s\app\extensionsPermissionSet.xml. The RoleID field must be restricted by 20 characters in length. This warning will become an error in a future release.'.
2021-04-21T08:24:19.4108547Z ModuleType Version Name              ExportedCommands                                                                  
2021-04-21T08:24:19.4109208Z ---------- ------- ----              ----------------                                                                  
2021-04-21T08:24:19.4134087Z Script     2.0.10  BcContainerHelper {Add-FontsToBcContainer, Add-GitToAlProjectFolder, Backup-BcContainerDatabases,...
2021-04-21T08:24:19.4134481Z 
2021-04-21T08:24:19.4134581Z 
2021-04-21T08:24:19.4135056Z 
2021-04-21T08:24:19.4149400Z Char AlertMessage                                                                                                      
2021-04-21T08:24:19.4152005Z ---- ------------                                                                                                      
2021-04-21T08:24:19.4153554Z 9    The table VRA Salesfile Status does not contain a key with the field VRA Crm Status.                              
2021-04-21T08:24:19.4186291Z 1    The file at location 'D:\azure-vsts-agent-build\_work\23\s\app\extensionsPermissionSet.xml' matches the definit...
2021-04-21T08:24:19.4186619Z 
2021-04-21T08:24:19.4187431Z 
2021-04-21T08:24:19.4251229Z *** Set Pipeline variable $(ALOPS_COMPILE_LOG) = 'D:\azure-vsts-agent-build\_work\23\s\VanRoey.be_<redacted><redacted>
2021-04-21T08:24:19.4798547Z *** Uploading App as Build-Artifact
2021-04-21T08:24:19.5700559Z *** Publish XLIF as Artifact skipped
2021-04-21T08:24:19.5729339Z ##[section]Async Command Start: Add Build Tag
2021-04-21T08:24:19.5729916Z Build '7943' has following tags now: AL.Analyzer.PerTenantExtensionCop, AL.Analyzer.CodeCop, AL.Analyzer.UICop
2021-04-21T08:24:19.5730307Z ##[section]Async Command End: Add Build Tag
2021-04-21T08:24:19.5731185Z ##[section]Async Command Start: Add Build Tag
2021-04-21T08:24:19.5731687Z Build '7943' has following tags now: AL.Analyzer.CodeCop
2021-04-21T08:24:19.5731999Z ##[section]Async Command End: Add Build Tag
2021-04-21T08:24:19.5732789Z ##[section]Async Command Start: Add Build Tag
2021-04-21T08:24:19.5733288Z Build '7943' has following tags now: AL.Analyzer.PerTenantExtensionCop, AL.Analyzer.CodeCop
2021-04-21T08:24:19.5733762Z ##[section]Async Command End: Add Build Tag
2021-04-21T08:24:19.5734556Z ##[section]Async Command Start: Upload Artifact
2021-04-21T08:24:19.5734794Z Uploading 1 files
2021-04-21T08:24:19.9223297Z File upload succeed.
2021-04-21T08:24:19.9223804Z Upload 'D:\azure-vsts-agent-build\_work\23\a\VanRoey.be_<redacted>_1.0.202116.7943_sandbox_18.0_be.app' to file container: '#/20087904/<redacted>'
2021-04-21T08:24:19.9224311Z Associated artifact 2807 with build 7943
2021-04-21T08:24:19.9224619Z ##[section]Async Command End: Upload Artifact
2021-04-21T08:24:19.9226068Z ##[section]Finishing: Compile Extension

Expected behavior The step should fail on the warning.

Screenshots image

waldo1001 commented 3 years ago

I was able to reproduce this .. will fix!

waldo1001 commented 3 years ago

This should be fixed... . image