HodorNV / ALOps

ALOps
59 stars 24 forks source link

failed_on_warnings parameter in ALOps Compile App is no longer working after last ALOps update #185

Closed kasperdj closed 4 years ago

kasperdj commented 4 years ago

Describe the bug When I compile my app with: failed_on_warnings: true then the pipeline should fail if I have any warnings. This used to work without problems before the "BC Artifact" update of ALOps

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

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
name: $(Build.BuildId)

variables:
- name: 'dockerimage'
  value: 'mcr.microsoft.com/businesscentral/onprem:2004-cu3-dk-ltsc2019'
- name: 'RunTests'
  value: '0'
- name: 'TestSuite'
  value: ''
- name: 'bc_license'
  value: 'hidden_for_the_public_url'
- name: 'CodeAnalyzers'
  value: 'CodeCop,UICop'
- name: 'ALOps_LicenseId'
  value: ''  

pool:
  name: EV_OnPremise

resources:
  repositories:
    - repository: 'yamltemplates'
      type: 'git'
      name: 'Templates/Templates'
      ref:  'refs/heads/master'

steps:
- checkout: self
  clean: true

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
# EV: ALOps License Key handling
- template: 'OnPrem-Builds/GetALOPLicenseKey.yml@yamltemplates'
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
# EV: Move Unit Tests to Test app if needed
- template: 'OnPrem-Builds/MoveUnitTestToTest.yml@yamltemplates'
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
# EV: Copy EVBusinessCentralDevelopmentHelper to Build Agent
- template: 'OnPrem-Builds/CopyEVBCDevHelperToBuildAgent.yml@yamltemplates'
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
- task: ALOpsDockerCreate@1
  inputs:
    artifactversion: '16.2'
    artifactcountry: 'dk'
    artifacttype: OnPrem
#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
- task: ALOpsDockerStart@1
  inputs:
    docker_pull: false
    accept_image_eula: true
    accept_image_outdated: true
    docker_parameters: '--isolation=hyperv'
    memory_gb: 16  

#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- task: ALOpsDockerWait@1
  inputs:
    search_string: 'Ready for connections!'
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- task: ALOpsLicenseImport@1
  inputs:
    usedocker: true
    license_path: $(bc_license)

#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- task: ALOpsAppPublish@1
  displayName: 'ALOps Install AL TestTool'
  condition: and(succeeded(), eq(variables['RunTests'], '1'))
  inputs:
    usedocker: true
    installaltesttool: true
    skip_verification: true
    install_al_app_names: |
     Tests-TestLibraries
     System Application Test
     System Application Test Library
     Any
     Library Assert
     Test Runner
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- task: ALOpsAppPublish@1
  displayName: 'EV: Install ISV and dependencies apps'
  inputs:
    usedocker: true
    nav_artifact_app_filter: '*.app'
    batch_publish_folder: '.\app\Dependencies'
    #batch_publish_folder: 'C:\Run\DevOps\app\Dependencies'
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
# EV: Install EVBusinessCentralDevelopmentHelper
- template: 'OnPrem-Builds/InstallEVBCDevHelperInDocker.yml@yamltemplates'
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
# Breaking changes - compare with master
#- task: DownloadBuildArtifacts@0
#  inputs:
#    buildType: 'specific'
#    project: '9f67f062-53be-47a5-bdd7-08a6af20386f'
#    pipeline: '17'
#    buildVersionToDownload: 'latestFromBranch'
#    branchName: 'refs/heads/master'
#    downloadType: 'specific'
#    itemPattern: '**/*APP.app'
#    downloadPath: '$(System.ArtifactsDirectory)'

#- task: ALOpsAppPublish@1
#  displayName: 'ALOps Previous master Publish AL-App'
#  inputs:
#    usedocker: true
#    nav_artifact_app_filter: '*_APP.app'   
#    skip_verification: true    
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- task: ALOpsAppCompiler@1
  displayName: 'ALOps Compile App'
  inputs:
    usedocker: true
    targetproject: 'app/app.json'
    nav_app_version: '?.?.?.*'
    al_analyzer: $(CodeAnalyzers)
    app_file_suffix: '_APP'
    failed_on_warnings: true    
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
# EV: Generate Xliff files
- template: 'OnPrem-Builds/GenerateXliffFiles.yml@yamltemplates'
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- task: ALOpsAppCompiler@1
  displayName: 'ALOps Re-Compile App with xliff'
  inputs:
    usedocker: true
    targetproject: 'app/app.json'
    nav_app_version: '?.?.?.?'
    app_file_suffix: '_APP'
    failed_on_warnings: true    
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- task: ALOpsAppPublish@1
  displayName: 'ALOps Publish AL-App'
  inputs:
    usedocker: true
    nav_artifact_app_filter: '*_APP.app'   
    skip_verification: true 
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- task: ALOpsAppCompiler@1
  displayName: 'ALOps Compile Test App'
  condition: and(succeeded(), eq(variables['RunTests'], '1'))
  inputs:
    usedocker: true
    targetproject: 'Test/app.json'
    nav_app_version: '?.?.?.?'
    app_file_suffix: '_TEST'
    failed_on_warnings: true    
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- task: ALOpsAppPublish@1
  displayName: 'ALOps Publish AL-TEST App'
  condition: and(succeeded(), eq(variables['RunTests'], '1'))
  inputs:
    usedocker: true
    nav_artifact_app_filter: '*_TEST.app'   
    skip_verification: true 
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- task: ALOpsAppTest@1
  displayName: 'EV: Run Custom Tests'
  condition: and(succeeded(), eq(variables['RunTests'], '1'))
  inputs:
    usedocker: true
    import_action: "Skip"
    import_testtoolkit: false
    testsuite: $(TestSuite) 
    failed_test_action: 'Error'
  continueOnError: true   
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- task: PublishTestResults@2
  displayName: 'ALOps Publish Test Results **/TestResults.xml'
  condition: and(succeeded(), eq(variables['RunTests'], '1'))
  inputs:
    testResultsFormat: XUnit
    testResultsFiles: '**/TestResults.xml'
    testRunTitle: 'BC Test Results: $(Build.BuildId)'
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- task: ALOpsDockerRemove@1
  displayName: 'ALOps Remove Docker Container'
  enabled: true
  condition: always()
#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

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

