HodorNV / ALOps

ALOps
59 stars 24 forks source link

appversiontemplate does not apply in ALopsAppCompiler@2 #419

Closed MortenRa closed 3 years ago

MortenRa commented 3 years ago

Describe the bug appversiontemplate does not to take the version from the yaml

the used yaml please provide the yaml that you used. It helps you put the yaml like this:

parameters:
  artifacttypes: []
  artifactversions : []
  artifactcountries: []
  failed_on_warnings: []

variables
 - group: Appvariables

steps:
- ${{ each artifacttype in parameters.artifacttypes }}:
  - ${{ each artifactversion in parameters.artifactversions }}:
    - ${{ each artifactcountry in parameters.artifactcountries }}:
      - task: ALOpsAppCompiler@2
        displayName: 'ALOps Compile v2 - ${{ artifacttype  }}-${{ artifactversion  }}-${{ artifactcountry  }}'
        inputs:
          artifacttype: '${{ artifacttype  }}'
          artifactversion: '${{ artifactversion  }}'
          artifactcountry: '${{ artifactcountry  }}'
          appversiontemplate: '18.3.[yyyyWW].*'
          failonwarnings: ${{ failed_on_warnings }}
          updatebuildnumber: True

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

2021-08-25T14:50:59.2052141Z ##[section]Starting: ALOps Compile v2 - Sandbox-18.3-dk
2021-08-25T14:50:59.2233766Z ==============================================================================
2021-08-25T14:50:59.2234214Z Task         : ALOps App Compiler
2021-08-25T14:50:59.2234562Z Description  : Compile AL Extension(s) for Business Central
2021-08-25T14:50:59.2234869Z Version      : 2.0.2571
2021-08-25T14:50:59.2235133Z Author       : Hodor
2021-08-25T14:50:59.2235477Z Help         : Compile Business Central extension(s) from AL code.
2021-08-25T14:50:59.2235879Z ==============================================================================
2021-08-25T14:51:00.9944566Z ******************************************************************************
2021-08-25T14:51:00.9954417Z *** ALOps v2 - Preview                                                     ***
2021-08-25T14:51:00.9967227Z ******************************************************************************
2021-08-25T14:51:00.9980550Z *** Importing required ALOps-Functions
2021-08-25T14:51:01.6410370Z *** Task Inputs:
2021-08-25T14:51:01.6501919Z 
2021-08-25T14:51:01.6659061Z name                   value                                                                           
2021-08-25T14:51:01.6664453Z ----                   -----                                                                           
2021-08-25T14:51:01.6668613Z artifactversion        18.3                                                                            
2021-08-25T14:51:01.6672761Z artifacttype           Sandbox                                                                         
2021-08-25T14:51:01.6676828Z artifactcountry        dk                                                                              
2021-08-25T14:51:01.6680856Z versionselect          Latest                                                                          
2021-08-25T14:51:01.6685665Z alternativevsixurl                                                                                     
2021-08-25T14:51:01.6689741Z alsourcepath           C:\PTEagent\_work\1\s                                                           
2021-08-25T14:51:01.6693897Z ruleset                                                                                                
2021-08-25T14:51:01.6698206Z appversiontemplate     18.0.*.0                                                                        
2021-08-25T14:51:01.6702568Z updatebuildnumber      True                                                                            
2021-08-25T14:51:01.6707204Z appfilenametemplate    %APP_PUBLISHER%_%APP_NAME%_%APP_VERSION%_%BC_TYPE%_%BC_VERSION%_%BC_COUNTRY%.app
2021-08-25T14:51:01.6711360Z alcodeanalyzer                                                                                         
2021-08-25T14:51:01.6716668Z showmycode             Keep                                                                            
2021-08-25T14:51:01.6721282Z applicationinsightskey                                                                                 
2021-08-25T14:51:01.6725646Z alcachepath            C:\PTEagent\_work\1\s                                                           
2021-08-25T14:51:01.6729524Z publishartifact        True                                                                            
2021-08-25T14:51:01.6733360Z publishxlif            False                                                                           
2021-08-25T14:51:01.6737633Z failonwarnings         False                                                                           
2021-08-25T14:51:01.6741463Z storageaccount                                                                                         
2021-08-25T14:51:01.6745270Z sastoken                                                                                               
2021-08-25T14:51:01.6749142Z printappmanifest       True                                                                            
2021-08-25T14:51:01.6753242Z outputalclogs          True                                                                            
2021-08-25T14:51:01.6757246Z additionalprobingpaths                                                                                 
2021-08-25T14:51:01.6757598Z 
2021-08-25T14:51:01.6798237Z 
2021-08-25T14:51:01.6808853Z 
2021-08-25T14:51:01.7022913Z *** For documentation, please visit   : https://www.alops.be/documentation
2021-08-25T14:51:01.7027818Z 
2021-08-25T14:51:01.9546663Z *** ALOps License:
2021-08-25T14:51:01.9571537Z   * Licensed To: ALOps Trial [29/31] days remaining. Trial ends: Friday, 24 September 2021
2021-08-25T14:51:01.9576760Z 
2021-08-25T14:51:02.0649316Z *** Importing required Task-Functions
2021-08-25T14:51:05.2385584Z 
2021-08-25T14:51:05.2695497Z *** Artifact Type   : [Sandbox]
2021-08-25T14:51:05.2721463Z *** Artifact Version: [18.3]
2021-08-25T14:51:05.2724874Z *** Artifact Country: [dk]
2021-08-25T14:51:05.2742387Z *** AL Source Path  : [C:\PTEagent\_work\1\s]
2021-08-25T14:51:05.2753979Z *** AL Cache Path   : [C:\PTEagent\_work\1\s]
2021-08-25T14:51:05.2760781Z 
2021-08-25T14:51:05.2798432Z 
2021-08-25T14:51:05.3081650Z *** Default Working Folder: C:\PTEagent\_work\1\s
2021-08-25T14:51:05.3096435Z *** Artifact Folder       : C:\PTEagent\_work\1\a
2021-08-25T14:51:05.3112705Z *** Agent Tool Folder     : C:\PTEagent\_work\_tool
2021-08-25T14:51:05.3129281Z *** Agent Temp Folder     : C:\PTEagent\_work\_temp
2021-08-25T14:51:05.3134413Z 
2021-08-25T14:51:05.3206334Z *** Resolving Path: [C:\PTEagent\_work\1\s]
2021-08-25T14:51:05.3286679Z *** AL Source Folder      : C:\PTEagent\_work\1\s
2021-08-25T14:51:05.3301867Z *** Resolving Path: [C:\PTEagent\_work\1\s]
2021-08-25T14:51:05.3324783Z *** AL Cache Folder       : C:\PTEagent\_work\1\s
2021-08-25T14:51:05.3329750Z 
2021-08-25T14:51:05.3356736Z *** Check BcContainerHelper
2021-08-25T14:51:05.4021072Z *** Load BcContainerHelper
2021-08-25T14:51:05.6105685Z BcContainerHelper version 2.0.5
2021-08-25T14:51:06.4521055Z 
2021-08-25T14:51:06.4527395Z 
2021-08-25T14:51:06.4612000Z ##[command]"Get-BCArtifactUrl" 
2021-08-25T14:51:06.4613101Z Name                           Value                                                                                   
2021-08-25T14:51:06.4614528Z ----                           -----                                                                                   
2021-08-25T14:51:06.4616208Z select                         Latest                                                                                  
2021-08-25T14:51:06.4617128Z version                        18.3                                                                                    
2021-08-25T14:51:06.4618151Z type                           Sandbox                                                                                 
2021-08-25T14:51:06.4619232Z country                        dk                                                                                      
2021-08-25T14:51:06.4619741Z 
2021-08-25T14:51:06.4620182Z 
2021-08-25T14:51:06.4620615Z  -select: Latest -version: 18.3 -type: Sandbox -country: dk
2021-08-25T14:51:08.5856490Z *** Platform: c:\bcartifacts.cache\sandbox\18.3.27240.29379\platform
2021-08-25T14:51:08.5889146Z *** Localisation: c:\bcartifacts.cache\sandbox\18.3.27240.29379\dk
2021-08-25T14:51:08.6283013Z *** BC Management DLL: C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\ServiceTier\program files\Microsoft Dynamics NAV\180\Service\Microsoft.Dynamics.Nav.Management.dll
2021-08-25T14:51:08.6798801Z *** BC App Management DLL: C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\ServiceTier\program files\Microsoft Dynamics NAV\180\Service\Microsoft.Dynamics.Nav.Apps.Management.dll
2021-08-25T14:51:08.7026150Z *** Get [*.app] and [app.json] files recursive from [C:\PTEagent\_work\1\s]
2021-08-25T14:51:08.7181505Z *** Found [1] file.
2021-08-25T14:51:08.7193259Z *** Extract App detail from [C:\PTEagent\_work\1\s\app\app.json]
2021-08-25T14:51:08.7508540Z *** Starting Batch compile of Apps:
2021-08-25T14:51:08.7553782Z   * C:\PTEagent\_work\1\s\app
2021-08-25T14:51:08.7571758Z *** Start Compiling: [C:\PTEagent\_work\1\s\app]
2021-08-25T14:51:08.8286091Z *** Get App Information
2021-08-25T14:51:08.8333389Z *** Loading Json Object: [C:\PTEagent\_work\1\s\app\app.json]
2021-08-25T14:51:08.8360872Z   * Id         : 25ef0c73-4c10-47e5-818a-dce7de9aae9c
2021-08-25T14:51:08.8373379Z   * Publisher  : Abakion
2021-08-25T14:51:08.8385354Z   * Name       : ERH Base
2021-08-25T14:51:08.8397329Z   * Description: 
2021-08-25T14:51:08.8584567Z *** Setting Managed App Version [C:\PTEagent\_work\1\s\app\app.json] =>  18.0.19.0
2021-08-25T14:51:08.8728442Z *** VSCode Settings: [C:\PTEagent\_work\1\s\app\.vscode\settings.json]
2021-08-25T14:51:08.8746666Z *** VSCode-Settings json found.
2021-08-25T14:51:08.8760370Z *** Loading Json Object: [C:\PTEagent\_work\1\s\app\.vscode\settings.json]
2021-08-25T14:51:08.8785189Z *** Get CodeAnalyzers from VSCode Settings
2021-08-25T14:51:08.8849933Z *** Set CodeAnalyzers: CodeCop,UICop,PerTenantExtensionCop
2021-08-25T14:51:08.8889658Z *** No AL-RuleSet json found.
2021-08-25T14:51:08.8999118Z ##[command]"Get-BCArtifactUrl" 
2021-08-25T14:51:08.9000452Z Name                           Value                                                                                   
2021-08-25T14:51:08.9001809Z ----                           -----                                                                                   
2021-08-25T14:51:08.9002619Z select                         Latest                                                                                  
2021-08-25T14:51:08.9003296Z version                        18.3                                                                                    
2021-08-25T14:51:08.9004341Z type                           Sandbox                                                                                 
2021-08-25T14:51:08.9005329Z country                        dk                                                                                      
2021-08-25T14:51:08.9005669Z 
2021-08-25T14:51:08.9006056Z 
2021-08-25T14:51:08.9006628Z 
2021-08-25T14:51:09.7615287Z *** Platform: c:\bcartifacts.cache\sandbox\18.3.27240.29379\platform
2021-08-25T14:51:09.7634681Z *** Localisation: c:\bcartifacts.cache\sandbox\18.3.27240.29379\dk
2021-08-25T14:51:09.8017191Z *** VSIX Path: C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\ModernDev\program files\Microsoft Dynamics NAV\180\AL Development Environment\ALLanguage.vsix
2021-08-25T14:51:09.8081039Z *** ALC Path: C:\bcartifacts.cache\sandbox\18.3.27240.29379\VSIX\extension\bin\alc.exe
2021-08-25T14:51:09.8115029Z *** Nav.CodeAnalysis Path: C:\bcartifacts.cache\sandbox\18.3.27240.29379\VSIX\extension\bin\Microsoft.Dynamics.Nav.CodeAnalysis.dll
2021-08-25T14:51:09.9108329Z *** Get Localised Apps [119]
2021-08-25T14:51:10.7158586Z *** Get Platform Apps [105]
2021-08-25T14:51:10.7174900Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\APIV1\Source\Microsoft__Exclude_APIV1_.app
2021-08-25T14:51:10.7320589Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\APIV1\Test\Microsoft__Exclude_APIV1_ Tests.app
2021-08-25T14:51:10.7384630Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\APIV2\Source\Microsoft__Exclude_APIV2_.app
2021-08-25T14:51:10.7452408Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\APIV2\Test\Microsoft__Exclude_APIV2_ Tests.app
2021-08-25T14:51:10.7502309Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\Application\Source\Microsoft_Application.app
2021-08-25T14:51:10.7543066Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_Base Application.app
2021-08-25T14:51:10.8908228Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_Czech language (Czechia).app
2021-08-25T14:51:10.8948941Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_Danish language (Denmark).app
2021-08-25T14:51:10.8990110Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_Dutch language (Belgium).app
2021-08-25T14:51:10.9033347Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_Dutch language (Netherlands).app
2021-08-25T14:51:10.9074750Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_English language (Australia).app
2021-08-25T14:51:10.9115611Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_English language (Canada).app
2021-08-25T14:51:10.9158749Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_English language (New Zealand).app
2021-08-25T14:51:10.9199194Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_English language (United Kingdom).app
2021-08-25T14:51:10.9240466Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_English language (United States).app
2021-08-25T14:51:10.9277820Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_Finnish language (Finland).app
2021-08-25T14:51:10.9313798Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_French language (Belgium).app
2021-08-25T14:51:10.9349476Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_French language (Canada).app
2021-08-25T14:51:10.9384070Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_French language (France).app
2021-08-25T14:51:10.9419892Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_French language (Switzerland).app
2021-08-25T14:51:10.9468845Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_German language (Austria).app
2021-08-25T14:51:10.9504924Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_German language (Germany).app
2021-08-25T14:51:10.9541544Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_German language (Switzerland).app
2021-08-25T14:51:10.9576282Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_Icelandic language (Iceland).app
2021-08-25T14:51:10.9611105Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_Italian language (Italy).app
2021-08-25T14:51:10.9647639Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_Italian language (Switzerland).app
2021-08-25T14:51:10.9682306Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_Norwegian language (Norway).app
2021-08-25T14:51:10.9721301Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_Russian language (Russia).app
2021-08-25T14:51:10.9758259Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_Spanish language (Mexico).app
2021-08-25T14:51:10.9793564Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_Spanish language (Spain).app
2021-08-25T14:51:10.9829431Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Source\Microsoft_Swedish language (Sweden).app
2021-08-25T14:51:10.9864260Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Library-NoTransactions.app
2021-08-25T14:51:10.9898520Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Bank.app
2021-08-25T14:51:10.9940497Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Cash Flow.app
2021-08-25T14:51:10.9976504Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Cost Accounting.app
2021-08-25T14:51:11.0012034Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-CRM integration.app
2021-08-25T14:51:11.0056525Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Data Exchange.app
2021-08-25T14:51:11.0094049Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Dimension.app
2021-08-25T14:51:11.0134745Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-ERM.app
2021-08-25T14:51:11.0219727Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Fixed Asset.app
2021-08-25T14:51:11.0256605Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-General Journal.app
2021-08-25T14:51:11.0294389Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Graph.app
2021-08-25T14:51:11.0337161Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Integration.app
2021-08-25T14:51:11.0377056Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Invoicing.app
2021-08-25T14:51:11.0416051Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Job.app
2021-08-25T14:51:11.0459981Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Local.app
2021-08-25T14:51:11.0495390Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Marketing.app
2021-08-25T14:51:11.0538563Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Misc.app
2021-08-25T14:51:11.0599478Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Monitor Sensitive Fields.app
2021-08-25T14:51:11.0647495Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Permissions.app
2021-08-25T14:51:11.0677504Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Physical Inventory.app
2021-08-25T14:51:11.0714980Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Prepayment.app
2021-08-25T14:51:11.0759706Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Rapid Start.app
2021-08-25T14:51:11.0804079Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Report.app
2021-08-25T14:51:11.0855625Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Resource.app
2021-08-25T14:51:11.0902789Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Reverse.app
2021-08-25T14:51:11.0948117Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-SCM.app
2021-08-25T14:51:11.1044772Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-SINGLESERVER.app
2021-08-25T14:51:11.1091983Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-SMB.app
2021-08-25T14:51:11.1143288Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-SMTP.app
2021-08-25T14:51:11.1186514Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-TestLibraries.app
2021-08-25T14:51:11.1273935Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Upgrade.app
2021-08-25T14:51:11.1326775Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-User.app
2021-08-25T14:51:11.1374214Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-VAT.app
2021-08-25T14:51:11.1425726Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\BaseApp\Test\Microsoft_Tests-Workflow.app
2021-08-25T14:51:11.1494002Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\ClientAddIns\Source\Microsoft__Exclude_ClientAddIns_.app
2021-08-25T14:51:11.1572656Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\CompanyHub\Source\Microsoft_Company Hub.app
2021-08-25T14:51:11.1640094Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\CompanyHub\Test\Microsoft_Company Hub Tests.app
2021-08-25T14:51:11.1684852Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\datacorrectionfa\source\Microsoft_Troubleshoot FA Ledger Entries.app
2021-08-25T14:51:11.1730047Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\Email - Current User Connector\Source\Microsoft_Email - Current User Connector.app
2021-08-25T14:51:11.1777929Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\Email - Current User Connector\Test\Microsoft_Email - Current User Connector Tests.app
2021-08-25T14:51:11.1822616Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\Email - Microsoft 365 Connector\Source\Microsoft_Email - Microsoft 365 Connector.app
2021-08-25T14:51:11.1872062Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\Email - Microsoft 365 Connector\Test\Microsoft_Email - Microsoft 365 Connector Tests.app
2021-08-25T14:51:11.1914648Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\Email - Outlook REST API\Source\Microsoft_Email - Outlook REST API.app
2021-08-25T14:51:11.1964226Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\Email - Outlook REST API\Test\Microsoft_Library Outlook REST API.app
2021-08-25T14:51:11.2011417Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\Email - SMTP Connector\Source\Microsoft_Email - SMTP Connector.app
2021-08-25T14:51:11.2063728Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\Email - SMTP Connector\Test\Microsoft_Email - SMTP Connector Tests.app
2021-08-25T14:51:11.2106885Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\EssentialBusinessHeadlines\Source\Microsoft_Essential Business Headlines.app
2021-08-25T14:51:11.2163670Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\EssentialBusinessHeadlines\Test\Microsoft_Essential Business Headlines Test.app
2021-08-25T14:51:11.2205899Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\LatePaymentPredictor\Source\Microsoft_Late Payment Prediction.app
2021-08-25T14:51:11.2260254Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\LatePaymentPredictor\Test\Microsoft_Late Payment Prediction Tests.app
2021-08-25T14:51:11.3774337Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\microsoftuniversalprint\source\Microsoft_Universal Print Integration (Preview).app
2021-08-25T14:51:11.3819743Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\onprem permissions\source\Microsoft_OnPrem Permissions.app
2021-08-25T14:51:11.3889961Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\onprem permissions\test\Microsoft_OnPrem Permissions Tests.app
2021-08-25T14:51:11.3928741Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\paypalpaymentsstandard\source\Microsoft_PayPal Payments Standard.app
2021-08-25T14:51:11.3976740Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\paypalpaymentsstandard\test\Microsoft_PayPal Payments Standard Tests.app
2021-08-25T14:51:11.4011736Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\salesandinventoryforecast\source\Microsoft_Sales and Inventory Forecast.app
2021-08-25T14:51:11.4082733Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\salesandinventoryforecast\test\Microsoft_Sales and Inventory Forecast Tests.app
2021-08-25T14:51:11.4095868Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\sendtoemailprinter\source\Microsoft_Send To Email Printer.app
2021-08-25T14:51:11.4139322Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\simplifiedbankstatementimport\source\Microsoft_Simplified Bank Statement Import.app
2021-08-25T14:51:11.4187495Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\system application\source\Microsoft_System Application.app
2021-08-25T14:51:11.4340817Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\system application\test\Microsoft_System Application Test Library.app
2021-08-25T14:51:11.4394299Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\system application\test\Microsoft_System Application Test.app
2021-08-25T14:51:11.4449840Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\testframework\performancetoolkit\Microsoft_Performance Toolkit Samples.app
2021-08-25T14:51:11.4506196Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\testframework\performancetoolkit\Microsoft_Performance Toolkit Tests.app
2021-08-25T14:51:11.4547198Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\testframework\performancetoolkit\Microsoft_Performance Toolkit.app
2021-08-25T14:51:11.4591585Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\testframework\TestLibraries\Any\Microsoft_Any.app
2021-08-25T14:51:11.4630040Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\testframework\TestLibraries\Assert\Microsoft_Library Assert.app
2021-08-25T14:51:11.4669330Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\testframework\TestLibraries\permissions mock\Microsoft_Permissions Mock.app
2021-08-25T14:51:11.4707028Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\testframework\TestLibraries\Variable Storage\Microsoft_Library Variable Storage.app
2021-08-25T14:51:11.4745484Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\testframework\TestRunner\Microsoft_Test Runner.app
2021-08-25T14:51:11.4788060Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\uksendremittanceadvice\source\Microsoft_Send remittance advice by email.app
2021-08-25T14:51:11.4827902Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\vatgroupmanagement\source\Microsoft_VAT Group Management.app
2021-08-25T14:51:11.4881928Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Applications\vatgroupmanagement\test\Microsoft_VAT Group Management Tests.app
2021-08-25T14:51:11.4921943Z   * C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\ModernDev\program files\Microsoft Dynamics NAV\180\AL Development Environment\System.app
2021-08-25T14:51:11.4994836Z *** Retained Platform Apps [19]
2021-08-25T14:51:11.5011546Z *** Loaded [138] Apps
2021-08-25T14:51:11.5051423Z *** Get Build Apps [0]
2021-08-25T14:51:11.5066591Z *** AL Cache: [C:\PTEagent\_work\1\s]
2021-08-25T14:51:11.5118800Z *** Loaded [0] AL Apps
2021-08-25T14:51:11.5193345Z *** AL Language Version: 7.3.492799
2021-08-25T14:51:11.5237847Z *** App To Build: [C:\PTEagent\_work\1\a\Abakion_ERH Base_18.0.19.0_sandbox_18.3_dk.app]
2021-08-25T14:51:11.5252337Z *** Checking for Assemblies in App
2021-08-25T14:51:11.5314823Z *** Add Windows Assembly Path [C:\Windows\assembly]
2021-08-25T14:51:11.6223587Z *** Adding Mock assemblies [C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Test Assemblies\Mock Assemblies]
2021-08-25T14:51:11.7403049Z *** Adding Add-In assemblies [C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\LegacyDlls\program files\Microsoft Dynamics NAV\180\RoleTailored Client]
2021-08-25T14:51:11.7416102Z *** Adding Add-In assemblies [C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\ServiceTier\program files\Microsoft Dynamics NAV\180\Service]
2021-08-25T14:51:11.7466324Z *** Searching CodeCop: CodeCop
2021-08-25T14:51:11.7699423Z *** Codecop found: C:\bcartifacts.cache\sandbox\18.3.27240.29379\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll
2021-08-25T14:51:11.8180612Z *** Searching CodeCop: UICop
2021-08-25T14:51:11.8181200Z *** Codecop found: C:\bcartifacts.cache\sandbox\18.3.27240.29379\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll
2021-08-25T14:51:11.8559700Z *** Searching CodeCop: PerTenantExtensionCop
2021-08-25T14:51:11.8560339Z *** Codecop found: C:\bcartifacts.cache\sandbox\18.3.27240.29379\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.PerTenantExtensionCop.dll
2021-08-25T14:51:11.9057988Z *** Copy BC Artifact dependencies
2021-08-25T14:51:12.7455853Z *** Copy Project Artifact dependencies
2021-08-25T14:51:12.7467736Z *** Copy Build Artifacts
2021-08-25T14:51:12.7481265Z *** Final app.json:
2021-08-25T14:51:12.7520494Z {
2021-08-25T14:51:12.7521497Z     "id":  "25ef0c73-4c10-47e5-818a-dce7de9aae9c",
2021-08-25T14:51:12.7522749Z     "name":  "ERH Base",
2021-08-25T14:51:12.7523807Z     "publisher":  "Abakion",
2021-08-25T14:51:12.7524752Z     "version":  "18.0.19.0",
2021-08-25T14:51:12.7525815Z     "brief":  "ERH Base indeholder tabel og tabelextensions",
2021-08-25T14:51:12.7526803Z     "description":  "",
2021-08-25T14:51:12.7555460Z     "privacyStatement":  "",
2021-08-25T14:51:12.7556381Z     "EULA":  "",
2021-08-25T14:51:12.7557111Z     "help":  "",
2021-08-25T14:51:12.7557762Z     "url":  "",
2021-08-25T14:51:12.7558402Z     "logo":  "src/Assets/erhvervshusene_logo.jpg",
2021-08-25T14:51:12.7559037Z     "dependencies":  [
2021-08-25T14:51:12.7559377Z                          {
2021-08-25T14:51:12.7559840Z                              "id":  "644f7e5b-a81c-408a-aaa2-766e655a80a3",
2021-08-25T14:51:12.7560412Z                              "publisher":  "Microsoft",
2021-08-25T14:51:12.7561096Z                              "name":  "Payment and Reconciliation Formats (DK)",
2021-08-25T14:51:12.7561865Z                              "version":  "18.0.0.0"
2021-08-25T14:51:12.7563669Z                          }
2021-08-25T14:51:12.7564004Z                      ],
2021-08-25T14:51:12.7564323Z     "screenshots":  [
2021-08-25T14:51:12.7564494Z 
2021-08-25T14:51:12.7564766Z                     ],
2021-08-25T14:51:12.7565089Z     "platform":  "18.0.0.0",
2021-08-25T14:51:12.7565440Z     "application":  "18.0.0.0",
2021-08-25T14:51:12.7565776Z     "idRanges":  [
2021-08-25T14:51:12.7566085Z                      {
2021-08-25T14:51:12.7566438Z                          "from":  72000,
2021-08-25T14:51:12.7566830Z                          "to":  72999
2021-08-25T14:51:12.7567193Z                      }
2021-08-25T14:51:12.7567494Z                  ],
2021-08-25T14:51:12.7567885Z     "contextSensitiveHelpUrl":  "https://abakion.com/support/",
2021-08-25T14:51:12.7568290Z     "showMyCode":  true,
2021-08-25T14:51:12.7568620Z     "runtime":  "7.0",
2021-08-25T14:51:12.7568936Z     "features":  [
2021-08-25T14:51:12.7569260Z                      "TranslationFile",
2021-08-25T14:51:12.7569634Z                      "GenerateCaptions"
2021-08-25T14:51:12.7569964Z                  ]
2021-08-25T14:51:12.7570230Z }
2021-08-25T14:51:12.7570355Z 
2021-08-25T14:51:12.7570646Z *** Detect ALC.EXE Features.
2021-08-25T14:51:12.7584225Z ##[command]& C:\bcartifacts.cache\sandbox\18.3.27240.29379\VSIX\extension\bin\alc.exe /?
2021-08-25T14:51:12.9333273Z   * PARALLEL
2021-08-25T14:51:12.9347676Z   * MAXDEGREEOFPARALLELISM
2021-08-25T14:51:12.9361456Z   * ASSEMBLYPROBINGPATHS
2021-08-25T14:51:12.9373508Z *** Start ALC.EXE / Compile AL Extension
2021-08-25T14:51:12.9388155Z ##[command]& C:\bcartifacts.cache\sandbox\18.3.27240.29379\VSIX\extension\bin\alc.exe /packagecachepath:"C:\PTEagent\_work\1\s\app\.ALOPSCache" /project:"C:\PTEagent\_work\1\s\app" /out:"C:\PTEagent\_work\1\a\Abakion_ERH Base_18.0.19.0_sandbox_18.3_dk.app" /fullpaths /analyzer:"C:\bcartifacts.cache\sandbox\18.3.27240.29379\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll","C:\bcartifacts.cache\sandbox\18.3.27240.29379\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll","C:\bcartifacts.cache\sandbox\18.3.27240.29379\VSIX\extension\bin\Analyzers\Microsoft.Dynamics.Nav.PerTenantExtensionCop.dll" /parallel+ /maxDegreeOfParallelism:2 /assemblyprobingpaths:"C:\Windows\assembly","C:\Windows\Microsoft.NET\assembly","C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\Test Assemblies\Mock Assemblies","C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\LegacyDlls\program files\Microsoft Dynamics NAV\180\RoleTailored Client","C:\bcartifacts.cache\sandbox\18.3.27240.29379\platform\ServiceTier\program files\Microsoft Dynamics NAV\180\Service"
2021-08-25T14:51:25.9788594Z *** AL Compiler Exit Code: 0
2021-08-25T14:51:25.9871726Z *** Set Pipeline variable $(ALOPS_COMPILE_ARTIFACT) = 'C:\PTEagent\_work\1\a\Abakion_ERH Base_18.0.19.0_sandbox_18.3_dk.app'
2021-08-25T14:51:25.9964274Z *** Set Pipeline variable $(ALOPS_COMPILE_ARTIFACT_ARRAY) = 'C:\PTEagent\_work\1\a\Abakion_ERH Base_18.0.19.0_sandbox_18.3_dk.app'
2021-08-25T14:51:26.0215849Z *** Start processing compile results.
2021-08-25T14:51:26.0655184Z ##[warning]\app\src\page\Pag72101.ERHCustInvoiceJournal.al(15,36): warning AL0604: Use of implicit 'with' will be removed in the future. Qualify with 'Rec.'. This warning will become an error in a future release.
2021-08-25T14:51:27.1971642Z ##[warning]\app\src\table\Tab72114.ERHBudgetVersionCommentLine.al(73,16): warning AA0175: Variable 'JobPlanningCommentLine' queries the database in 'SetUpNewLine' but does not use the queried record. Only find or get record if you need to access the values. Consider using ISEMPTY.
2021-08-25T14:51:27.3385174Z *** Set Pipeline variable $(ALOPS_COMPILE_LOG) = 'C:\PTEagent\_work\1\s\Abakion_ERH Base_18.0.19.0_sandbox_18.3_dk.log'
2021-08-25T14:51:27.4566880Z *** Uploading App as Build-Artifact
2021-08-25T14:51:27.5409350Z *** Publish XLIF as Artifact skipped
2021-08-25T14:51:27.5410428Z ##[warning] Compile Succeeded with Warnings
2021-08-25T14:51:27.5412565Z ModuleType Version Name              ExportedCommands                                                                  
2021-08-25T14:51:27.5413200Z ---------- ------- ----              ----------------                                                                  
2021-08-25T14:51:27.5413843Z Script     2.0.5   BcContainerHelper {Add-FontsToBcContainer, Add-GitToAlProjectFolder, Backup-BcContainerDatabases,...
2021-08-25T14:51:27.5844678Z 
2021-08-25T14:51:27.5844872Z 
2021-08-25T14:51:27.5881992Z ##[section]Async Command Start: Add Build Tag
2021-08-25T14:51:27.5882626Z Build '19' has following tags now: AL.Analyzer.UICop, AL.Analyzer.CodeCop, AL.Analyzer.PerTenantExtensionCop
2021-08-25T14:51:27.5883052Z ##[section]Async Command End: Add Build Tag
2021-08-25T14:51:27.5884149Z ##[section]Async Command Start: Add Build Tag
2021-08-25T14:51:27.5884695Z Build '19' has following tags now: AL.Analyzer.UICop, AL.Analyzer.PerTenantExtensionCop
2021-08-25T14:51:27.5885073Z ##[section]Async Command End: Add Build Tag
2021-08-25T14:51:27.5885986Z ##[section]Async Command Start: Add Build Tag
2021-08-25T14:51:27.5886500Z Build '19' has following tags now: AL.Analyzer.PerTenantExtensionCop
2021-08-25T14:51:27.5886869Z ##[section]Async Command End: Add Build Tag
2021-08-25T14:51:27.5887781Z ##[section]Async Command Start: Upload Artifact
2021-08-25T14:51:27.5888068Z Uploading 1 files
2021-08-25T14:51:27.9429304Z File upload succeed.
2021-08-25T14:51:27.9429831Z Upload 'C:\PTEagent\_work\1\a\Abakion_ERH Base_18.0.19.0_sandbox_18.3_dk.app' to file container: '#/9423541/Erhvervshus'
2021-08-25T14:51:27.9430801Z Associated artifact 9 with build 19
2021-08-25T14:51:27.9431118Z ##[section]Async Command End: Upload Artifact
2021-08-25T14:51:27.9432375Z ##[section]Async Command Start: Update Build Number
2021-08-25T14:51:27.9432850Z Update build number to 18.0.19.0 for build 19
2021-08-25T14:51:27.9433168Z ##[section]Async Command End: Update Build Number
2021-08-25T14:51:27.9434587Z ##[section]Finishing: ALOps Compile v2 - Sandbox-18.3-dk

Expected behavior expect to take the appversiontemplate from the yaml. Seems to be taken som default value.

waldo1001 commented 3 years ago

Hi Morten,

How is this an ALOps issue? ALOps get the "18.0.*.0" from yaml, so it acts according that. It's yaml-template-parameters that gets the value in there .. which clearly goes wrong at some point in devops/yaml. But that's too far for me to figure out where it goes wrong.. .

I do see your hardcoded "appversiontemplate: '18.3.[yyyyWW].*'", but the value "18.0.*.0" ALSO comes from somewhere. This isn't something default that we have set up or something. So I guess you'll need to search for that value somewhere in your system/variables/groups/templates/scripts/.. in your pipeline.

May be best is to go back to basics: start with a non-template approach, and build it up to a template?

What I find strange is that it doesn't seem to take the hardcode value - so I really doubt this is the actual template that is being executed.. . Where does the 18.0.*.0 come from?

MortenRa commented 3 years ago

Hi Waldo,

Yes I find it strange aswell as this is setup on a new organization that has not been running any pipelines any configuration I have only 2 yaml files in the repo and I took the AlopsAppCompiler@2

Pretty simple example I took from the example site.

But if it must be there somewhere I will delete everything and start form scratch to be sure

waldo1001 commented 3 years ago

It would be awesome if you could figure out where that 18.0.*.0 comes from .. that really is strange 🤔. Or may be just delete the template and see how it reacts?

also - may be you're in the wrong branch? yaml-files are files in a repo that might be branches as well .. ? Just guessing...

MortenRa commented 3 years ago

I got it figured out was updating changes in a repo called template and the reference was to a project called Templates with a repo Templates so I was updating the wrong repo yaml, I have now cleaned up and everything work as expected.