2020-08-26T09:39:00.7355040Z ##[section]Starting: Job
2020-08-26T09:39:00.9915840Z ##[section]Starting: Initialize job
2020-08-26T09:39:00.9916847Z Agent name: 'UDV-BCBUILD02'
2020-08-26T09:39:00.9917246Z Agent machine name: 'UDV-BCBUILD02'
2020-08-26T09:39:00.9917526Z Current agent version: '2.165.0'
2020-08-26T09:39:00.9935328Z Agent running as: 'svc_navservicetier'
2020-08-26T09:39:00.9991293Z Prepare build directory.
2020-08-26T09:39:01.0973155Z Set build variables.
2020-08-26T09:39:01.1032709Z Download all required tasks.
2020-08-26T09:39:01.2160515Z Start tracking orphan processes.
2020-08-26T09:39:01.2267690Z ##[section]Finishing: Initialize job
2020-08-26T09:39:01.2769177Z ##[section]Starting: Checkout ElbekVejrup/al-devflow-160-krj@feature/Prep to s
2020-08-26T09:39:01.3544146Z ==============================================================================
2020-08-26T09:39:01.3545472Z Task         : Get sources
2020-08-26T09:39:01.3546466Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-08-26T09:39:01.3547154Z Version      : 1.0.0
2020-08-26T09:39:01.3547899Z Author       : Microsoft
2020-08-26T09:39:01.3549082Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-08-26T09:39:01.3549854Z ==============================================================================
2020-08-26T09:39:01.9342201Z Syncing repository: ElbekVejrup/al-devflow-160-krj (Bitbucket)
2020-08-26T09:39:01.9468918Z Prepending Path environment variable with directory containing 'git.exe'.
2020-08-26T09:39:01.9521200Z ##[command]git version
2020-08-26T09:39:02.6612802Z git version 2.25.0.windows.1
2020-08-26T09:39:02.6614431Z ##[command]git config --get remote.origin.url
2020-08-26T09:39:02.6617461Z ##[command]git clean -ffdx
2020-08-26T09:39:02.6620570Z Removing Elbek & Vejrup A_S_EV Customizations_1602.0.0.1379_APP.app
2020-08-26T09:39:02.6620876Z Removing app/EVBCHelper/
2020-08-26T09:39:02.6622000Z ##[command]git reset --hard HEAD
2020-08-26T09:39:02.7383052Z HEAD is now at 4322bfb Prep for training
2020-08-26T09:39:02.7450530Z ##[command]git config gc.auto 0
2020-08-26T09:39:02.8137043Z ##[command]git config --get-all http.https://bitbucket.org/ElbekVejrup/al-devflow-160-krj.extraheader
2020-08-26T09:39:02.8856937Z ##[command]git config --get-all http.proxy
2020-08-26T09:39:02.9524200Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules origin
2020-08-26T09:39:04.5023814Z remote: Counting objects: 15, done.        
2020-08-26T09:39:04.5026029Z remote: Compressing objects:   7% (1/14)           
2020-08-26T09:39:04.5027487Z remote: Compressing objects:  14% (2/14)           
2020-08-26T09:39:04.5029899Z remote: Compressing objects:  21% (3/14)           
2020-08-26T09:39:04.5031462Z remote: Compressing objects:  28% (4/14)           
2020-08-26T09:39:04.5032973Z remote: Compressing objects:  35% (5/14)           
2020-08-26T09:39:04.5034670Z remote: Compressing objects:  42% (6/14)           
2020-08-26T09:39:04.5036266Z remote: Compressing objects:  50% (7/14)           
2020-08-26T09:39:04.5037584Z remote: Compressing objects:  57% (8/14)           
2020-08-26T09:39:04.5039636Z remote: Compressing objects:  64% (9/14)           
2020-08-26T09:39:04.5041193Z remote: Compressing objects:  71% (10/14)           
2020-08-26T09:39:04.5042846Z remote: Compressing objects:  78% (11/14)           
2020-08-26T09:39:04.5044044Z remote: Compressing objects:  85% (12/14)           
2020-08-26T09:39:04.5044926Z remote: Compressing objects:  92% (13/14)           
2020-08-26T09:39:04.5045656Z remote: Compressing objects: 100% (14/14)           
2020-08-26T09:39:04.5047224Z remote: Compressing objects: 100% (14/14), done.        
2020-08-26T09:39:04.5048977Z remote: Total 15 (delta 9), reused 0 (delta 0)        
2020-08-26T09:39:04.5858895Z From https://bitbucket.org/ElbekVejrup/al-devflow-160-krj
2020-08-26T09:39:04.5860251Z  - [deleted]         (none)     -> origin/feature/BCArtifacts
2020-08-26T09:39:04.6804766Z    65a2dd8..359e66f  develop      -> origin/develop
2020-08-26T09:39:04.6805228Z  * [new branch]      feature/Prep -> origin/feature/Prep
2020-08-26T09:39:04.7927211Z ##[command]git checkout --progress --force 8bd7f4f1b411297e201794668939096ac9fe0ad9
2020-08-26T09:39:04.8470096Z Warning: you are leaving 3 commits behind, not connected to
2020-08-26T09:39:04.8470744Z any of your branches:
2020-08-26T09:39:04.8471337Z 
2020-08-26T09:39:04.8471574Z   4322bfb Prep for training
2020-08-26T09:39:04.8471979Z   f231410 Fixed version no.
2020-08-26T09:39:04.8474135Z   6e0470f Use BCArtifacts in pipeline
2020-08-26T09:39:04.8474627Z 
2020-08-26T09:39:04.8475114Z If you want to keep them by creating a new branch, this may be a good time
2020-08-26T09:39:04.8476837Z to do so with:
2020-08-26T09:39:04.8477171Z 
2020-08-26T09:39:04.8477778Z  git branch <new-branch-name> 4322bfb
2020-08-26T09:39:04.8478117Z 
2020-08-26T09:39:04.8479211Z HEAD is now at 8bd7f4f test
2020-08-26T09:39:04.8591865Z ##[section]Finishing: Checkout ElbekVejrup/al-devflow-160-krj@feature/Prep to s
2020-08-26T09:39:04.8744227Z ##[section]Starting: EV: Get ALOps License Key
2020-08-26T09:39:04.8899932Z ==============================================================================
2020-08-26T09:39:04.8900583Z Task         : PowerShell
2020-08-26T09:39:04.8901266Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2020-08-26T09:39:04.8901918Z Version      : 2.170.1
2020-08-26T09:39:04.8902589Z Author       : Microsoft Corporation
2020-08-26T09:39:04.8903333Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2020-08-26T09:39:04.8904227Z ==============================================================================
2020-08-26T09:39:06.5525344Z Generating script.
2020-08-26T09:39:07.4718348Z ========================== Starting Command Output ===========================
2020-08-26T09:39:07.5194485Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\Agent\_work\_temp\bbd94e83-65f6-4b66-89c6-c6cd3481fe27.ps1'"
2020-08-26T09:39:08.7642746Z ##[section]Finishing: EV: Get ALOps License Key
2020-08-26T09:39:08.7816097Z ##[section]Starting: EV: Move Unit Tests to Test app if needed
2020-08-26T09:39:08.8082593Z ==============================================================================
2020-08-26T09:39:08.8082996Z Task         : PowerShell
2020-08-26T09:39:08.8083415Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2020-08-26T09:39:08.8083866Z Version      : 2.170.1
2020-08-26T09:39:08.8084125Z Author       : Microsoft Corporation
2020-08-26T09:39:08.8084674Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2020-08-26T09:39:08.8085251Z ==============================================================================
2020-08-26T09:39:10.3165694Z Generating script.
2020-08-26T09:39:10.3758761Z ========================== Starting Command Output ===========================
2020-08-26T09:39:10.4192093Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\Agent\_work\_temp\65387788-d9f2-48d5-812b-b1153c10f1be.ps1'"
2020-08-26T09:39:10.8601116Z Moving unit tests to test app
2020-08-26T09:39:10.9950872Z ##[section]Finishing: EV: Move Unit Tests to Test app if needed
2020-08-26T09:39:11.0203198Z ##[section]Starting: EV: Copy EVBusinessCentralDevelopmentHelper to Build Agent
2020-08-26T09:39:11.0445053Z ==============================================================================
2020-08-26T09:39:11.0445425Z Task         : PowerShell
2020-08-26T09:39:11.0445768Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2020-08-26T09:39:11.0446118Z Version      : 2.170.1
2020-08-26T09:39:11.0446515Z Author       : Microsoft Corporation
2020-08-26T09:39:11.0446897Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2020-08-26T09:39:11.0448638Z ==============================================================================
2020-08-26T09:39:12.5887780Z Generating script.
2020-08-26T09:39:12.6638127Z ========================== Starting Command Output ===========================
2020-08-26T09:39:12.6933980Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\Agent\_work\_temp\649381fc-bdf6-40ab-9331-ff26597bddee.ps1'"
2020-08-26T09:39:13.1116326Z Copying EVBusinessCentralDevelopmentHelper to Build Agent
2020-08-26T09:39:13.3004080Z 
2020-08-26T09:39:13.3006273Z 
2020-08-26T09:39:13.3009332Z     Directory: C:\Agent\_work\25\s\app
2020-08-26T09:39:13.3011547Z 
2020-08-26T09:39:13.3013455Z 
2020-08-26T09:39:13.3023540Z Mode                LastWriteTime         Length Name                                                                  
2020-08-26T09:39:13.3028848Z ----                -------------         ------ ----                                                                  
2020-08-26T09:39:13.3037293Z d-----       26-08-2020     11:39                EVBCHelper                                                            
2020-08-26T09:39:13.3639187Z Package: \\ev-filsrv01.ev.dk.local\Navision\EV Internal Tools\Powershell\EVRepository\EVBusinessCentralDevelopmentHelper.0.1.7.29.nupkg
2020-08-26T09:39:13.4366462Z 
2020-08-26T09:39:13.4367430Z 
2020-08-26T09:39:13.5096358Z ##[section]Finishing: EV: Copy EVBusinessCentralDevelopmentHelper to Build Agent
2020-08-26T09:39:13.5364846Z ##[section]Starting: ALOpsDockerCreate
2020-08-26T09:39:13.5535359Z ==============================================================================
2020-08-26T09:39:13.5536189Z Task         : ALOps Docker Create
2020-08-26T09:39:13.5536898Z Description  : Create Docker image from Business Central Artifacts
2020-08-26T09:39:13.5537553Z Version      : 1.433.1659
2020-08-26T09:39:13.5538115Z Author       : Hodor
2020-08-26T09:39:13.5538855Z Help         : Create Docker image based on NAV/BC Artifacts.
2020-08-26T09:39:13.5539730Z ==============================================================================
2020-08-26T09:39:15.7496419Z *** Validate configuration
2020-08-26T09:39:16.1876554Z *** ALOps License: 4233E342-D561-462E-A7CA-AFFF7384B666
2020-08-26T09:39:16.6025216Z *** ALOps License: 
2020-08-26T09:39:16.6025530Z 
2020-08-26T09:39:16.6025773Z collectionUID : f37ed824-6ee2-4b2d-9cab-683c03732c85
2020-08-26T09:39:16.6026262Z projectUID    : 9f67f062-53be-47a5-bdd7-08a6af20386f
2020-08-26T09:39:16.6026600Z licenseUID    : 4233e342-d561-462e-a7ca-afff7384b666
2020-08-26T09:39:16.6026924Z description   : Elbek & Vejrup A/S
2020-08-26T09:39:16.6027103Z 
2020-08-26T09:39:16.6027209Z 
2020-08-26T09:39:16.6027334Z 
2020-08-26T09:39:16.6027448Z 
2020-08-26T09:39:16.7518786Z *** Importing required PS-Functions
2020-08-26T09:39:17.5718641Z *** Install/Update BCContainerHelper [https://github.com/microsoft/navcontainerhelper]
2020-08-26T09:39:26.1986428Z *** Get Artifact Url for Version [16.2] / Country [dk] / Type [OnPrem]
2020-08-26T09:39:26.5245363Z *** Artifact Url: [https://bcartifacts.azureedge.net/onprem/16.2.13509.13779/dk]
2020-08-26T09:39:26.5256009Z *** Build new Image based on [https://bcartifacts.azureedge.net/onprem/16.2.13509.13779/dk]
2020-08-26T09:39:26.5315625Z *** Artifact Type   : [onprem]
2020-08-26T09:39:26.5337488Z *** Artifact Version: [16.2.13509.13779]
2020-08-26T09:39:26.5367678Z *** Artifact Country: [dk]
2020-08-26T09:39:26.9256190Z *** OS: [2019]
2020-08-26T09:39:28.0807579Z *** OS version: [10.0.17763.1397]
2020-08-26T09:39:28.0817385Z *** Image Template: [%IMAGE_PREFIX%:%ARTIFACT_TYPE%-%ARTIFACT_VERSION%-%ARTIFACT_COUNTRY%-%OS_VERSION%-%OS_LTSC%]
2020-08-26T09:39:28.0846040Z *** ImageName: [myimage:onprem-16.2.13509.13779-dk-10.0.17763.1397-ltsc2019]
2020-08-26T09:39:28.0881088Z *** Set Pipeline variable $(ALOPS_BC_IMAGE) = 'myimage:onprem-16.2.13509.13779-dk-10.0.17763.1397-ltsc2019'
2020-08-26T09:39:28.2999945Z *** Image already locally cached. Skipping Pull/Create image.
2020-08-26T09:39:28.3033766Z *** Docker Create Succeeded.
2020-08-26T09:39:28.3147858Z *** Cleanup VSTS Environment: True
2020-08-26T09:39:30.6531190Z ##[section]Finishing: ALOpsDockerCreate
2020-08-26T09:39:30.6713184Z ##[section]Starting: ALOpsDockerStart
2020-08-26T09:39:30.6871894Z ==============================================================================
2020-08-26T09:39:30.6872667Z Task         : ALOps Docker Start
2020-08-26T09:39:30.6872941Z Description  : Start a Business Central container
2020-08-26T09:39:30.6873183Z Version      : 1.433.1659
2020-08-26T09:39:30.6873406Z Author       : Hodor
2020-08-26T09:39:30.6873674Z Help         : Start Business Central docker container.
2020-08-26T09:39:30.6874013Z ==============================================================================
2020-08-26T09:39:32.8052812Z *** Importing required PS-Functions
2020-08-26T09:39:34.1275786Z *** Validate configuration
2020-08-26T09:39:34.5485149Z *** ALOps License: 4233E342-D561-462E-A7CA-AFFF7384B666
2020-08-26T09:39:34.8597746Z *** ALOps License: 
2020-08-26T09:39:34.8598011Z 
2020-08-26T09:39:34.8598250Z collectionUID : f37ed824-6ee2-4b2d-9cab-683c03732c85
2020-08-26T09:39:34.8598749Z projectUID    : 9f67f062-53be-47a5-bdd7-08a6af20386f
2020-08-26T09:39:34.8599224Z licenseUID    : 4233e342-d561-462e-a7ca-afff7384b666
2020-08-26T09:39:34.8599501Z description   : Elbek & Vejrup A/S
2020-08-26T09:39:34.8599663Z 
2020-08-26T09:39:34.8599760Z 
2020-08-26T09:39:34.8599875Z 
2020-08-26T09:39:34.8599984Z 
2020-08-26T09:39:36.3109323Z *** Splitting Additional Docker Parameters
2020-08-26T09:39:36.3123487Z *** Additional Docker parameters:
2020-08-26T09:39:36.3132488Z 
2020-08-26T09:39:36.3134485Z --isolation=hyperv
2020-08-26T09:39:36.3217346Z *** Add docker parameter: --isolation=hyperv
2020-08-26T09:39:36.3250585Z ##[command]"docker" create --memory 16G --env accept_eula=Y --env accept_outdated=Y --restart no --label TFSBuild=ElbekVejrup/al-devflow-160-krj_1382 --isolation=hyperv myimage:onprem-16.2.13509.13779-dk-10.0.17763.1397-ltsc2019
2020-08-26T09:39:36.6527942Z *** Checking for Assemblies in App
2020-08-26T09:39:36.6682419Z ##[command]"docker" start 85ec121f23cb683307cb7b0585c9023012a57e85c2fb914af0290efccf903196
2020-08-26T09:39:43.0408454Z *** Container Started: 85ec121f23cb683307cb7b0585c9023012a57e85c2fb914af0290efccf903196
2020-08-26T09:39:43.4242187Z *** Container Labels:
2020-08-26T09:39:43.4335332Z 
2020-08-26T09:39:43.4335857Z 
2020-08-26T09:39:43.4345113Z TFSBuild   : ElbekVejrup/al-devflow-160-krj_1382
2020-08-26T09:39:43.4346567Z country    : dk
2020-08-26T09:39:43.4347049Z created    : 202008251223
2020-08-26T09:39:43.4349294Z cu         : cu2
2020-08-26T09:39:43.4350680Z eula       : https://go.microsoft.com/fwlink/?linkid=861843
2020-08-26T09:39:43.4351228Z legal      : http://go.microsoft.com/fwlink/?LinkId=837447
2020-08-26T09:39:43.4352802Z maintainer : Dynamics SMB
2020-08-26T09:39:43.4353573Z nav        : 2004
2020-08-26T09:39:43.4354721Z osversion  : 10.0.17763.1397
2020-08-26T09:39:43.4355805Z platform   : 16.0.13440.13772
2020-08-26T09:39:43.4357020Z tag        : 0.1.0.16
2020-08-26T09:39:43.4358290Z version    : 16.2.13509.13779
2020-08-26T09:39:43.4358497Z 
2020-08-26T09:39:43.5882267Z *** Docker Start OK.
2020-08-26T09:39:43.5882551Z *** Cleanup VSTS Environment: True
2020-08-26T09:39:45.9445575Z ##[section]Async Command Start: Add Build Tag
2020-08-26T09:39:45.9446211Z Build '1382' has following tags now: myimage-onprem-16.2.13509.13779-dk-10.0.17763.1397-ltsc2019
2020-08-26T09:39:45.9446879Z ##[section]Async Command End: Add Build Tag
2020-08-26T09:39:45.9448099Z ##[section]Async Command Start: Add Build Tag
2020-08-26T09:39:45.9448710Z Build '1382' has following tags now: myimage-onprem-16.2.13509.13779-dk-10.0.17763.1397-ltsc2019, BC.Platform.16.0.13440.13772
2020-08-26T09:39:45.9449394Z ##[section]Async Command End: Add Build Tag
2020-08-26T09:39:45.9451593Z ##[section]Async Command Start: Add Build Tag
2020-08-26T09:39:45.9452905Z Build '1382' has following tags now: myimage-onprem-16.2.13509.13779-dk-10.0.17763.1397-ltsc2019, BC.Version.16.2.13509.13779, BC.Platform.16.0.13440.13772
2020-08-26T09:39:45.9458654Z ##[section]Async Command End: Add Build Tag
2020-08-26T09:39:45.9461893Z ##[section]Finishing: ALOpsDockerStart
2020-08-26T09:39:45.9788489Z ##[section]Starting: ALOpsDockerWait
2020-08-26T09:39:45.9979493Z ==============================================================================
2020-08-26T09:39:45.9979885Z Task         : ALOps Docker Wait
2020-08-26T09:39:45.9980216Z Description  : Wait until the Business Central container is started
2020-08-26T09:39:45.9980536Z Version      : 1.433.1659
2020-08-26T09:39:45.9980767Z Author       : Hodor
2020-08-26T09:39:45.9981101Z Help         : Wait until the Business Central container is started.
2020-08-26T09:39:45.9981497Z ==============================================================================
2020-08-26T09:39:48.2405288Z *** Validate configuration
2020-08-26T09:39:48.7255200Z *** ALOps License: 4233E342-D561-462E-A7CA-AFFF7384B666
2020-08-26T09:39:49.1529346Z *** ALOps License: 
2020-08-26T09:39:49.1529856Z 
2020-08-26T09:39:49.1530174Z collectionUID : f37ed824-6ee2-4b2d-9cab-683c03732c85
2020-08-26T09:39:49.1530671Z projectUID    : 9f67f062-53be-47a5-bdd7-08a6af20386f
2020-08-26T09:39:49.1531000Z licenseUID    : 4233e342-d561-462e-a7ca-afff7384b666
2020-08-26T09:39:49.1531435Z description   : Elbek & Vejrup A/S
2020-08-26T09:39:49.1531626Z 
2020-08-26T09:39:49.1531730Z 
2020-08-26T09:39:49.1531833Z 
2020-08-26T09:39:49.1531945Z 
2020-08-26T09:39:49.1694080Z *** Importing required PS-Functions
2020-08-26T09:39:51.6126405Z *** Waiting for Docker Container Log Entry: Ready for connections!
2020-08-26T09:39:53.3434440Z Initializing...
2020-08-26T09:39:53.3456717Z Starting Container
2020-08-26T09:39:53.3466772Z Hostname is 85ec121f23cb
2020-08-26T09:39:53.3477945Z PublicDnsName is 85ec121f23cb
2020-08-26T09:39:53.3489884Z Using NavUserPassword Authentication
2020-08-26T09:39:53.3500216Z Starting Local SQL Server
2020-08-26T09:39:55.0325970Z Starting Internet Information Server
2020-08-26T09:39:56.7235710Z Creating Self Signed Certificate
2020-08-26T09:39:58.2088326Z Self Signed Certificate Thumbprint F8FB657D5B387409D3E85935ED119F300F8F784D
2020-08-26T09:39:58.2100081Z Modifying Service Tier Config File with Instance Specific Settings
2020-08-26T09:39:58.2111112Z Starting Service Tier
2020-08-26T09:41:32.7471236Z Registering event sources
2020-08-26T09:41:32.7507973Z Creating DotNetCore Web Server Instance
2020-08-26T09:41:43.1907991Z Creating http download site
2020-08-26T09:41:44.7240486Z Setting SA Password and enabling SA
2020-08-26T09:41:46.1719146Z Creating admin as SQL User and add to sysadmin
2020-08-26T09:41:47.6081736Z Creating SUPER user
2020-08-26T09:42:06.3122919Z Container IP Address: 192.168.37.231
2020-08-26T09:42:06.3133409Z Container Hostname  : 85ec121f23cb
2020-08-26T09:42:06.3144161Z Container Dns Name  : 85ec121f23cb
2020-08-26T09:42:06.3155405Z Web Client          : https://85ec121f23cb/BC/
2020-08-26T09:42:06.3166127Z Admin Username      : admin
2020-08-26T09:42:06.3177186Z Admin Password      : Hisu8668
2020-08-26T09:42:06.3192913Z Dev. Server         : https://85ec121f23cb
2020-08-26T09:42:06.3207900Z Dev. ServerInstance : BC
2020-08-26T09:42:06.3213075Z 
2020-08-26T09:42:06.3262665Z Files:
2020-08-26T09:42:06.3268412Z http://85ec121f23cb:8080/ALLanguage.vsix
2020-08-26T09:42:06.3270484Z http://85ec121f23cb:8080/certificate.cer
2020-08-26T09:42:06.3270824Z 
2020-08-26T09:42:06.3271226Z Initialization took 137 seconds
2020-08-26T09:42:06.3290152Z Ready for connections!
2020-08-26T09:42:06.3302365Z Starting EventLog Monitor
2020-08-26T09:42:06.3314707Z Monitoring EventSources from EventLog[Application]:
2020-08-26T09:42:06.3335004Z - MicrosoftDynamicsNAVClientClientService
2020-08-26T09:42:06.3344434Z - MicrosoftDynamicsNAVClientWebClient
2020-08-26T09:42:06.3354797Z - MicrosoftDynamicsNavServer$BC
2020-08-26T09:42:06.3365984Z - MSSQL$SQLEXPRESS
2020-08-26T09:42:06.3369426Z 
2020-08-26T09:42:06.5283623Z 
2020-08-26T09:42:07.0186714Z *** BC Container Parameters:
2020-08-26T09:42:07.0214342Z 
2020-08-26T09:42:07.0214608Z 
2020-08-26T09:42:07.0229301Z Thumbprint        : F8FB657D5B387409D3E85935ED119F300F8F784D
2020-08-26T09:42:07.0230033Z IPAddress         : 192.168.37.231
2020-08-26T09:42:07.0230440Z Hostname          : 85ec121f23cb
2020-08-26T09:42:07.0232068Z DnsName           : 85ec121f23cb
2020-08-26T09:42:07.0232672Z WebClient         : https://85ec121f23cb/BC/
2020-08-26T09:42:07.0234939Z AdminUser         : admin
2020-08-26T09:42:07.0236466Z AdminPassword     : Hisu8668
2020-08-26T09:42:07.0285638Z NavServerInstance : BC
2020-08-26T09:42:07.0287439Z VSIX              : http://85ec121f23cb:8080/ALLanguage.vsix
2020-08-26T09:42:07.0288403Z SSLCertificate    : http://85ec121f23cb:8080/certificate.cer
2020-08-26T09:42:07.0289166Z Duration          : 137
2020-08-26T09:42:07.0289478Z 
2020-08-26T09:42:07.0289868Z *** Mapping container info to global variables:
2020-08-26T09:42:07.0366943Z *** Set Pipeline variable $(ALOPS_DOCKER_CONTAINER_ID) = '85ec121f23cb683307cb7b0585c9023012a57e85c2fb914af0290efccf903196'
2020-08-26T09:42:07.0477487Z *** Set Pipeline variable $(ALOPS_DOCKER_IPADDRESS) = '192.168.37.231'
2020-08-26T09:42:07.0525429Z *** Set Pipeline variable $(ALOPS_DOCKER_HOSTNAME) = '85ec121f23cb'
2020-08-26T09:42:07.0602711Z *** Set Pipeline variable $(ALOPS_DOCKER_DNSNAME) = '85ec121f23cb'
2020-08-26T09:42:07.0656709Z *** Set Pipeline variable $(ALOPS_DOCKER_WEBCLIENT) = 'https://85ec121f23cb/BC/'
2020-08-26T09:42:07.0704971Z *** Set Pipeline variable $(ALOPS_DOCKER_VSIX) = 'http://85ec121f23cb:8080/ALLanguage.vsix'
2020-08-26T09:42:07.0750613Z *** Set Pipeline variable $(ALOPS_DOCKER_CERTIFICATE) = 'http://85ec121f23cb:8080/certificate.cer'
2020-08-26T09:42:07.0800647Z *** Set Pipeline variable $(ALOPS_DOCKER_ADMINUSER) = 'admin'
2020-08-26T09:42:07.0850970Z *** Set Pipeline variable $(ALOPS_DOCKER_ADMINPASSWORD) = 'Hisu8668'
2020-08-26T09:42:07.0900184Z *** Set Pipeline variable $(ALOPS_DOCKER_NAVSERVERINSTANCE) = 'BC'
2020-08-26T09:42:07.1057226Z *** Initiate Docker Session
2020-08-26T09:42:07.5557118Z *** Set Docker Container ErrorActionPreference = Stop
2020-08-26T09:42:07.7970771Z *** Working folder: C:\Agent\_work\25\s
2020-08-26T09:42:07.7979818Z ***
2020-08-26T09:42:07.7989986Z *** Copy Working folder to Docker Container: 85ec121f23cb683307cb7b0585c9023012a57e85c2fb914af0290efccf903196
2020-08-26T09:42:07.8001207Z *** Docker Working Folder: c:\Run\DevOps\
2020-08-26T09:42:07.8016865Z *** Copy from [C:\Agent\_work\25\s] to [c:\Run\DevOps\]
2020-08-26T09:42:07.9790478Z *** Compression Enabled Transfer (Dotnet)
2020-08-26T09:42:07.9939075Z *** Compress Source Files
2020-08-26T09:42:11.2058434Z *** Transfer compressed Archive to session (20053925 bytes)
2020-08-26T09:42:15.7268691Z *** Expand source files in target session
2020-08-26T09:42:16.3369089Z *** Source File setup completed
2020-08-26T09:42:16.3447971Z *** Container : Ready for connections!
2020-08-26T09:42:16.3585107Z *** Cleanup VSTS Environment: True
2020-08-26T09:42:19.2490184Z ##[section]Finishing: ALOpsDockerWait
2020-08-26T09:42:19.2680900Z ##[section]Starting: ALOpsLicenseImport
2020-08-26T09:42:19.2841322Z ==============================================================================
2020-08-26T09:42:19.2841968Z Task         : ALOps License Import
2020-08-26T09:42:19.2842512Z Description  : Import Business Central license (.flf)
2020-08-26T09:42:19.2843016Z Version      : 1.433.1659
2020-08-26T09:42:19.2843423Z Author       : Hodor
2020-08-26T09:42:19.2843881Z Help         : Import Business Central license (.flf).
2020-08-26T09:42:19.2845792Z ==============================================================================
2020-08-26T09:42:21.2737405Z *** Validate configuration
2020-08-26T09:42:21.6788987Z *** ALOps License: 4233E342-D561-462E-A7CA-AFFF7384B666
2020-08-26T09:42:22.0831084Z *** ALOps License: 
2020-08-26T09:42:22.0831551Z 
2020-08-26T09:42:22.0832012Z collectionUID : f37ed824-6ee2-4b2d-9cab-683c03732c85
2020-08-26T09:42:22.0832687Z projectUID    : 9f67f062-53be-47a5-bdd7-08a6af20386f
2020-08-26T09:42:22.0833666Z licenseUID    : 4233e342-d561-462e-a7ca-afff7384b666
2020-08-26T09:42:22.0834281Z description   : Elbek & Vejrup A/S
2020-08-26T09:42:22.0834603Z 
2020-08-26T09:42:22.0834799Z 
2020-08-26T09:42:22.0835023Z 
2020-08-26T09:42:22.0835216Z 
2020-08-26T09:42:22.0968174Z *** Importing required PS-Functions
2020-08-26T09:42:22.9044328Z *** Connect Docker Session
2020-08-26T09:42:24.3392364Z *** Initiate Docker Session
2020-08-26T09:42:24.7849643Z *** Set Docker Container ErrorActionPreference = Stop
2020-08-26T09:42:25.3646296Z *** Import license in docker container.
2020-08-26T09:42:25.9685040Z *** Import NAV/BC Management DLL's
2020-08-26T09:42:25.9786693Z *** Loading assemblies for ServiceTier [BC].
2020-08-26T09:42:27.2386678Z *** Loading assemblies from: [C:\program files\microsoft dynamics nav\160\service]
2020-08-26T09:42:27.2668155Z *** Selected module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2020-08-26T09:42:27.2716056Z *** Loading module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2020-08-26T09:42:27.3599425Z *** Selected module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Management.dll]
2020-08-26T09:42:27.3625770Z *** Loading module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Management.dll]
2020-08-26T09:42:27.4008751Z *** Setup Flf File: https://evdevlicense.file.core.windows.net/license-share/16.flf?sv=2019-02-02&ss=f&srt=sco&sp=rwlc&se=2050-01-10T17:01:42Z&st=2020-01-10T09:01:42Z&spr=https&sig=KrUpLeDWFxabgaa7rDrfDY8%2FnnXGKfyv%2BlU4TwfOAPw%3D
2020-08-26T09:42:27.4201634Z *** Create TempFile
2020-08-26T09:42:27.4647969Z *** Download file
2020-08-26T09:42:29.4946246Z *** Flf File: C:\Users\ContainerAdministrator\AppData\Local\Temp\tmpA927.tmp.flf
2020-08-26T09:42:29.4954708Z *** Import License: [C:\Users\ContainerAdministrator\AppData\Local\Temp\tmpA927.tmp.flf]
2020-08-26T09:42:29.8275857Z *** Remove License: [C:\Users\ContainerAdministrator\AppData\Local\Temp\tmpA927.tmp.flf]
2020-08-26T09:42:29.8404336Z 
2020-08-26T09:42:29.8421743Z  Id Name            ComputerName    ComputerType    State         ConfigurationName     Availability
2020-08-26T09:42:29.8434663Z  -- ----            ------------    ------------    -----         -----------------     ------------
2020-08-26T09:42:29.8449703Z   1 WinRM1          85ec121f23cb... Container       Opened                                 Available
2020-08-26T09:42:29.8461849Z *** Disconnect Docker session.
2020-08-26T09:42:29.8503017Z *** Remove Docker session.
2020-08-26T09:42:29.8517890Z *** Docker session removed.
2020-08-26T09:42:29.8534566Z *** Import License Results:
2020-08-26T09:42:29.8545963Z *** Import License Completed.
2020-08-26T09:42:29.8631670Z *** Cleanup VSTS Environment: True
2020-08-26T09:42:32.6389900Z ##[section]Finishing: ALOpsLicenseImport
2020-08-26T09:42:32.6714881Z ##[section]Starting: EV: Install ISV and dependencies apps
2020-08-26T09:42:32.6879162Z ==============================================================================
2020-08-26T09:42:32.6879563Z Task         : ALOps App Publish
2020-08-26T09:42:32.6879879Z Description  : Publish AL Extension to Business Central
2020-08-26T09:42:32.6880183Z Version      : 1.433.1659
2020-08-26T09:42:32.6880420Z Author       : Hodor
2020-08-26T09:42:32.6880736Z Help         : Publish Business Central extension to service tier.
2020-08-26T09:42:32.6881161Z ==============================================================================
2020-08-26T09:42:35.5499784Z *** Validate configuration
2020-08-26T09:42:35.9802836Z *** ALOps License: 4233E342-D561-462E-A7CA-AFFF7384B666
2020-08-26T09:42:36.2699087Z *** ALOps License: 
2020-08-26T09:42:36.2699353Z 
2020-08-26T09:42:36.2699618Z collectionUID : f37ed824-6ee2-4b2d-9cab-683c03732c85
2020-08-26T09:42:36.2700153Z projectUID    : 9f67f062-53be-47a5-bdd7-08a6af20386f
2020-08-26T09:42:36.2700775Z licenseUID    : 4233e342-d561-462e-a7ca-afff7384b666
2020-08-26T09:42:36.2701095Z description   : Elbek & Vejrup A/S
2020-08-26T09:42:36.2701296Z 
2020-08-26T09:42:36.2701398Z 
2020-08-26T09:42:36.2701497Z 
2020-08-26T09:42:36.2701631Z 
2020-08-26T09:42:36.2833332Z *** Importing required PS-Functions
2020-08-26T09:42:36.2846096Z  - Use Docker         = True
2020-08-26T09:42:36.2857550Z  - Artifact Path      = 
2020-08-26T09:42:36.2870936Z  - App Filter         = *.app
2020-08-26T09:42:36.2887099Z  - Process Type       = Build
2020-08-26T09:42:36.2899843Z  - Skip Verification  = True
2020-08-26T09:42:36.2911172Z  - Force Sync         = False
2020-08-26T09:42:36.2915530Z 
2020-08-26T09:42:36.2926243Z *** Importing required PS-Functions
2020-08-26T09:42:38.7409799Z *** Initiate Docker Session
2020-08-26T09:42:39.2061856Z *** Set Docker Container ErrorActionPreference = Stop
2020-08-26T09:42:39.9044107Z *** Start Batch App-Publish.
2020-08-26T09:42:40.1007328Z *** Copy Artifacts: [C:\Agent\_work\25\s\.\app\Dependencies] to [c:\Run\DevOps\Artifacts]
2020-08-26T09:42:40.9358637Z *** Import NAV/BC Management DLL's
2020-08-26T09:42:40.9424666Z *** Loading assemblies for ServiceTier [BC].
2020-08-26T09:42:41.2448009Z *** Loading assemblies from: [C:\program files\microsoft dynamics nav\160\service]
2020-08-26T09:42:41.2620389Z *** Selected module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2020-08-26T09:42:41.2651946Z *** Loading module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2020-08-26T09:42:41.3305392Z *** Selected module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Management.dll]
2020-08-26T09:42:41.3336236Z *** Loading module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Management.dll]
2020-08-26T09:42:41.7711471Z *** Get Available Applications from [c:\Run\DevOps\Artifacts].
2020-08-26T09:42:41.7921478Z *** Get [*.app] files recursive from [c:\Run\DevOps\Artifacts]
2020-08-26T09:42:41.7993658Z *** Found [0] files.
2020-08-26T09:42:41.8046126Z *** No Apps found for batch publishing: exiting.
2020-08-26T09:42:41.8064063Z *** Batch App-Publish finished.
2020-08-26T09:42:41.8079133Z *** AL-Extension Published to ALOps Repository
2020-08-26T09:42:42.2564819Z ##[section]Finishing: EV: Install ISV and dependencies apps
2020-08-26T09:42:42.2733902Z ##[section]Starting: EV: Install EVBusinessCentralDevelopmentHelper
2020-08-26T09:42:42.2966841Z ==============================================================================
2020-08-26T09:42:42.2967226Z Task         : ALOps Docker Execute
2020-08-26T09:42:42.2967623Z Description  : Execute powershell script in a Business Central container
2020-08-26T09:42:42.2967948Z Version      : 1.433.1659
2020-08-26T09:42:42.2968192Z Author       : Hodor
2020-08-26T09:42:42.2968496Z Help         : Execute powershell script in container.
2020-08-26T09:42:42.2968855Z ==============================================================================
2020-08-26T09:42:44.3035904Z *** Validate configuration
2020-08-26T09:42:44.8309969Z *** ALOps License: 4233E342-D561-462E-A7CA-AFFF7384B666
2020-08-26T09:42:45.5950815Z *** ALOps License: 
2020-08-26T09:42:45.5951588Z 
2020-08-26T09:42:45.5952131Z collectionUID : f37ed824-6ee2-4b2d-9cab-683c03732c85
2020-08-26T09:42:45.5952797Z projectUID    : 9f67f062-53be-47a5-bdd7-08a6af20386f
2020-08-26T09:42:45.5953304Z licenseUID    : 4233e342-d561-462e-a7ca-afff7384b666
2020-08-26T09:42:45.5953765Z description   : Elbek & Vejrup A/S
2020-08-26T09:42:45.5954058Z 
2020-08-26T09:42:45.5954222Z 
2020-08-26T09:42:45.5954725Z 
2020-08-26T09:42:45.5955117Z 
2020-08-26T09:42:45.7407485Z *** Importing required PS-Functions
2020-08-26T09:42:47.8147272Z *** Initiate Docker Session
2020-08-26T09:42:48.2280332Z *** Set Docker Container ErrorActionPreference = Stop
2020-08-26T09:42:49.0283470Z *** Load module [Microsoft.Dynamics.Nav.Management]
2020-08-26T09:42:49.1108946Z *** Load module [Microsoft.Dynamics.Nav.Apps.Management]
2020-08-26T09:42:49.1498943Z *** Invoking Script in container
2020-08-26T09:42:49.4593332Z 
2020-08-26T09:42:49.4594171Z 
2020-08-26T09:42:49.4594717Z 
2020-08-26T09:42:49.4598606Z 
2020-08-26T09:42:49.4599123Z 
2020-08-26T09:42:49.4599603Z 
2020-08-26T09:42:49.4599862Z 
2020-08-26T09:42:49.4600049Z 
2020-08-26T09:42:49.4600278Z 
2020-08-26T09:42:49.4600736Z 
2020-08-26T09:42:49.4607420Z Installing Module: EVBusinessCentralDevelopmentHelper
2020-08-26T09:42:49.4626883Z PSScriptRoot C:\Run\DevOps\app\EVBCHelper
2020-08-26T09:42:49.4662490Z PackageFile C:\Run\DevOps\app\EVBCHelper\EVBusinessCentralDevelopmentHelper.0.1.7.29.nupkg
2020-08-26T09:42:49.4821105Z TempFolder C:\Users\ContainerAdministrator\AppData\Local\Temp\27c4e197-6228-4bb7-936e-cb96a7d137c9
2020-08-26T09:42:52.3737923Z ModulePath C:\Program Files\WindowsPowerShell\Modules\EVBusinessCentralDevelopmentHelper\0.1.7.29
2020-08-26T09:42:52.3743097Z 0.1.7.29 0.1.7.29
2020-08-26T09:42:52.3743575Z 
2020-08-26T09:42:52.3748983Z Module: EVBusinessCentralDevelopmentHelper Version: 0.1.7.29 Is Installed
2020-08-26T09:42:52.3763498Z *** Script invoked in container
2020-08-26T09:42:52.3842917Z 
2020-08-26T09:42:52.3861316Z  Id Name            ComputerName    ComputerType    State         ConfigurationName     Availability
2020-08-26T09:42:52.3872378Z  -- ----            ------------    ------------    -----         -----------------     ------------
2020-08-26T09:42:52.3886409Z   1 WinRM1          85ec121f23cb... Container       Opened                                 Available
2020-08-26T09:42:52.3968026Z *** Disconnect Docker session.
2020-08-26T09:42:52.4008672Z *** Remove Docker session.
2020-08-26T09:42:52.4018789Z *** Docker session removed.
2020-08-26T09:42:52.4028559Z *** Powershell executed in container.
2020-08-26T09:42:52.4179069Z *** Cleanup VSTS Environment: True
2020-08-26T09:42:55.1906166Z ##[section]Finishing: EV: Install EVBusinessCentralDevelopmentHelper
2020-08-26T09:42:55.2073350Z ##[section]Starting: ALOps Compile App
2020-08-26T09:42:55.2245978Z ==============================================================================
2020-08-26T09:42:55.2246386Z Task         : ALOps App Compiler
2020-08-26T09:42:55.2246703Z Description  : Compile AL Extensions for Business Central
2020-08-26T09:42:55.2246991Z Version      : 1.433.1659
2020-08-26T09:42:55.2247255Z Author       : Hodor
2020-08-26T09:42:55.2247578Z Help         : Compile a Business Central extension from AL code.
2020-08-26T09:42:55.2247986Z ==============================================================================
2020-08-26T09:42:58.6332609Z *** Validate configuration
2020-08-26T09:42:59.1025183Z *** ALOps License: 4233E342-D561-462E-A7CA-AFFF7384B666
2020-08-26T09:42:59.5297004Z *** ALOps License: 
2020-08-26T09:42:59.5297215Z 
2020-08-26T09:42:59.5297513Z collectionUID : f37ed824-6ee2-4b2d-9cab-683c03732c85
2020-08-26T09:42:59.5298459Z projectUID    : 9f67f062-53be-47a5-bdd7-08a6af20386f
2020-08-26T09:42:59.5298843Z licenseUID    : 4233e342-d561-462e-a7ca-afff7384b666
2020-08-26T09:42:59.5299143Z description   : Elbek & Vejrup A/S
2020-08-26T09:42:59.5299318Z 
2020-08-26T09:42:59.5299440Z 
2020-08-26T09:42:59.5299579Z 
2020-08-26T09:42:59.5299681Z 
2020-08-26T09:42:59.5508447Z *** Importing required PS-Functions
2020-08-26T09:43:03.1860004Z *** Initiate Docker Session
2020-08-26T09:43:03.6318340Z *** Set Docker Container ErrorActionPreference = Stop
2020-08-26T09:43:04.6879921Z *** Import NAV/BC Management DLL's
2020-08-26T09:43:04.6893634Z *** Loading assemblies for ServiceTier [BC].
2020-08-26T09:43:05.0766217Z *** Loading assemblies from: [C:\program files\microsoft dynamics nav\160\service]
2020-08-26T09:43:05.0954425Z *** Selected module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2020-08-26T09:43:05.0987526Z *** Loading module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2020-08-26T09:43:05.1687345Z *** Selected module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Management.dll]
2020-08-26T09:43:05.1711178Z *** Loading module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Management.dll]
2020-08-26T09:43:05.5074282Z *** Setting up AL Compiler [ALLanguage]
2020-08-26T09:43:05.9264534Z *** Downloading AL Compiler [ALLanguage]
2020-08-26T09:43:05.9407774Z *** Get Extension from Local-Disk...[C:\Run\ALLanguage.vsix]
2020-08-26T09:43:05.9419420Z *** Resolving Path [C:\Run\ALLanguage.vsix]
2020-08-26T09:43:06.4682924Z *** VSIX Path Resolved: [C:\Run\ALLanguage.vsix]
2020-08-26T09:43:06.4758741Z *** Unpacking Extension to folder...
2020-08-26T09:43:12.2733802Z *** Loading Json Object: [c:\Run\Microsoft.al\al-ALLanguage\extension\package.json]
2020-08-26T09:43:12.3203963Z *** Using AL Compiler [vALLanguage] located [C:\Run\Microsoft.al\al-ALLanguage\extension\bin\alc.exe]
2020-08-26T09:43:12.3211897Z ***
2020-08-26T09:43:12.3235645Z *** Working folder: C:\Agent\_work\25\s
2020-08-26T09:43:12.3248974Z ***
2020-08-26T09:43:12.3262906Z *** Copy Working folder to Docker Container: 85ec121f23cb683307cb7b0585c9023012a57e85c2fb914af0290efccf903196
2020-08-26T09:43:12.3276159Z *** Docker Working Folder: c:\Run\DevOps\
2020-08-26T09:43:12.3292068Z *** Copy from [C:\Agent\_work\25\s] to [c:\Run\DevOps\]
2020-08-26T09:43:12.3394955Z *** Source File setup completed
2020-08-26T09:43:12.6487377Z *** Target Project: \app\app.json
2020-08-26T09:43:12.6528852Z *** Check for app.json files: c:\Run\DevOps\
2020-08-26T09:43:12.6940199Z *** Multiple projects found:
2020-08-26T09:43:12.7076058Z    - C:\Run\DevOps\app
2020-08-26T09:43:12.7107401Z    - C:\Run\DevOps\debug
2020-08-26T09:43:12.7162133Z *** Retrieving App-Info [\app\app.json]
2020-08-26T09:43:12.7200533Z *** Loading Json Object: [c:\Run\DevOps\app\app.json]
2020-08-26T09:43:12.7273225Z   * App.ID          = 7d1fc896-3b41-4d1f-8f17-11d3341ff9f7
2020-08-26T09:43:12.7352783Z   * App.Name        = EV Customizations
2020-08-26T09:43:12.7416187Z   * App.Publisher   = Elbek & Vejrup A/S
2020-08-26T09:43:12.7479248Z   * App.Version     = 1602.0.0.0
2020-08-26T09:43:12.7553551Z   * App.Platform    = 
2020-08-26T09:43:12.7592252Z   * App.Application = 16.2.0.0
2020-08-26T09:43:12.7670714Z ***
2020-08-26T09:43:12.8237830Z *** Retaining original [Major] from version (?.0.0.0)
2020-08-26T09:43:12.8315100Z *** Retaining original [Minor] from version (0.?.0.0)
2020-08-26T09:43:12.8352972Z *** Retaining original [Build] from version (0.0.?.0)
2020-08-26T09:43:12.8477685Z *** Setting Managed App Version [c:\Run\DevOps\app\app.json] =>  1602.0.0.1382
2020-08-26T09:43:13.0183986Z ***
2020-08-26T09:43:13.0184537Z *** Working Direcotry: [c:\Run\DevOps\]
2020-08-26T09:43:13.0185090Z *** Target Project: [\app\app.json]
2020-08-26T09:43:13.0185615Z *** Project Directory: [c:\Run\DevOps\app]
2020-08-26T09:43:13.0186283Z *** VSCode Settings: [c:\Run\DevOps\app\.vscode\settings.json]
2020-08-26T09:43:13.0187027Z *** VSCode-Settings json found.
2020-08-26T09:43:13.0187618Z *** Loading Json Object: [c:\Run\DevOps\app\.vscode\settings.json]
2020-08-26T09:43:13.0307827Z *** Using Ruleset: [c:\Run\DevOps\app\custom.ruleset.json]
2020-08-26T09:43:13.0324302Z ***
2020-08-26T09:43:13.6724615Z *** Resolve Docker Credentials
2020-08-26T09:43:13.7001733Z *** Setup BC Username/Password from Container info
2020-08-26T09:43:13.7135205Z *** Download Symbols
2020-08-26T09:43:14.2450866Z *** Working Dir: c:\Run\DevOps\
2020-08-26T09:43:14.5057935Z *** Loading assemblies from: [C:\program files\microsoft dynamics nav\160\service]
2020-08-26T09:43:14.6323058Z *** PackageCache path created [c:\Run\DevOps\PackageCache]
2020-08-26T09:43:14.6345628Z ***
2020-08-26T09:43:14.6444468Z *** Download Application-Symbols for [16.2.0.0]
2020-08-26T09:43:14.7769714Z *** Downloading NAV Symbols for [Application v16.2.0.0]
2020-08-26T09:43:14.7793124Z *** Downloading NAV Symbols from [https://85ec121f23cb:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=16.2.0.0&tenant=default]
2020-08-26T09:43:14.8351533Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2020-08-26T09:43:14.8385973Z ##[command]Invoke-RestMethod -Method Get -Uri https://85ec121f23cb:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=16.2.0.0&tenant=default
2020-08-26T09:43:15.8619320Z *** Content-Disposition: attachment; filename=Microsoft_Application_16.2.13509.13779.app
2020-08-26T09:43:15.9071170Z *** Saving symbol file [Microsoft_Application_16.2.13509.13779.app] to [c:\Run\DevOps\PackageCache]
2020-08-26T09:43:15.9296527Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_Application_16.2.13509.13779.app].
2020-08-26T09:43:16.1038351Z *** Propagated Dependency: Microsoft - System Application - 16.2.0.0
2020-08-26T09:43:16.1249231Z *** Propagated Dependency: Microsoft - Base Application - 16.2.0.0
2020-08-26T09:43:16.1451973Z ***
2020-08-26T09:43:16.1460040Z *** Check for Depency Apps 2
2020-08-26T09:43:16.1574362Z *** Download Application-Symbols for [System Application v16.2.0.0]
2020-08-26T09:43:16.1628199Z *** Downloading NAV Symbols for [System Application v16.2.0.0]
2020-08-26T09:43:16.1649067Z *** Downloading NAV Symbols from [https://85ec121f23cb:7049/BC/dev/packages?publisher=Microsoft&appName=System+Application&versionText=16.2.0.0&tenant=default]
2020-08-26T09:43:16.1657618Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2020-08-26T09:43:16.1671904Z ##[command]Invoke-RestMethod -Method Get -Uri https://85ec121f23cb:7049/BC/dev/packages?publisher=Microsoft&appName=System+Application&versionText=16.2.0.0&tenant=default
2020-08-26T09:43:16.3356048Z *** Content-Disposition: attachment; filename="Microsoft_System Application_16.2.13509.13779.app"
2020-08-26T09:43:16.3448280Z *** Saving symbol file [Microsoft_System Application_16.2.13509.13779.app] to [c:\Run\DevOps\PackageCache]
2020-08-26T09:43:16.3456812Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_System Application_16.2.13509.13779.app].
2020-08-26T09:43:16.3497333Z ***
2020-08-26T09:43:16.3520227Z *** Download Application-Symbols for [Base Application v16.2.0.0]
2020-08-26T09:43:16.3546193Z *** Downloading NAV Symbols for [Base Application v16.2.0.0]
2020-08-26T09:43:16.3556887Z *** Downloading NAV Symbols from [https://85ec121f23cb:7049/BC/dev/packages?publisher=Microsoft&appName=Base+Application&versionText=16.2.0.0&tenant=default]
2020-08-26T09:43:16.3570749Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2020-08-26T09:43:16.3585110Z ##[command]Invoke-RestMethod -Method Get -Uri https://85ec121f23cb:7049/BC/dev/packages?publisher=Microsoft&appName=Base+Application&versionText=16.2.0.0&tenant=default
2020-08-26T09:43:16.4762710Z *** Content-Disposition: attachment; filename="Microsoft_Base Application_16.2.13509.13779.app"
2020-08-26T09:43:16.4876373Z *** Saving symbol file [Microsoft_Base Application_16.2.13509.13779.app] to [c:\Run\DevOps\PackageCache]
2020-08-26T09:43:16.6576720Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_Base Application_16.2.13509.13779.app].
2020-08-26T09:43:16.9035493Z ***
2020-08-26T09:43:17.2739290Z *** Starting AL Compiler...
2020-08-26T09:43:17.2748329Z *** App.Name         = EV Customizations
2020-08-26T09:43:17.2762261Z *** App.Publisher    = Elbek & Vejrup A/S
2020-08-26T09:43:17.2779411Z *** App.Compiler Path= C:\Run\Microsoft.al\al-ALLanguage\extension\bin\alc.exe
2020-08-26T09:43:17.2852892Z *** Checking for Assemblies in App
2020-08-26T09:43:17.3068390Z *** Add Windows Assembly Path [C:\Windows\assembly]
2020-08-26T09:43:17.3098425Z *** Modified Name from [Elbek & Vejrup A/S_EV Customizations_1602.0.0.1382_APP.app] to [Elbek & Vejrup A_S_EV Customizations_1602.0.0.1382_APP.app]
2020-08-26T09:43:17.3106751Z *** Searching CodeCop: CodeCop
2020-08-26T09:43:17.3327930Z *** Codecop found: C:\Run\Microsoft.al\al-ALLanguage\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll
2020-08-26T09:43:17.3928266Z *** Searching CodeCop: UICop
2020-08-26T09:43:17.3931508Z *** Codecop found: C:\Run\Microsoft.al\al-ALLanguage\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll
2020-08-26T09:43:17.4717335Z ##[command]& C:\Run\Microsoft.al\al-ALLanguage\extension\bin\alc.exe /packagecachepath:"c:\Run\DevOps\PackageCache" /project:"c:\Run\DevOps\app" /out:"c:\Run\DevOps\Elbek & Vejrup A_S_EV Customizations_1602.0.0.1382_APP.app" /fullpaths /ruleset:"c:\Run\DevOps\app\custom.ruleset.json" /analyzer:"C:\Run\Microsoft.al\al-ALLanguage\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll","C:\Run\Microsoft.al\al-ALLanguage\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll" /assemblyprobingpaths:C:\Windows\assembly
2020-08-26T09:43:29.1632516Z *** AL Compiler Exit Code: 0
2020-08-26T09:43:29.2372162Z *** AL Compiler raw logs: Start
2020-08-26T09:43:29.2433285Z Microsoft (R) AL Compiler version 5.0.4.18787 Copyright (C) Microsoft Corporation. All rights reserved  Compilation started for project 'EV Customizations' containing '2' files at '11:43:18.754'.  c:\Run\DevOps\app\Source\CustomerRating\RatingList.Page.al(1,12): info AW0006: The page 'Rating List_EVAS' should use the UsageCategory and ApplicationArea properties to be searchable.  Compilation ended at '11:43:29.98'. 
2020-08-26T09:43:29.2452974Z *** AL Compiler raw logs: End
2020-08-26T09:43:29.2462492Z *** Start processing compile results.
2020-08-26T09:43:29.2931815Z c:\Run\DevOps\app\Source\CustomerRating\RatingList.Page.al(1,12): info AW0006: The page 'Rating List_EVAS' should use the UsageCategory and ApplicationArea properties to be searchable.
2020-08-26T09:43:29.3356684Z 
2020-08-26T09:43:29.3492716Z AlertCode Line RelativePath                                 File               AlertSource AlertMessage                
2020-08-26T09:43:29.3508059Z --------- ---- ------------                                 ----               ----------- ------------                
2020-08-26T09:43:29.3534178Z AW0006    1    app\Source\CustomerRating\RatingList.Page.al RatingList.Page.al             The page 'Rating List_EVA...
2020-08-26T09:43:29.3534686Z 
2020-08-26T09:43:29.3537128Z 
2020-08-26T09:43:29.3549567Z *** Store compile log to [c:\Run\DevOps\compilelog.txt]
2020-08-26T09:43:29.3561165Z *** Start processing compile results done.
2020-08-26T09:43:29.3582077Z *** Transfer App Artifact from Docker container.
2020-08-26T09:43:29.8383432Z *** Transfer Compile Log from Docker container.
2020-08-26T09:43:30.0585301Z *** Attach Compile Log to Vsts Build info.
2020-08-26T09:43:30.1469872Z *** Process Compile results.
2020-08-26T09:43:30.1470460Z *** Process Compile results: retrieve status.
2020-08-26T09:43:30.1470941Z *** Transfer App file to Artifacts.
2020-08-26T09:43:30.1471203Z *** AL Compiler Finished.
2020-08-26T09:43:30.1471380Z ***
2020-08-26T09:43:30.1471541Z *** Compile OK.
2020-08-26T09:43:30.1473975Z ***
2020-08-26T09:43:30.1552852Z 
2020-08-26T09:43:30.1566744Z *** Disconnect Docker session.
2020-08-26T09:43:30.1597260Z *** Remove Docker session.
2020-08-26T09:43:30.1610012Z *** Docker session removed.
2020-08-26T09:43:30.1675060Z *** Set Pipeline variable $(ALOPS_COMPILE_ARTIFACT) = 'C:\Agent\_work\25\a\Elbek & Vejrup A_S_EV Customizations_1602.0.0.1382_APP.app'
2020-08-26T09:43:30.1700427Z *** Uploading APP as Build-Artifact
2020-08-26T09:43:30.2274625Z *** App-Artifact uploaded.
2020-08-26T09:43:30.2274863Z ***
2020-08-26T09:43:30.2275104Z *** Cleanup VSTS Environment: True
2020-08-26T09:43:32.5208595Z ##[section]Async Command Start: Add Build Tag
2020-08-26T09:43:32.5209425Z Build '1382' has following tags now: AL.Compiler.ALLanguage, myimage-onprem-16.2.13509.13779-dk-10.0.17763.1397-ltsc2019, BC.Version.16.2.13509.13779, BC.Platform.16.0.13440.13772
2020-08-26T09:43:32.5210245Z ##[section]Async Command End: Add Build Tag
2020-08-26T09:43:32.5211336Z ##[section]Async Command Start: Update Build Number
2020-08-26T09:43:32.5211852Z Update build number to 1602.0.0.1382 for build 1382
2020-08-26T09:43:32.5212221Z ##[section]Async Command End: Update Build Number
2020-08-26T09:43:32.5213221Z ##[section]Async Command Start: Add Build Tag
2020-08-26T09:43:32.5214121Z Build '1382' has following tags now: AL.Analyzer.CodeCop, AL.Analyzer.UICop, AL.Compiler.ALLanguage, myimage-onprem-16.2.13509.13779-dk-10.0.17763.1397-ltsc2019, BC.Version.16.2.13509.13779, BC.Platform.16.0.13440.13772
2020-08-26T09:43:32.5214831Z ##[section]Async Command End: Add Build Tag
2020-08-26T09:43:32.5215933Z ##[section]Async Command Start: Add Build Tag
2020-08-26T09:43:32.5216776Z Build '1382' has following tags now: AL.Analyzer.UICop, AL.Compiler.ALLanguage, myimage-onprem-16.2.13509.13779-dk-10.0.17763.1397-ltsc2019, BC.Version.16.2.13509.13779, BC.Platform.16.0.13440.13772
2020-08-26T09:43:32.5217410Z ##[section]Async Command End: Add Build Tag
2020-08-26T09:43:32.5218400Z ##[section]Async Command Start: Upload Artifact
2020-08-26T09:43:32.5218810Z Uploading 1 files
2020-08-26T09:43:32.5219039Z File upload succeed.
2020-08-26T09:43:32.5219418Z Upload 'C:\Agent\_work\25\s\compilelog.txt' to file container: '#/4526160/400 - Logistik-Produktion-Fashion'
2020-08-26T09:43:32.5219854Z Associated artifact 1452 with build 1382
2020-08-26T09:43:32.5220172Z ##[section]Async Command End: Upload Artifact
2020-08-26T09:43:32.5221108Z ##[section]Async Command Start: Upload Artifact
2020-08-26T09:43:32.5221519Z Uploading 1 files
2020-08-26T09:43:32.5221712Z File upload succeed.
2020-08-26T09:43:32.5222210Z Upload 'C:\Agent\_work\25\a\Elbek & Vejrup A_S_EV Customizations_1602.0.0.1382_APP.app' to file container: '#/4526160/400 - Logistik-Produktion-Fashion'
2020-08-26T09:43:32.5222738Z Associated artifact 1452 with build 1382
2020-08-26T09:43:32.5223037Z ##[section]Async Command End: Upload Artifact
2020-08-26T09:43:32.5224833Z ##[section]Finishing: ALOps Compile App
2020-08-26T09:43:32.5430592Z ##[section]Starting: EV: Generate Xliff files
2020-08-26T09:43:32.5616004Z ==============================================================================
2020-08-26T09:43:32.5616382Z Task         : ALOps Docker Execute
2020-08-26T09:43:32.5616737Z Description  : Execute powershell script in a Business Central container
2020-08-26T09:43:32.5617075Z Version      : 1.433.1659
2020-08-26T09:43:32.5617309Z Author       : Hodor
2020-08-26T09:43:32.5617621Z Help         : Execute powershell script in container.
2020-08-26T09:43:32.5617983Z ==============================================================================
2020-08-26T09:43:34.6101991Z *** Validate configuration
2020-08-26T09:43:35.1511626Z *** ALOps License: 4233E342-D561-462E-A7CA-AFFF7384B666
2020-08-26T09:43:35.5438796Z *** ALOps License: 
2020-08-26T09:43:35.5439553Z 
2020-08-26T09:43:35.5440248Z collectionUID : f37ed824-6ee2-4b2d-9cab-683c03732c85
2020-08-26T09:43:35.5441321Z projectUID    : 9f67f062-53be-47a5-bdd7-08a6af20386f
2020-08-26T09:43:35.5442219Z licenseUID    : 4233e342-d561-462e-a7ca-afff7384b666
2020-08-26T09:43:35.5443008Z description   : Elbek & Vejrup A/S
2020-08-26T09:43:35.5443620Z 
2020-08-26T09:43:35.5443889Z 
2020-08-26T09:43:35.5444082Z 
2020-08-26T09:43:35.5444566Z 
2020-08-26T09:43:35.6839678Z *** Importing required PS-Functions
2020-08-26T09:43:37.8697645Z *** Initiate Docker Session
2020-08-26T09:43:38.2887767Z *** Set Docker Container ErrorActionPreference = Stop
2020-08-26T09:43:39.0343392Z *** Load module [Microsoft.Dynamics.Nav.Management]
2020-08-26T09:43:39.1174049Z *** Load module [Microsoft.Dynamics.Nav.Apps.Management]
2020-08-26T09:43:39.1584574Z *** Invoking Script in container
2020-08-26T09:43:39.2488244Z Generating Xliff files using AL Compiler: C:\Run\Microsoft.al\al-ALLanguage\extension\bin\alc.exe
2020-08-26T09:43:39.8226961Z Start Build 'EV Customizations' With Compiler Version: 1.0.0
2020-08-26T09:43:40.9218646Z Build Complete 'EV Customizations'
2020-08-26T09:43:40.9611067Z Generate Xliff for EV Customizations.g.xlf
2020-08-26T09:43:41.0952120Z Write File: EV Customizations.da-DK.g.xlf
2020-08-26T09:43:41.1295894Z Start Build 'EV Customizations' With Compiler Version: 1.0.0
2020-08-26T09:43:42.1711888Z Build Complete 'EV Customizations'
2020-08-26T09:43:42.1722280Z Done!
2020-08-26T09:43:42.1735809Z *** Script invoked in container
2020-08-26T09:43:42.1822888Z 
2020-08-26T09:43:42.1847750Z  Id Name            ComputerName    ComputerType    State         ConfigurationName     Availability
2020-08-26T09:43:42.1862790Z  -- ----            ------------    ------------    -----         -----------------     ------------
2020-08-26T09:43:42.1880902Z   1 WinRM1          85ec121f23cb... Container       Opened                                 Available
2020-08-26T09:43:42.1898023Z *** Disconnect Docker session.
2020-08-26T09:43:42.1940229Z *** Remove Docker session.
2020-08-26T09:43:42.1954329Z *** Docker session removed.
2020-08-26T09:43:42.1968812Z *** Powershell executed in container.
2020-08-26T09:43:42.2095455Z *** Cleanup VSTS Environment: True
2020-08-26T09:43:44.9699843Z ##[section]Finishing: EV: Generate Xliff files
2020-08-26T09:43:45.0002368Z ##[section]Starting: ALOps Re-Compile App with xliff
2020-08-26T09:43:45.0285444Z ==============================================================================
2020-08-26T09:43:45.0286162Z Task         : ALOps App Compiler
2020-08-26T09:43:45.0286741Z Description  : Compile AL Extensions for Business Central
2020-08-26T09:43:45.0287282Z Version      : 1.433.1659
2020-08-26T09:43:45.0287766Z Author       : Hodor
2020-08-26T09:43:45.0288336Z Help         : Compile a Business Central extension from AL code.
2020-08-26T09:43:45.0289065Z ==============================================================================
2020-08-26T09:43:48.2396992Z *** Validate configuration
2020-08-26T09:43:48.6360334Z *** ALOps License: 4233E342-D561-462E-A7CA-AFFF7384B666
2020-08-26T09:43:48.9670864Z *** ALOps License: 
2020-08-26T09:43:48.9671369Z 
2020-08-26T09:43:48.9671829Z collectionUID : f37ed824-6ee2-4b2d-9cab-683c03732c85
2020-08-26T09:43:48.9672766Z projectUID    : 9f67f062-53be-47a5-bdd7-08a6af20386f
2020-08-26T09:43:48.9673382Z licenseUID    : 4233e342-d561-462e-a7ca-afff7384b666
2020-08-26T09:43:48.9673862Z description   : Elbek & Vejrup A/S
2020-08-26T09:43:48.9674182Z 
2020-08-26T09:43:48.9674361Z 
2020-08-26T09:43:48.9674715Z 
2020-08-26T09:43:48.9674882Z 
2020-08-26T09:43:48.9821236Z *** Importing required PS-Functions
2020-08-26T09:43:52.1354764Z *** Initiate Docker Session
2020-08-26T09:43:52.5302285Z *** Set Docker Container ErrorActionPreference = Stop
2020-08-26T09:43:53.4845625Z *** Import NAV/BC Management DLL's
2020-08-26T09:43:53.4926910Z *** Loading assemblies for ServiceTier [BC].
2020-08-26T09:43:53.8795362Z *** Loading assemblies from: [C:\program files\microsoft dynamics nav\160\service]
2020-08-26T09:43:53.8985538Z *** Selected module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2020-08-26T09:43:53.9005556Z *** Loading module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2020-08-26T09:43:53.9637166Z *** Selected module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Management.dll]
2020-08-26T09:43:53.9653641Z *** Loading module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Management.dll]
2020-08-26T09:43:54.2614598Z *** Setting up AL Compiler [ALLanguage]
2020-08-26T09:43:54.6435857Z *** Using AL Compiler [vALLanguage] located [C:\Run\Microsoft.al\al-ALLanguage\extension\bin\alc.exe]
2020-08-26T09:43:54.6455787Z ***
2020-08-26T09:43:54.6480346Z *** Working folder: C:\Agent\_work\25\s
2020-08-26T09:43:54.6492904Z ***
2020-08-26T09:43:54.6504506Z *** Copy Working folder to Docker Container: 85ec121f23cb683307cb7b0585c9023012a57e85c2fb914af0290efccf903196
2020-08-26T09:43:54.6515803Z *** Docker Working Folder: c:\Run\DevOps\
2020-08-26T09:43:54.6526803Z *** Copy from [C:\Agent\_work\25\s] to [c:\Run\DevOps\]
2020-08-26T09:43:54.6590996Z *** Source File setup completed
2020-08-26T09:43:54.8900196Z *** Target Project: \app\app.json
2020-08-26T09:43:54.8921684Z *** Check for app.json files: c:\Run\DevOps\
2020-08-26T09:43:54.9200882Z *** Multiple projects found:
2020-08-26T09:43:54.9266455Z    - C:\Run\DevOps\app
2020-08-26T09:43:54.9281407Z    - C:\Run\DevOps\debug
2020-08-26T09:43:54.9318416Z *** Retrieving App-Info [\app\app.json]
2020-08-26T09:43:54.9461034Z *** Loading Json Object: [c:\Run\DevOps\app\app.json]
2020-08-26T09:43:54.9790990Z   * App.ID          = 7d1fc896-3b41-4d1f-8f17-11d3341ff9f7
2020-08-26T09:43:54.9820025Z   * App.Name        = EV Customizations
2020-08-26T09:43:54.9857795Z   * App.Publisher   = Elbek & Vejrup A/S
2020-08-26T09:43:54.9894741Z   * App.Version     = 1602.0.0.1382
2020-08-26T09:43:54.9962137Z   * App.Platform    = 
2020-08-26T09:43:55.0001014Z   * App.Application = 16.2.0.0
2020-08-26T09:43:55.0082570Z ***
2020-08-26T09:43:55.0752700Z *** Retaining original [Major] from version (?.0.0.0)
2020-08-26T09:43:55.0802831Z *** Retaining original [Minor] from version (0.?.0.0)
2020-08-26T09:43:55.0815917Z *** Retaining original [Build] from version (0.0.?.0)
2020-08-26T09:43:55.0886011Z *** Setting Managed App Version [c:\Run\DevOps\app\app.json] =>  1602.0.0.1382
2020-08-26T09:43:55.1912809Z ***
2020-08-26T09:43:55.1918198Z *** Working Direcotry: [c:\Run\DevOps\]
2020-08-26T09:43:55.1943655Z *** Target Project: [\app\app.json]
2020-08-26T09:43:55.1970190Z *** Project Directory: [c:\Run\DevOps\app]
2020-08-26T09:43:55.1996187Z *** VSCode Settings: [c:\Run\DevOps\app\.vscode\settings.json]
2020-08-26T09:43:55.2041865Z *** VSCode-Settings json found.
2020-08-26T09:43:55.2157024Z *** Loading Json Object: [c:\Run\DevOps\app\.vscode\settings.json]
2020-08-26T09:43:55.2250529Z *** Using Ruleset: [c:\Run\DevOps\app\custom.ruleset.json]
2020-08-26T09:43:55.2267940Z ***
2020-08-26T09:43:55.8507508Z *** Resolve Docker Credentials
2020-08-26T09:43:55.8594962Z *** Setup BC Username/Password from Container info
2020-08-26T09:43:55.8666437Z *** Download Symbols
2020-08-26T09:43:56.3400975Z *** Working Dir: c:\Run\DevOps\
2020-08-26T09:43:56.5626108Z *** Loading assemblies from: [C:\program files\microsoft dynamics nav\160\service]
2020-08-26T09:43:56.6713179Z *** PackageCache path created [c:\Run\DevOps\PackageCache]
2020-08-26T09:43:56.6725480Z ***
2020-08-26T09:43:56.6761431Z *** Download Application-Symbols for [16.2.0.0]
2020-08-26T09:43:56.7480439Z *** Downloading NAV Symbols for [Application v16.2.0.0]
2020-08-26T09:43:56.7501232Z *** Downloading NAV Symbols from [https://85ec121f23cb:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=16.2.0.0&tenant=default]
2020-08-26T09:43:56.7935955Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2020-08-26T09:43:56.7969946Z ##[command]Invoke-RestMethod -Method Get -Uri https://85ec121f23cb:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=16.2.0.0&tenant=default
2020-08-26T09:43:56.8651893Z *** Content-Disposition: attachment; filename=Microsoft_Application_16.2.13509.13779.app
2020-08-26T09:43:56.8958307Z *** Saving symbol file [Microsoft_Application_16.2.13509.13779.app] to [c:\Run\DevOps\PackageCache]
2020-08-26T09:43:56.9130724Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_Application_16.2.13509.13779.app].
2020-08-26T09:43:57.0147778Z *** Propagated Dependency: Microsoft - System Application - 16.2.0.0
2020-08-26T09:43:57.0299241Z *** Propagated Dependency: Microsoft - Base Application - 16.2.0.0
2020-08-26T09:43:57.0394145Z ***
2020-08-26T09:43:57.0416028Z *** Check for Depency Apps 2
2020-08-26T09:43:57.0530581Z *** Download Application-Symbols for [System Application v16.2.0.0]
2020-08-26T09:43:57.0585057Z *** Downloading NAV Symbols for [System Application v16.2.0.0]
2020-08-26T09:43:57.0607794Z *** Downloading NAV Symbols from [https://85ec121f23cb:7049/BC/dev/packages?publisher=Microsoft&appName=System+Application&versionText=16.2.0.0&tenant=default]
2020-08-26T09:43:57.0639223Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2020-08-26T09:43:57.0658257Z ##[command]Invoke-RestMethod -Method Get -Uri https://85ec121f23cb:7049/BC/dev/packages?publisher=Microsoft&appName=System+Application&versionText=16.2.0.0&tenant=default
2020-08-26T09:43:57.1088063Z *** Content-Disposition: attachment; filename="Microsoft_System Application_16.2.13509.13779.app"
2020-08-26T09:43:57.1126612Z *** Saving symbol file [Microsoft_System Application_16.2.13509.13779.app] to [c:\Run\DevOps\PackageCache]
2020-08-26T09:43:57.1174259Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_System Application_16.2.13509.13779.app].
2020-08-26T09:43:57.1206014Z ***
2020-08-26T09:43:57.1228756Z *** Download Application-Symbols for [Base Application v16.2.0.0]
2020-08-26T09:43:57.1252444Z *** Downloading NAV Symbols for [Base Application v16.2.0.0]
2020-08-26T09:43:57.1266969Z *** Downloading NAV Symbols from [https://85ec121f23cb:7049/BC/dev/packages?publisher=Microsoft&appName=Base+Application&versionText=16.2.0.0&tenant=default]
2020-08-26T09:43:57.1279258Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2020-08-26T09:43:57.1294602Z ##[command]Invoke-RestMethod -Method Get -Uri https://85ec121f23cb:7049/BC/dev/packages?publisher=Microsoft&appName=Base+Application&versionText=16.2.0.0&tenant=default
2020-08-26T09:43:57.2340072Z *** Content-Disposition: attachment; filename="Microsoft_Base Application_16.2.13509.13779.app"
2020-08-26T09:43:57.2388568Z *** Saving symbol file [Microsoft_Base Application_16.2.13509.13779.app] to [c:\Run\DevOps\PackageCache]
2020-08-26T09:43:57.3178250Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_Base Application_16.2.13509.13779.app].
2020-08-26T09:43:57.4877933Z ***
2020-08-26T09:43:57.7636299Z *** Starting AL Compiler...
2020-08-26T09:43:57.7650140Z *** App.Name         = EV Customizations
2020-08-26T09:43:57.7665571Z *** App.Publisher    = Elbek & Vejrup A/S
2020-08-26T09:43:57.7683780Z *** App.Compiler Path= C:\Run\Microsoft.al\al-ALLanguage\extension\bin\alc.exe
2020-08-26T09:43:57.7749112Z *** Checking for Assemblies in App
2020-08-26T09:43:57.7882109Z *** Add Windows Assembly Path [C:\Windows\assembly]
2020-08-26T09:43:57.7911099Z *** Modified Name from [Elbek & Vejrup A/S_EV Customizations_1602.0.0.1382_APP.app] to [Elbek & Vejrup A_S_EV Customizations_1602.0.0.1382_APP.app]
2020-08-26T09:43:57.8002407Z ##[command]& C:\Run\Microsoft.al\al-ALLanguage\extension\bin\alc.exe /packagecachepath:"c:\Run\DevOps\PackageCache" /project:"c:\Run\DevOps\app" /out:"c:\Run\DevOps\Elbek & Vejrup A_S_EV Customizations_1602.0.0.1382_APP.app" /fullpaths /ruleset:"c:\Run\DevOps\app\custom.ruleset.json" /assemblyprobingpaths:C:\Windows\assembly
2020-08-26T09:44:06.5545780Z *** AL Compiler Exit Code: 0
2020-08-26T09:44:06.6271726Z *** AL Compiler raw logs: Start
2020-08-26T09:44:06.6330997Z Microsoft (R) AL Compiler version 5.0.4.18787 Copyright (C) Microsoft Corporation. All rights reserved  Compilation started for project 'EV Customizations' containing '2' files at '11:43:58.412'.   Compilation ended at '11:44:6.505'. 
2020-08-26T09:44:06.6349541Z *** AL Compiler raw logs: End
2020-08-26T09:44:06.6369695Z *** Start processing compile results.
2020-08-26T09:44:06.6942515Z *** Store compile log to [c:\Run\DevOps\compilelog.txt]
2020-08-26T09:44:06.6980395Z *** Start processing compile results done.
2020-08-26T09:44:06.7005006Z *** Transfer App Artifact from Docker container.
2020-08-26T09:44:07.1453580Z *** Transfer Compile Log from Docker container.
2020-08-26T09:44:07.3266020Z *** Attach Compile Log to Vsts Build info.
2020-08-26T09:44:07.3712467Z *** Process Compile results.
2020-08-26T09:44:07.3713065Z *** Process Compile results: retrieve status.
2020-08-26T09:44:07.3713347Z *** Transfer App file to Artifacts.
2020-08-26T09:44:07.3881595Z *** AL Compiler Finished.
2020-08-26T09:44:07.3890971Z ***
2020-08-26T09:44:07.3905183Z *** Compile OK.
2020-08-26T09:44:07.3924034Z ***
2020-08-26T09:44:07.4005570Z 
2020-08-26T09:44:07.4028948Z  Id Name            ComputerName    ComputerType    State         ConfigurationName     Availability
2020-08-26T09:44:07.4041816Z  -- ----            ------------    ------------    -----         -----------------     ------------
2020-08-26T09:44:07.4058425Z   1 WinRM1          85ec121f23cb... Container       Opened                                 Available
2020-08-26T09:44:07.4071062Z *** Disconnect Docker session.
2020-08-26T09:44:07.4098294Z *** Remove Docker session.
2020-08-26T09:44:07.4135313Z *** Docker session removed.
2020-08-26T09:44:07.4176445Z *** Set Pipeline variable $(ALOPS_COMPILE_ARTIFACT) = 'C:\Agent\_work\25\a\Elbek & Vejrup A_S_EV Customizations_1602.0.0.1382_APP.app'
2020-08-26T09:44:07.4196137Z *** Uploading APP as Build-Artifact
2020-08-26T09:44:07.4590909Z *** App-Artifact uploaded.
2020-08-26T09:44:07.4591134Z ***
2020-08-26T09:44:07.4591373Z *** Cleanup VSTS Environment: True
2020-08-26T09:44:09.7328032Z ##[section]Async Command Start: Add Build Tag
2020-08-26T09:44:09.7329078Z Build '1382' has following tags now: AL.Analyzer.CodeCop, AL.Analyzer.UICop, AL.Compiler.ALLanguage, myimage-onprem-16.2.13509.13779-dk-10.0.17763.1397-ltsc2019, BC.Version.16.2.13509.13779, BC.Platform.16.0.13440.13772
2020-08-26T09:44:09.7329816Z ##[section]Async Command End: Add Build Tag
2020-08-26T09:44:09.7330690Z ##[section]Async Command Start: Update Build Number
2020-08-26T09:44:09.7331135Z Update build number to 1602.0.0.1382 for build 1382
2020-08-26T09:44:09.7331454Z ##[section]Async Command End: Update Build Number
2020-08-26T09:44:09.7332261Z ##[section]Async Command Start: Upload Artifact
2020-08-26T09:44:09.7332935Z Uploading 1 files
2020-08-26T09:44:09.7333127Z File upload succeed.
2020-08-26T09:44:09.7333600Z Upload 'C:\Agent\_work\25\s\compilelog.txt' to file container: '#/4526160/400 - Logistik-Produktion-Fashion'
2020-08-26T09:44:09.7334020Z Associated artifact 1452 with build 1382
2020-08-26T09:44:09.7334427Z ##[section]Async Command End: Upload Artifact
2020-08-26T09:44:09.7335337Z ##[section]Async Command Start: Upload Artifact
2020-08-26T09:44:09.7335743Z Uploading 1 files
2020-08-26T09:44:09.7335938Z File upload succeed.
2020-08-26T09:44:09.7336561Z Upload 'C:\Agent\_work\25\a\Elbek & Vejrup A_S_EV Customizations_1602.0.0.1382_APP.app' to file container: '#/4526160/400 - Logistik-Produktion-Fashion'
2020-08-26T09:44:09.7337063Z Associated artifact 1452 with build 1382
2020-08-26T09:44:09.7337352Z ##[section]Async Command End: Upload Artifact
2020-08-26T09:44:09.7338694Z ##[section]Finishing: ALOps Re-Compile App with xliff
2020-08-26T09:44:09.7535306Z ##[section]Starting: ALOps Publish AL-App
2020-08-26T09:44:09.7730636Z ==============================================================================
2020-08-26T09:44:09.7730999Z Task         : ALOps App Publish
2020-08-26T09:44:09.7731303Z Description  : Publish AL Extension to Business Central
2020-08-26T09:44:09.7731604Z Version      : 1.433.1659
2020-08-26T09:44:09.7731834Z Author       : Hodor
2020-08-26T09:44:09.7732161Z Help         : Publish Business Central extension to service tier.
2020-08-26T09:44:09.7732900Z ==============================================================================
2020-08-26T09:44:12.1720301Z *** Validate configuration
2020-08-26T09:44:12.6460780Z *** ALOps License: 4233E342-D561-462E-A7CA-AFFF7384B666
2020-08-26T09:44:13.0357524Z *** ALOps License: 
2020-08-26T09:44:13.0357800Z 
2020-08-26T09:44:13.0358808Z collectionUID : f37ed824-6ee2-4b2d-9cab-683c03732c85
2020-08-26T09:44:13.0359942Z projectUID    : 9f67f062-53be-47a5-bdd7-08a6af20386f
2020-08-26T09:44:13.0360591Z licenseUID    : 4233e342-d561-462e-a7ca-afff7384b666
2020-08-26T09:44:13.0362896Z description   : Elbek & Vejrup A/S
2020-08-26T09:44:13.0363390Z 
2020-08-26T09:44:13.0363571Z 
2020-08-26T09:44:13.0363749Z 
2020-08-26T09:44:13.0363919Z 
2020-08-26T09:44:13.0488621Z *** Importing required PS-Functions
2020-08-26T09:44:13.0498685Z  - Use Docker         = True
2020-08-26T09:44:13.0510040Z  - Artifact Path      = 
2020-08-26T09:44:13.0521225Z  - App Filter         = *_APP.app
2020-08-26T09:44:13.0533508Z  - Process Type       = Build
2020-08-26T09:44:13.0543934Z  - Skip Verification  = True
2020-08-26T09:44:13.0554754Z  - Force Sync         = False
2020-08-26T09:44:13.0559747Z 
2020-08-26T09:44:13.0568994Z *** Importing required PS-Functions
2020-08-26T09:44:15.4026703Z *** Initiate Docker Session
2020-08-26T09:44:15.8442058Z *** Set Docker Container ErrorActionPreference = Stop
2020-08-26T09:44:16.3995604Z *** Install AL TestTool: False
2020-08-26T09:44:16.4005424Z *** Working folder: C:\Agent\_work\25\s
2020-08-26T09:44:16.4014742Z *** Artifact folder: C:\Agent\_work\25\a
2020-08-26T09:44:16.4024293Z *** Pipeline workspace: C:\Agent\_work\25
2020-08-26T09:44:16.4034219Z ***
2020-08-26T09:44:16.4062079Z *** Copy Artifacts to Docker Container: 85ec121f23cb683307cb7b0585c9023012a57e85c2fb914af0290efccf903196
2020-08-26T09:44:16.4090463Z *** Docker Artifacts Folder: c:\Run\DevOps\Artifacts
2020-08-26T09:44:16.4168104Z *** Dynamic resolve App file.
2020-08-26T09:44:16.4178743Z *** Scanning [System.DefaultWorkingDirectory].
2020-08-26T09:44:16.4401406Z *** Scanning [System.ArtifactsDirectory].
2020-08-26T09:44:16.4459137Z *** Scanning [Pipeline.Workspace].
2020-08-26T09:44:16.4604976Z *** Multiple App files found with filter [*_APP.app].
2020-08-26T09:44:16.4683548Z   * C:\Agent\_work\25\a\Elbek & Vejrup A_S_EV Customizations_1602.0.0.1382_APP.app
2020-08-26T09:44:16.4725846Z *** Resolved App File: [Elbek & Vejrup A_S_EV Customizations_1602.0.0.1382_APP.app].
2020-08-26T09:44:16.6190008Z *** Copy Artifact: [C:\Agent\_work\25\a\Elbek & Vejrup A_S_EV Customizations_1602.0.0.1382_APP.app]
2020-08-26T09:44:17.6126587Z *** Import NAV/BC Management DLL's
2020-08-26T09:44:17.6167331Z *** Loading assemblies for ServiceTier [BC].
2020-08-26T09:44:17.9027783Z *** Loading assemblies from: [C:\program files\microsoft dynamics nav\160\service]
2020-08-26T09:44:17.9209440Z *** Selected module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2020-08-26T09:44:17.9248945Z *** Loading module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2020-08-26T09:44:17.9841864Z *** Selected module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Management.dll]
2020-08-26T09:44:17.9859282Z *** Loading module: [C:\program files\microsoft dynamics nav\160\service\Microsoft.Dynamics.Nav.Management.dll]
2020-08-26T09:44:18.3087620Z 
2020-08-26T09:44:18.3139645Z **************************************
2020-08-26T09:44:18.3165463Z  * App File = [c:\Run\DevOps\Artifacts\Elbek & Vejrup A_S_EV Customizations_1602.0.0.1382_APP.app]
2020-08-26T09:44:18.3356592Z 
2020-08-26T09:44:18.4528778Z  * App.ID        = 7d1fc896-3b41-4d1f-8f17-11d3341ff9f7
2020-08-26T09:44:18.4593320Z  * App.Name      = EV Customizations
2020-08-26T09:44:18.4642337Z  * App.Publisher = Elbek & Vejrup A/S
2020-08-26T09:44:18.4715712Z  * App.Version   = 1602.0.0.1382
2020-08-26T09:44:18.9408016Z  => Publishing App 'EV Customizations v1602.0.0.1382'
2020-08-26T09:44:27.1157457Z *** Get Tenants
2020-08-26T09:44:27.5151447Z 
2020-08-26T09:44:27.5152136Z 
2020-08-26T09:44:27.5177574Z PSComputerName                         : 85ec121f23cb683307cb7b0585c9023012a57e85c2fb914af0290efccf903196
2020-08-26T09:44:27.5178337Z RunspaceId                             : 50c6a20a-946e-4f75-bee2-890e33892979
2020-08-26T09:44:27.5180302Z ServerInstance                         : MicrosoftDynamicsNavServer$BC
2020-08-26T09:44:27.5182705Z DatabaseName                           : CRONUS
2020-08-26T09:44:27.5183633Z DatabaseServer                         : localhost\SQLEXPRESS
2020-08-26T09:44:27.5185140Z DatabaseUserName                       : 
2020-08-26T09:44:27.5187791Z State                                  : Operational
2020-08-26T09:44:27.5188241Z DetailedState                          : 
2020-08-26T09:44:27.5189046Z DeletionState                          : Not deleted
2020-08-26T09:44:27.5190794Z IsInExclusiveAccessMode                : False
2020-08-26T09:44:27.5192323Z TenantDataVersion                      : 16.2.13779.0
2020-08-26T09:44:27.5194149Z Compression                            : Unspecified
2020-08-26T09:44:27.5194832Z Id                                     : default
2020-08-26T09:44:27.5196960Z AlternateId                            : {}
2020-08-26T09:44:27.5197513Z AllowAppDatabaseWrite                  : True
2020-08-26T09:44:27.5200193Z NasServicesEnabled                     : False
2020-08-26T09:44:27.5201041Z RunNasWithAdminRights                  : False
2020-08-26T09:44:27.5203728Z EncryptionProvider                     : LocalKeyFile
2020-08-26T09:44:27.5204664Z AzureKeyVaultSettings                  : 
2020-08-26T09:44:27.5205533Z DefaultCompany                         : 
2020-08-26T09:44:27.5207673Z DefaultTimeZone                        : UTC
2020-08-26T09:44:27.5208680Z ExchangeAuthenticationMetadataLocation : https://outlook.office365.com/
2020-08-26T09:44:27.5210420Z AadTenantId                            : common
2020-08-26T09:44:27.5211862Z ApplicationInsightsKey                 : 
2020-08-26T09:44:27.5213473Z DisplayName                            : 
2020-08-26T09:44:27.5214156Z EnvironmentName                        : 
2020-08-26T09:44:27.5214778Z EnvironmentType                        : Production
2020-08-26T09:44:27.5215166Z 
2020-08-26T09:44:27.5315387Z ServerInstance       : MicrosoftDynamicsNavServer$BC
2020-08-26T09:44:27.5316082Z ExtensionDataVersion : 
2020-08-26T09:44:27.5316512Z IsInstalled          : False
2020-08-26T09:44:27.5317013Z SyncState            : NotSynced
2020-08-26T09:44:27.5317520Z NeedsUpgrade         : False
2020-08-26T09:44:27.5318132Z IsPublished          : True
2020-08-26T09:44:27.5320557Z PSComputerName       : 85ec121f23cb683307cb7b0585c9023012a57e85c2fb914af0290efccf903196
2020-08-26T09:44:27.5321350Z RunspaceId           : 50c6a20a-946e-4f75-bee2-890e33892979
2020-08-26T09:44:27.5322105Z Brief                : 
2020-08-26T09:44:27.5323861Z Description          : 
2020-08-26T09:44:27.5325766Z CompatibilityId      : 0.0.0.0
2020-08-26T09:44:27.5326397Z PrivacyStatement     : 
2020-08-26T09:44:27.5328315Z Eula                 : 
2020-08-26T09:44:27.5328884Z Help                 : 
2020-08-26T09:44:27.5329579Z Url                  : 
2020-08-26T09:44:27.5331069Z Logo                 : /logo/EV_Logo.png
2020-08-26T09:44:27.5331634Z DeveloperTenantId    : 
2020-08-26T09:44:27.5333280Z ScreenShots          : {}
2020-08-26T09:44:27.5336506Z Dependencies         : {Application, Microsoft, 16.2.0.0, False}
2020-08-26T09:44:27.5337023Z Capabilities         : {}
2020-08-26T09:44:27.5337557Z PackageId            : 22f3136c-d231-48b2-b82d-208829cf1bb5
2020-08-26T09:44:27.5339838Z AppId                : 7d1fc896-3b41-4d1f-8f17-11d3341ff9f7
2020-08-26T09:44:27.5340663Z Name                 : EV Customizations
2020-08-26T09:44:27.5341167Z Publisher            : Elbek & Vejrup A/S
2020-08-26T09:44:27.5341651Z Version              : 1602.0.0.1382
2020-08-26T09:44:27.5342077Z ExtensionType        : ModernDev
2020-08-26T09:44:27.5343859Z Scope                : Global
2020-08-26T09:44:27.5344274Z Tenant               : 
2020-08-26T09:44:27.5344512Z 
2020-08-26T09:44:27.5353836Z *** Sync Tenant default
2020-08-26T09:44:30.5023053Z *** Sync App [EV Customizations] on tenant [default]
2020-08-26T09:44:31.1433775Z *** Install App [EV Customizations] on tenant [default]
2020-08-26T09:44:34.0241209Z 
2020-08-26T09:44:34.0262618Z **************************************
2020-08-26T09:44:34.0275112Z 
2020-08-26T09:44:34.0921097Z ComputerType           : Container
2020-08-26T09:44:34.0921747Z ComputerName           : 85ec121f23cb683307cb7b0585c9023012a57e85c2fb914af0290efccf903196
2020-08-26T09:44:34.0924025Z ContainerId            : 85ec121f23cb683307cb7b0585c9023012a57e85c2fb914af0290efccf903196
2020-08-26T09:44:34.0924707Z VMName                 : 
2020-08-26T09:44:34.0925036Z VMId                   : 
2020-08-26T09:44:34.0925279Z ConfigurationName      : 
2020-08-26T09:44:34.0926546Z InstanceId             : 50c6a20a-946e-4f75-bee2-890e33892979
2020-08-26T09:44:34.0927985Z Id                     : 1
2020-08-26T09:44:34.0929102Z Name                   : WinRM1
2020-08-26T09:44:34.0930290Z Availability           : Available
2020-08-26T09:44:34.0931878Z ApplicationPrivateData : {DebugMode, DebugStop, UnhandledBreakpointMode, PSVersionTable...}
2020-08-26T09:44:34.0933502Z Runspace               : System.Management.Automation.RemoteRunspace
2020-08-26T09:44:34.0934721Z State                  : Opened
2020-08-26T09:44:34.0936389Z IdleTimeout            : -1
2020-08-26T09:44:34.0937411Z OutputBufferingMode    : 
2020-08-26T09:44:34.0938442Z DisconnectedOn         : 
2020-08-26T09:44:34.0938748Z ExpiresOn              : 
2020-08-26T09:44:34.0939826Z 
2020-08-26T09:44:34.0957868Z *** Disconnect Docker session.
2020-08-26T09:44:34.0995846Z *** Remove Docker session.
2020-08-26T09:44:34.1005508Z *** Docker session removed.
2020-08-26T09:44:34.1017827Z *** AL-Extension Published to ALOps Repository
2020-08-26T09:44:34.1111272Z *** Cleanup VSTS Environment: True
2020-08-26T09:44:36.8976843Z ##[section]Async Command Start: Add Build Tag
2020-08-26T09:44:36.8977764Z Build '1382' has following tags now: AL.Analyzer.CodeCop, AL.Analyzer.UICop, AL.Compiler.ALLanguage, myimage-onprem-16.2.13509.13779-dk-10.0.17763.1397-ltsc2019, BC.Version.16.2.13509.13779, BC.Platform.16.0.13440.13772, App.EV Customizations.1602.0.0.1382
2020-08-26T09:44:36.8978639Z ##[section]Async Command End: Add Build Tag
2020-08-26T09:44:36.8979750Z ##[section]Finishing: ALOps Publish AL-App
2020-08-26T09:44:36.9406230Z ##[section]Starting: ALOps Remove Docker Container
2020-08-26T09:44:36.9604369Z ==============================================================================
2020-08-26T09:44:36.9605019Z Task         : ALOps Docker Remove
2020-08-26T09:44:36.9605589Z Description  : Remove a Business Central container
2020-08-26T09:44:36.9606082Z Version      : 1.433.1659
2020-08-26T09:44:36.9606879Z Author       : Hodor
2020-08-26T09:44:36.9607419Z Help         : Remove Business Central docker container.
2020-08-26T09:44:36.9608105Z ==============================================================================
2020-08-26T09:44:38.6618469Z *** Validate configuration
2020-08-26T09:44:39.1107598Z *** ALOps License: 4233E342-D561-462E-A7CA-AFFF7384B666
2020-08-26T09:44:39.6186891Z *** ALOps License: 
2020-08-26T09:44:39.6187398Z 
2020-08-26T09:44:39.6187732Z collectionUID : f37ed824-6ee2-4b2d-9cab-683c03732c85
2020-08-26T09:44:39.6188213Z projectUID    : 9f67f062-53be-47a5-bdd7-08a6af20386f
2020-08-26T09:44:39.6188539Z licenseUID    : 4233e342-d561-462e-a7ca-afff7384b666
2020-08-26T09:44:39.6188826Z description   : Elbek & Vejrup A/S
2020-08-26T09:44:39.6189022Z 
2020-08-26T09:44:39.6189121Z 
2020-08-26T09:44:39.6189220Z 
2020-08-26T09:44:39.6189318Z 
2020-08-26T09:44:39.7385384Z *** Importing required PS-Functions
2020-08-26T09:44:41.1423481Z *** >>> Print Container Logs: 85ec121f23cb683307cb7b0585c9023012a57e85c2fb914af0290efccf903196 >>>
2020-08-26T09:44:41.4223808Z *** >>> Initializing...
2020-08-26T09:44:41.4251023Z *** >>> Starting Container
2020-08-26T09:44:41.4255491Z *** >>> Hostname is 85ec121f23cb
2020-08-26T09:44:41.4269448Z *** >>> PublicDnsName is 85ec121f23cb
2020-08-26T09:44:41.4283964Z *** >>> Using NavUserPassword Authentication
2020-08-26T09:44:41.4298455Z *** >>> Starting Local SQL Server
2020-08-26T09:44:41.4312492Z *** >>> Starting Internet Information Server
2020-08-26T09:44:41.4326211Z *** >>> Creating Self Signed Certificate
2020-08-26T09:44:41.4340315Z *** >>> Self Signed Certificate Thumbprint F8FB657D5B387409D3E85935ED119F300F8F784D
2020-08-26T09:44:41.4353962Z *** >>> Modifying Service Tier Config File with Instance Specific Settings
2020-08-26T09:44:41.4370504Z *** >>> Starting Service Tier
2020-08-26T09:44:41.4384970Z *** >>> Registering event sources
2020-08-26T09:44:41.4400771Z *** >>> Creating DotNetCore Web Server Instance
2020-08-26T09:44:41.4416843Z *** >>> Creating http download site
2020-08-26T09:44:41.4431346Z *** >>> Setting SA Password and enabling SA
2020-08-26T09:44:41.4446720Z *** >>> Creating admin as SQL User and add to sysadmin
2020-08-26T09:44:41.4460327Z *** >>> Creating SUPER user
2020-08-26T09:44:41.4473808Z *** >>> Container IP Address: 192.168.37.231
2020-08-26T09:44:41.4488295Z *** >>> Container Hostname  : 85ec121f23cb
2020-08-26T09:44:41.4502327Z *** >>> Container Dns Name  : 85ec121f23cb
2020-08-26T09:44:41.4515655Z *** >>> Web Client          : https://85ec121f23cb/BC/
2020-08-26T09:44:41.4529828Z *** >>> Admin Username      : admin
2020-08-26T09:44:41.4542029Z *** >>> Admin Password      : Hisu8668
2020-08-26T09:44:41.4556721Z *** >>> Dev. Server         : https://85ec121f23cb
2020-08-26T09:44:41.4571093Z *** >>> Dev. ServerInstance : BC
2020-08-26T09:44:41.4587122Z *** >>> 
2020-08-26T09:44:41.4606463Z *** >>> Files:
2020-08-26T09:44:41.4618649Z *** >>> http://85ec121f23cb:8080/ALLanguage.vsix
2020-08-26T09:44:41.4632099Z *** >>> http://85ec121f23cb:8080/certificate.cer
2020-08-26T09:44:41.4644795Z *** >>> 
2020-08-26T09:44:41.4656792Z *** >>> Initialization took 137 seconds
2020-08-26T09:44:41.4669762Z *** >>> Ready for connections!
2020-08-26T09:44:41.4683022Z *** >>> Starting EventLog Monitor
2020-08-26T09:44:41.4696734Z *** >>> Monitoring EventSources from EventLog[Application]:
2020-08-26T09:44:41.4708308Z *** >>> - MicrosoftDynamicsNAVClientClientService
2020-08-26T09:44:41.4720124Z *** >>> - MicrosoftDynamicsNAVClientWebClient
2020-08-26T09:44:41.4751557Z *** >>> - MicrosoftDynamicsNavServer$BC
2020-08-26T09:44:41.4752142Z *** >>> - MSSQL$SQLEXPRESS
2020-08-26T09:44:41.4759370Z *** >>> 
2020-08-26T09:44:41.4773568Z *** <<< Print Container Logs: 85ec121f23cb683307cb7b0585c9023012a57e85c2fb914af0290efccf903196 <<<
2020-08-26T09:44:41.4787788Z *** Stop Docker container: 85ec121f23cb683307cb7b0585c9023012a57e85c2fb914af0290efccf903196
2020-08-26T09:44:50.9998199Z *** Remove Docker container: 85ec121f23cb683307cb7b0585c9023012a57e85c2fb914af0290efccf903196
2020-08-26T09:44:51.2924740Z *** Docker Remove OK.
2020-08-26T09:44:51.3058697Z *** Cleanup VSTS Environment: True
2020-08-26T09:44:53.7475258Z ##[section]Finishing: ALOps Remove Docker Container
2020-08-26T09:44:53.7638875Z ##[section]Starting: Checkout ElbekVejrup/al-devflow-160-krj@feature/Prep to s
2020-08-26T09:44:53.7777020Z ==============================================================================
2020-08-26T09:44:53.7777363Z Task         : Get sources
2020-08-26T09:44:53.7777868Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-08-26T09:44:53.7778324Z Version      : 1.0.0
2020-08-26T09:44:53.7778551Z Author       : Microsoft
2020-08-26T09:44:53.7778884Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-08-26T09:44:53.7779398Z ==============================================================================
2020-08-26T09:44:54.2597726Z Cleaning any cached credential from repository: ElbekVejrup/al-devflow-160-krj (Bitbucket)
2020-08-26T09:44:54.2719146Z ##[section]Finishing: Checkout ElbekVejrup/al-devflow-160-krj@feature/Prep to s
2020-08-26T09:44:54.2930303Z ##[section]Starting: Finalize Job
2020-08-26T09:44:54.3037717Z Cleaning up task key
2020-08-26T09:44:54.3039994Z Start cleaning up orphan processes.
2020-08-26T09:44:54.3065867Z ##[section]Finishing: Finalize Job
2020-08-26T09:44:54.3222732Z ##[section]Finishing: Job

Expected behavior It should failed when failed_on_warnings is set to true in the Compile step - like it used to do.

Screenshots image image

kasperdj commented 4 years ago

Here is an example of a previous run of the same pipeline, that failed as expected. Note: This was before the BC Artifact update of ALOps

image

kasperdj commented 4 years ago

Hang on: maybe it's because this is an information and not a warning....

kasperdj commented 4 years ago

Issure fixed, it was only an information and not a warning.

waldo1001 commented 4 years ago

Thanks :-).

Can I ask - did someone create a ruleset for this rule so that it's info in stead of a warning/error?

kasperdj commented 4 years ago

@waldo1001 there was a slight difference in the code for the 2 two examples even though the compiler output (also in VS Code) raised almost identical "Information", one as warning and the other as Information. So no bugs in AlOps