HodorNV / HodorNV/ALOps

Compare to last release with AppSourceCop not detecting breaking changes

Open
#802 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feedback question
Dominant language
PowerShell
Stars
63
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
We are trying to set up our PR evaluation pipelines to check for accidental breaking changes (we have had this for a while, but we noticed recently it didn't work). To do that, we followed this example from the Examples folder.

In order to test this, we deliberately created a PR with a breaking change (we removed a field from a page extension) and ran the pipeline on that PR, expecting it to fail. Unfortunately, it passed without a hitch.

I am likely just missing something simple, but I don't see it.

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

name: $(Build.BuildId)
trigger:
  branches:
    include:
    - Dummy
variables:
- group: 'PipelineVariables'
resources:
  repositories:
  - repository: BuildTemplates
    name: ELC25/Templates
    type: Git
    ref: main
  pipelines:
  - pipeline: DyselSystem
    source: DYSEL-SYSTEM-DEV
  - pipeline: DyselW1
    source: DYSELBC-W1-DEV
stages:
- stage: __default
  jobs:
  - job: 'Build'
    pool:
      name: DyselBC_A2
    displayName: 'Create Build'
    timeoutInMinutes: 120
    steps:
    - task: PowerShell@2
      displayName: "Remove all .app files from $(Agent.BuildDirectory) and sub folders"
      inputs:
        targetType: 'inline'
        script: Get-ChildItem -Path "$(Agent.BuildDirectory)" -Filter "*.app" -Recurse | Remove-Item -Force:$true -Confirm:$false -ErrorAction SilentlyContinue
        errorActionPreference: 'continue'
    - task: ALOpsDockerCreate@1
      displayName: 'ALOPS - Create Docker Image'
      inputs:
        artifactversion: 24.5
        artifacttype: Sandbox
        artifactcountry: nl
        versionselect: ''
        accept_insider_eula: true
    - task: ALOpsDockerStart@1
      displayName: 'ALOPS - Start Docker Container'
    - task: ALOpsDockerWait@1
      displayName: 'ALOPS - Wait for Docker Container to start'
      inputs:
        search_string: 'Ready for connections!'
    - task: ALOpsLicenseImport@1
      displayName: 'ALOPS - Dev License Import'
      inputs:
        usedocker: true
        license_path: $(BCDevLicense)
    - task: ALOpsAppPublish@1
      displayName: 'ALOPS - Install AL TestTool'
      condition: True
      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
          Business Foundation Test Libraries
          Permissions Mock
          Library Variable Storage
    - task: DownloadPipelineArtifact@2
      displayName: Download Artifact - Dysel System App
      inputs:
        buildType: 'specific'
        project: [REDACTED]
        definition: 13
        buildVersionToDownload: 'latest'
        itemPattern: '**/*_APP.app'
        targetPath: '$(Pipeline.Workspace)'
    - task: DownloadPipelineArtifact@2
      displayName: Download Artifact - Dysel W1
      inputs:
        buildType: 'specific'
        project: [REDACTED]
        definition: 10
        buildVersionToDownload: 'latest'
        itemPattern: '**/*_APP.app'
        targetPath: '$(Pipeline.Workspace)'
    - task: ALOpsAppPublish@1
      displayName: 'Publish: Dysel Apps'
      inputs:
        usedocker: true
        installpublishedapps: true
        batch_publish_folder: '$(Pipeline.Workspace)'
        nav_artifact_app_filter: '*.app'
        skip_verification: true
      continueOnError: true
    - task: DownloadPipelineArtifact@2
      displayName: Download Artifact - Dysel NL  #This is the latest AppSource-release of this app
      inputs:
        buildType: 'specific'
        project: [REDACTED]
        definition: 47
        buildVersionToDownload: 'latest'
        itemPattern: '**/*_APP.app'
        targetPath: '$(Pipeline.Workspace)'
    - task: ALOpsAppPublish@1
      displayName: 'Publish: Dysel Apps'
      inputs:
        usedocker: true
        installpublishedapps: true
        batch_publish_folder: '$(Pipeline.Workspace)'
        nav_artifact_app_filter: '*.app'
        skip_verification: true
      continueOnError: true
    - task: ALOpsAppCompiler@1
      displayName: 'ALOPS - Compile: Dysel NL App'    # This is the app of the code submitted in the PR
      inputs:
        usedocker: true
        nav_app_version: 24.5.[yyyy]10.*
        targetproject: App/app.json
        ruleset: https://[REDACTED]/hidden-ruleset.json  # This contains AppSourceCop rules AS0081 and AS0126 for InternalsVisibleTo, which is removed in the final release build - no other AppSourceRules
        al_analyzer: AppSourceCop  # Use AppSourceCop as the analyzer
        internalsvisibleto: Keep
        failed_on_warnings: false
        app_file_suffix: '_APP'
    - task: ALOpsAppPublish@1
      displayName: 'ALOPS - Publish: Dysel NL App'
      inputs:
        usedocker: true
        nav_artifact_app_filter: '*_APP.app'
        skip_verification: true
    - task: ALOpsDockerRemove@1
      displayName: 'ALOPS - Remove Docker Container'
      enabled: true
      condition: always()
      inputs:
        createsqlbackup: 'disabled'

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

2024-10-16T09:25:11.4001911Z ##[section]Starting: ALOPS - Compile: Dysel NL App
2024-10-16T09:25:11.4007414Z ==============================================================================
2024-10-16T09:25:11.4007522Z Task         : ALOps App Compiler
2024-10-16T09:25:11.4007590Z Description  : Compile AL Extensions for Business Central
2024-10-16T09:25:11.4007670Z Version      : 1.466.6319
2024-10-16T09:25:11.4007734Z Author       : Hodor
2024-10-16T09:25:11.4007894Z Help         : Compile a Business Central extension from AL code.
2024-10-16T09:25:11.4007973Z ==============================================================================
2024-10-16T09:25:12.1191409Z *** Validate configuration
2024-10-16T09:25:12.2143923Z *** Task Inputs:
2024-10-16T09:25:12.2186121Z 
2024-10-16T09:25:12.2284036Z name                                                                                                              value
2024-10-16T09:25:12.2285660Z ----                                                                                                              -----
2024-10-16T09:25:12.2286532Z usedocker                                                                                                          True
2024-10-16T09:25:12.2287613Z fixed_tag                                                                                                              
2024-10-16T09:25:12.2288822Z targetproject                                                                  F:\Agents\Agent1\_work\34\s\App\app.json
2024-10-16T09:25:12.2289904Z nav_computername                                                                                                       
2024-10-16T09:25:12.2291049Z nav_serverinstance                                                                                                BC140
2024-10-16T09:25:12.2292053Z nav_tenant                                                                                                      default
2024-10-16T09:25:12.2293137Z nav_ports_dev                                                                                                      7049
2024-10-16T09:25:12.2294025Z bc_username                                                                                                            
2024-10-16T09:25:12.2295123Z bc_password                                                                                                            
2024-10-16T09:25:12.2296240Z al_compiler_version                                                                                          0.12.15355
2024-10-16T09:25:12.2307361Z ruleset                                                                              ...[REDACTED]/hidden-ruleset.json
2024-10-16T09:25:12.2308306Z suppresswarnings                                                                                                   KEEP
2024-10-16T09:25:12.2309246Z al_analyzer                                                                                                AppSourceCop
2024-10-16T09:25:12.2310290Z ignorepragmas                                                                                                          
2024-10-16T09:25:12.2311296Z nav_app_version                                                                                         24.5.[yyyy]10.*
2024-10-16T09:25:12.2312330Z vsix_download_path                                                                                                     
2024-10-16T09:25:12.2313420Z use_ssl                                                                                                           False
2024-10-16T09:25:12.2314551Z download_test_symbols                                                                                             False
2024-10-16T09:25:12.2315479Z usecompression                                                                                                     True
2024-10-16T09:25:12.2316530Z publish_artifact                                                                                                   True
2024-10-16T09:25:12.2317611Z publishxlif                                                                                                       False
2024-10-16T09:25:12.2319272Z failed_on_warnings                                                                                                False
2024-10-16T09:25:12.2319471Z failonany                                                                                                         False
2024-10-16T09:25:12.2320250Z app_file_suffix                                                                                                    _APP
2024-10-16T09:25:12.2321612Z updatebuildnumber                                                                                                  True
2024-10-16T09:25:12.2322574Z setup_working_folder                                                                                              False
2024-10-16T09:25:12.2323501Z showmycode                                                                                                         Keep
2024-10-16T09:25:12.2324684Z resourceexposurepolicy_allowdebugging                                                                              Keep
2024-10-16T09:25:12.2326008Z resourceexposurepolicy_allowdownloadingsource                                                                      Keep
2024-10-16T09:25:12.2327024Z resourceexposurepolicy_includesourceinsymbolfile                                                                   Keep
2024-10-16T09:25:12.2327920Z internalsvisibleto                                                                                                 Keep
2024-10-16T09:25:12.2328909Z preprocessorsymbols                                                                                                    
2024-10-16T09:25:12.2329807Z applicationinsightskey                                                                                                 
2024-10-16T09:25:12.2330903Z printappmanifest                                                                                                   True
2024-10-16T09:25:12.2331841Z output_alc_logs                                                                                                    True
2024-10-16T09:25:12.2332851Z additionalprobingpaths                                                                                                 
2024-10-16T09:25:12.2333841Z enable_external_rulesets                                                                                          False
2024-10-16T09:25:12.2334790Z allowed_publisher_names                                                                                                
2024-10-16T09:25:12.2335719Z allowed_publisher_names_separator                                                                                     ,
2024-10-16T09:25:12.2335831Z 
2024-10-16T09:25:12.2352929Z 
2024-10-16T09:25:12.2358472Z 
2024-10-16T09:25:12.2476674Z True
2024-10-16T09:25:12.2620481Z *** For documentation, please visit   : https://www.alops.be/documentation
2024-10-16T09:25:12.2622867Z 
2024-10-16T09:25:12.4966839Z *** ALOps License:
2024-10-16T09:25:12.4980386Z   * Licensed To: Computervak BV
2024-10-16T09:25:12.4982999Z 
2024-10-16T09:25:12.5071958Z *** Importing required PS-Functions
2024-10-16T09:25:12.6173446Z *** Initiate Docker Session
2024-10-16T09:25:12.8343976Z *** Set Docker Container ErrorActionPreference = Stop
2024-10-16T09:25:12.8488984Z *** Container Session Powershell Version
2024-10-16T09:25:12.9144777Z 
2024-10-16T09:25:12.9145027Z 
2024-10-16T09:25:12.9145401Z Name  : PSVersion
2024-10-16T09:25:12.9145631Z Value : 5.1.17763.6414
2024-10-16T09:25:12.9145719Z 
2024-10-16T09:25:12.9145905Z Name  : PSEdition
2024-10-16T09:25:12.9146116Z Value : Desktop
2024-10-16T09:25:12.9146193Z 
2024-10-16T09:25:12.9146383Z Name  : PSCompatibleVersions
2024-10-16T09:25:12.9146612Z Value : {1.0, 2.0, 3.0, 4.0...}
2024-10-16T09:25:12.9146703Z 
2024-10-16T09:25:12.9146830Z Name  : BuildVersion
2024-10-16T09:25:12.9146978Z Value : 10.0.17763.6414
2024-10-16T09:25:12.9147627Z 
2024-10-16T09:25:12.9147761Z Name  : CLRVersion
2024-10-16T09:25:12.9147904Z Value : 4.0.30319.42000
2024-10-16T09:25:12.9147970Z 
2024-10-16T09:25:12.9148119Z Name  : WSManStackVersion
2024-10-16T09:25:12.9148256Z Value : 3.0
2024-10-16T09:25:12.9148315Z 
2024-10-16T09:25:12.9148450Z Name  : PSRemotingProtocolVersion
2024-10-16T09:25:12.9148589Z Value : 2.3
2024-10-16T09:25:12.9148726Z 
2024-10-16T09:25:12.9148865Z Name  : SerializationVersion
2024-10-16T09:25:12.9149003Z Value : 1.1.0.1
2024-10-16T09:25:12.9149058Z 
2024-10-16T09:25:12.9149110Z 
2024-10-16T09:25:12.9149153Z 
2024-10-16T09:25:12.9149203Z 
2024-10-16T09:25:13.1719928Z *** Import NAV/BC Management DLL's [False]
2024-10-16T09:25:13.1757848Z *** Loading assemblies for ServiceTier [BC].
2024-10-16T09:25:13.3603361Z *** Loading assemblies from: [C:\program files\microsoft dynamics nav\240\service]
2024-10-16T09:25:13.4161897Z *** BC Management DLL: C:\program files\microsoft dynamics nav\240\service\Management\Microsoft.Dynamics.Nav.Management.dll
2024-10-16T09:25:13.4262135Z *** Selected module: [C:\program files\microsoft dynamics nav\240\service\Management\Microsoft.Dynamics.Nav.Management.dll]
2024-10-16T09:25:13.4270731Z *** Loading module: [C:\program files\microsoft dynamics nav\240\service\Management\Microsoft.Dynamics.Nav.Management.dll]
2024-10-16T09:25:13.6064432Z *** BC App Management DLL: not available
2024-10-16T09:25:13.6096273Z *** Setup VSIX for ALTOOL
2024-10-16T09:25:13.6180224Z *** ALTool Path: c:\Run\Microsoft.al\al-\extension\bin\win32\altool.exe
2024-10-16T09:25:13.6202152Z *** Using AL Compiler  located [C:\Run\Microsoft.al\al-\extension\bin\win32\alc.exe]
2024-10-16T09:25:13.6209005Z ***
2024-10-16T09:25:14.2431718Z *** Setting up AL Compiler [ALLanguage]
2024-10-16T09:25:14.3149911Z *** Downloading AL Compiler [ALLanguage]
2024-10-16T09:25:14.3229529Z *** Get Extension from Local-Disk...[C:\Run\ALLanguage.vsix]
2024-10-16T09:25:14.3234743Z *** Resolving Path [C:\Run\ALLanguage.vsix]
2024-10-16T09:25:14.4763394Z *** VSIX Path Resolved: [C:\Run\ALLanguage.vsix]
2024-10-16T09:25:14.4786458Z *** Unpacking Extension to folder...
2024-10-16T09:25:20.9497066Z *** ALTool Path: c:\Run\Microsoft.al\al-ALLanguage\extension\bin\win32\altool.exe
2024-10-16T09:25:20.9508199Z *** Using AL Compiler [vALLanguage] located [C:\Run\Microsoft.al\al-ALLanguage\extension\bin\win32\alc.exe]
2024-10-16T09:25:20.9515802Z ***
2024-10-16T09:25:20.9525353Z *** Working folder: F:\Agents\Agent1\_work\34\s
2024-10-16T09:25:20.9530813Z ***
2024-10-16T09:25:20.9537059Z *** Copy Working folder to Docker Container: 581f444abfac3a6ad72bcc6b4aa2462a1b5ea6fbff8792b1272ff2526f1b810a
2024-10-16T09:25:20.9542450Z *** Docker Working Folder: c:\Run\DevOps\
2024-10-16T09:25:20.9547783Z *** Copy from [F:\Agents\Agent1\_work\34\s] to [c:\Run\DevOps\]
2024-10-16T09:25:20.9576323Z *** Source File setup completed
2024-10-16T09:25:21.0166128Z *** Target Project: \App\app.json
2024-10-16T09:25:21.0171473Z *** Check for app.json files: c:\Run\DevOps\
2024-10-16T09:25:21.0648258Z *** Multiple projects found:
2024-10-16T09:25:21.0696039Z    - C:\Run\DevOps\App
2024-10-16T09:25:21.0703762Z    - C:\Run\DevOps\Artifacts-[REDACTED]\s\App
2024-10-16T09:25:21.0711224Z    - C:\Run\DevOps\Artifacts-[REDACTED]\s\Test
2024-10-16T09:25:21.0717350Z    - C:\Run\DevOps\Artifacts-[REDACTED]\s\App
2024-10-16T09:25:21.0724047Z    - C:\Run\DevOps\Artifacts-[REDACTED]\s\Test
2024-10-16T09:25:21.0731012Z    - C:\Run\DevOps\Test
2024-10-16T09:25:21.0753641Z *** Retrieving App-Info [\App\app.json]
2024-10-16T09:25:21.0840600Z *** Loading Json Object: [c:\Run\DevOps\App\app.json]
2024-10-16T09:25:21.1009844Z   * App.ID          = [REDACTED]
2024-10-16T09:25:21.1025531Z   * App.Name        = DYSEL NL
2024-10-16T09:25:21.1040842Z   * App.Publisher   = Dysel B.V.
2024-10-16T09:25:21.1056563Z   * App.Version     = 24.3.202408.0
2024-10-16T09:25:21.1072371Z   * App.Platform    = 24.0.0.0
2024-10-16T09:25:21.1087679Z   * App.Application = 24.0.0.0
2024-10-16T09:25:21.1131742Z *** Check Runtime: [13.0]
2024-10-16T09:25:21.1197393Z ***
2024-10-16T09:25:21.1674395Z *** Match: yyyy
2024-10-16T09:25:21.1782938Z *** Setting Managed App Version [c:\Run\DevOps\App\app.json] =>  24.5.202410.19734
2024-10-16T09:25:21.1985707Z *** Final app.json:
2024-10-16T09:25:21.1985874Z {
2024-10-16T09:25:21.1986023Z     "id":  [REDACTED],
2024-10-16T09:25:21.1986172Z     "name":  "DYSEL NL",
2024-10-16T09:25:21.1986313Z     "publisher":  "Dysel B.V.",
2024-10-16T09:25:21.1986478Z     "version":  "24.5.202410.19734",
2024-10-16T09:25:21.1986630Z     "brief":  "Dysel NL Country Version",
2024-10-16T09:25:21.1986796Z     "description":  "The Dutch country version add-on for the Dysel app.",
2024-10-16T09:25:21.1986982Z     "privacyStatement":  "https://dysel.com/app-privacy-policy",
2024-10-16T09:25:21.1987149Z     "EULA":  "https://dysel.com/eula",
2024-10-16T09:25:21.1987291Z     "help":  "https://support.dysel.com",
2024-10-16T09:25:21.1987434Z     "url":  "https://www.dysel.com",
2024-10-16T09:25:21.1987635Z     "contextSensitiveHelpUrl":  "https://learn.microsoft.com/en-us/training/dynamics365/business-central",
2024-10-16T09:25:21.1987818Z     "logo":  "Images/Dysel_Logo.png",
2024-10-16T09:25:21.1987960Z     "dependencies":  [
2024-10-16T09:25:21.1988083Z                          {
2024-10-16T09:25:21.1988226Z                              "id":  "[REDACTED]",
2024-10-16T09:25:21.1988385Z                              "publisher":  "Dysel",
2024-10-16T09:25:21.1988518Z                              "name":  "DYSEL",
2024-10-16T09:25:21.1988652Z                              "version":  "24.0.0.0"
2024-10-16T09:25:21.1988776Z                          }
2024-10-16T09:25:21.1988901Z                      ],
2024-10-16T09:25:21.1989020Z     "screenshots":  [
2024-10-16T09:25:21.1989074Z 
2024-10-16T09:25:21.1989187Z                     ],
2024-10-16T09:25:21.1989318Z     "application":  "24.0.0.0",
2024-10-16T09:25:21.1989451Z     "platform":  "24.0.0.0",
2024-10-16T09:25:21.1989575Z     "features":  [
2024-10-16T09:25:21.1989701Z                      "TranslationFile",
2024-10-16T09:25:21.1989837Z                      "NoImplicitWith",
2024-10-16T09:25:21.1989978Z                      "NoPromotedActionProperties"
2024-10-16T09:25:21.1990105Z                  ],
2024-10-16T09:25:21.1990218Z     "idRanges":  [
2024-10-16T09:25:21.1990331Z                      {
2024-10-16T09:25:21.1990459Z                          "from":  11335862,
2024-10-16T09:25:21.1990588Z                          "to":  11335889
2024-10-16T09:25:21.1990704Z                      }
2024-10-16T09:25:21.1990811Z                  ],
2024-10-16T09:25:21.1990938Z     "resourceExposurePolicy":  {
2024-10-16T09:25:21.1991075Z                                    "allowDebugging":  true,
2024-10-16T09:25:21.1991225Z                                    "allowDownloadingSource":  false,
2024-10-16T09:25:21.1991379Z                                    "includeSourceInSymbolFile":  false
2024-10-16T09:25:21.1991521Z                                },
2024-10-16T09:25:21.1991643Z     "internalsVisibleTo":  [
2024-10-16T09:25:21.1991768Z                                {
2024-10-16T09:25:21.1991907Z                                    "id":  [REDACTED]
2024-10-16T09:25:21.1992064Z                                    "name":  [REDACTED]
2024-10-16T09:25:21.1992211Z                                    "publisher":  [REDACTED]
2024-10-16T09:25:21.1992333Z                                }
2024-10-16T09:25:21.1992444Z                            ],
2024-10-16T09:25:21.1992707Z     "applicationInsightsConnectionString": [REDACTED],
2024-10-16T09:25:21.1993129Z     "preprocessorSymbols":  [
2024-10-16T09:25:21.1993256Z                                 "DNL24"
2024-10-16T09:25:21.1993374Z                             ],
2024-10-16T09:25:21.1993494Z     "runtime":  "13.0"
2024-10-16T09:25:21.1993612Z }
2024-10-16T09:25:21.1993655Z 
2024-10-16T09:25:21.1993758Z ***
2024-10-16T09:25:21.2245076Z *** Working Direcotry: [c:\Run\DevOps\]
2024-10-16T09:25:21.2245315Z *** Target Project: [\App\app.json]
2024-10-16T09:25:21.2272918Z *** Project Directory: [c:\Run\DevOps\App]
2024-10-16T09:25:21.2273182Z *** Downloading Ruleset: [https://[REDACTED]/hidden-ruleset.json]
2024-10-16T09:25:21.2281203Z ##[command]Invoke-RestMethod -Method Get -Uri "https://[REDACTED]/hidden-ruleset.json" -OutFile "c:\Run\DevOps\App\ruleset.json"
2024-10-16T09:25:21.2805170Z *** Ruleset download complete
2024-10-16T09:25:21.2849874Z *** Using Ruleset: [c:\Run\DevOps\App\ruleset.json]
2024-10-16T09:25:21.2858216Z ***
2024-10-16T09:25:21.3418990Z *** Resolve Docker Credentials
2024-10-16T09:25:21.3458020Z *** Setup BC Username/Password from Container info
2024-10-16T09:25:21.3753471Z *** Download Symbols
2024-10-16T09:25:21.4975295Z *** Working Dir: c:\Run\DevOps\
2024-10-16T09:25:21.4980174Z *** Load Code-Analysis from VSIX Folder
2024-10-16T09:25:21.5060176Z *** Loading assemblies from: [C:\Run\Microsoft.al\al-ALLanguage\extension\bin]
2024-10-16T09:25:21.5354280Z *** Loading: [C:\Run\Microsoft.al\al-ALLanguage\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeAnalysis.dll]
2024-10-16T09:25:21.6807294Z *** PackageCache path created [c:\Run\DevOps\PackageCache]
2024-10-16T09:25:21.6813964Z ***
2024-10-16T09:25:21.6935888Z *** Propagated Dependency: Dysel - DYSEL - 24.0.0.0
2024-10-16T09:25:21.6986465Z *** Download System-Symbols for [24.0.0.0]
2024-10-16T09:25:21.7333999Z *** Downloading NAV Symbols for [System v24.0.0.0]
2024-10-16T09:25:21.7343337Z *** Downloading NAV Symbols from [https://581f444abfac:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=24.0.0.0&tenant=default]
2024-10-16T09:25:21.7535264Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2024-10-16T09:25:21.7552262Z ##[command]Invoke-RestMethod -Method Get -Uri https://581f444abfac:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=24.0.0.0&tenant=default
2024-10-16T09:25:21.9144810Z *** Content-Disposition: attachment; filename=Microsoft_System_24.0.25517.0.app; filename*=UTF-8''Microsoft_System_24.0.25517.0.app
2024-10-16T09:25:21.9287764Z *** Saving symbol file [Microsoft_System_24.0.25517.0.app] to [c:\Run\DevOps\PackageCache]
2024-10-16T09:25:21.9461200Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_System_24.0.25517.0.app].
2024-10-16T09:25:22.0437043Z ***
2024-10-16T09:25:22.0442302Z *** Download Application-Symbols for [24.0.0.0]
2024-10-16T09:25:22.0454025Z *** Downloading NAV Symbols for [Application v24.0.0.0]
2024-10-16T09:25:22.0461632Z *** Downloading NAV Symbols from [https://581f444abfac:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=24.0.0.0&tenant=default]
2024-10-16T09:25:22.0472027Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2024-10-16T09:25:22.0480206Z ##[command]Invoke-RestMethod -Method Get -Uri https://581f444abfac:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=24.0.0.0&tenant=default
2024-10-16T09:25:22.0783117Z *** Content-Disposition: attachment; filename=Microsoft_Application_24.5.23489.25545.app; filename*=UTF-8''Microsoft_Application_24.5.23489.25545.app
2024-10-16T09:25:22.0805151Z *** Saving symbol file [Microsoft_Application_24.5.23489.25545.app] to [c:\Run\DevOps\PackageCache]
2024-10-16T09:25:22.0819262Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_Application_24.5.23489.25545.app].
2024-10-16T09:25:22.0996411Z *** Propagated Dependency: Microsoft - System Application - 24.5.0.0
2024-10-16T09:25:22.1030904Z *** Propagated Dependency: Microsoft - Business Foundation - 24.5.0.0
2024-10-16T09:25:22.1042550Z *** Propagated Dependency: Microsoft - Base Application - 24.5.0.0
2024-10-16T09:25:22.1052054Z ***
2024-10-16T09:25:22.1091407Z *** Check for Depency Apps 4
2024-10-16T09:25:22.1112916Z *** Download Application-Symbols for [DYSEL v24.0.0.0]
2024-10-16T09:25:22.1123850Z *** Downloading NAV Symbols for [DYSEL v24.0.0.0]
2024-10-16T09:25:22.1131936Z *** Downloading NAV Symbols from [https://581f444abfac:7049/BC/dev/packages?publisher=Dysel&appName=DYSEL&versionText=24.0.0.0&tenant=default&appid=781203f8-1ade-47fe-8d41-9c5319586d30]
2024-10-16T09:25:22.1142460Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2024-10-16T09:25:22.1296915Z ##[command]Invoke-RestMethod -Method Get -Uri https://581f444abfac:7049/BC/dev/packages?publisher=Dysel&appName=DYSEL&versionText=24.0.0.0&tenant=default&appid=781203f8-1ade-47fe-8d41-9c5319586d30
2024-10-16T09:25:22.3899379Z *** Content-Disposition: attachment; filename=Dysel_DYSEL_24.5.202410.19624.app; filename*=UTF-8''Dysel_DYSEL_24.5.202410.19624.app
2024-10-16T09:25:22.3920755Z *** Saving symbol file [Dysel_DYSEL_24.5.202410.19624.app] to [c:\Run\DevOps\PackageCache]
2024-10-16T09:25:22.3971250Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Dysel_DYSEL_24.5.202410.19624.app].
2024-10-16T09:25:22.3989438Z *** Propagated Dependency: Dysel - DYSEL System Application - 24.0.0.0
2024-10-16T09:25:22.3998070Z ***
2024-10-16T09:25:22.4036188Z *** Download Application-Symbols for [System Application v24.5.0.0]
2024-10-16T09:25:22.4077040Z *** Downloading NAV Symbols for [System Application v24.5.0.0]
2024-10-16T09:25:22.4083340Z *** Downloading NAV Symbols from [https://581f444abfac:7049/BC/dev/packages?publisher=Microsoft&appName=System+Application&versionText=24.5.0.0&tenant=default&appid=63ca2fa4-4f03-4f2b-a480-172fef340d3f]
2024-10-16T09:25:22.4092297Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2024-10-16T09:25:22.4098926Z ##[command]Invoke-RestMethod -Method Get -Uri https://581f444abfac:7049/BC/dev/packages?publisher=Microsoft&appName=System+Application&versionText=24.5.0.0&tenant=default&appid=63ca2fa4-4f03-4f2b-a480-172fef340d3f
2024-10-16T09:25:22.4413472Z *** Content-Disposition: attachment; filename="Microsoft_System Application_24.5.23489.25545.app"; filename*=UTF-8''Microsoft_System%20Application_24.5.23489.25545.app
2024-10-16T09:25:22.4433736Z *** Saving symbol file [Microsoft_System Application_24.5.23489.25545.app] to [c:\Run\DevOps\PackageCache]
2024-10-16T09:25:22.4590493Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_System Application_24.5.23489.25545.app].
2024-10-16T09:25:22.4716202Z ***
2024-10-16T09:25:22.4725231Z *** Download Application-Symbols for [Business Foundation v24.5.0.0]
2024-10-16T09:25:22.4736863Z *** Downloading NAV Symbols for [Business Foundation v24.5.0.0]
2024-10-16T09:25:22.4744327Z *** Downloading NAV Symbols from [https://581f444abfac:7049/BC/dev/packages?publisher=Microsoft&appName=Business+Foundation&versionText=24.5.0.0&tenant=default&appid=f3552374-a1f2-4356-848e-196002525837]
2024-10-16T09:25:22.4752149Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2024-10-16T09:25:22.4758555Z ##[command]Invoke-RestMethod -Method Get -Uri https://581f444abfac:7049/BC/dev/packages?publisher=Microsoft&appName=Business+Foundation&versionText=24.5.0.0&tenant=default&appid=f3552374-a1f2-4356-848e-196002525837
2024-10-16T09:25:22.5011498Z *** Content-Disposition: attachment; filename="Microsoft_Business Foundation_24.5.23489.25545.app"; filename*=UTF-8''Microsoft_Business%20Foundation_24.5.23489.25545.app
2024-10-16T09:25:22.5030673Z *** Saving symbol file [Microsoft_Business Foundation_24.5.23489.25545.app] to [c:\Run\DevOps\PackageCache]
2024-10-16T09:25:22.5063419Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_Business Foundation_24.5.23489.25545.app].
2024-10-16T09:25:22.5126644Z ***
2024-10-16T09:25:22.5138466Z *** Download Application-Symbols for [Base Application v24.5.0.0]
2024-10-16T09:25:22.5148455Z *** Downloading NAV Symbols for [Base Application v24.5.0.0]
2024-10-16T09:25:22.5154940Z *** Downloading NAV Symbols from [https://581f444abfac:7049/BC/dev/packages?publisher=Microsoft&appName=Base+Application&versionText=24.5.0.0&tenant=default&appid=437dbf0e-84ff-417a-965d-ed2bb9650972]
2024-10-16T09:25:22.5163645Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2024-10-16T09:25:22.5169968Z ##[command]Invoke-RestMethod -Method Get -Uri https://581f444abfac:7049/BC/dev/packages?publisher=Microsoft&appName=Base+Application&versionText=24.5.0.0&tenant=default&appid=437dbf0e-84ff-417a-965d-ed2bb9650972
2024-10-16T09:25:22.5777140Z *** Content-Disposition: attachment; filename="Microsoft_Base Application_24.5.23489.25545.app"; filename*=UTF-8''Microsoft_Base%20Application_24.5.23489.25545.app
2024-10-16T09:25:22.5796218Z *** Saving symbol file [Microsoft_Base Application_24.5.23489.25545.app] to [c:\Run\DevOps\PackageCache]
2024-10-16T09:25:22.6567777Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_Base Application_24.5.23489.25545.app].
2024-10-16T09:25:22.7308039Z ***
2024-10-16T09:25:22.7317539Z *** Download Application-Symbols for [DYSEL System Application v24.0.0.0]
2024-10-16T09:25:22.7329442Z *** Downloading NAV Symbols for [DYSEL System Application v24.0.0.0]
2024-10-16T09:25:22.7337789Z *** Downloading NAV Symbols from [https://581f444abfac:7049/BC/dev/packages?publisher=Dysel&appName=DYSEL+System+Application&versionText=24.0.0.0&tenant=default&appid=[REDACTED]]
2024-10-16T09:25:22.7347850Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2024-10-16T09:25:22.7355246Z ##[command]Invoke-RestMethod -Method Get -Uri https://581f444abfac:7049/BC/dev/packages?publisher=Dysel&appName=DYSEL+System+Application&versionText=24.0.0.0&tenant=default&appid=[REDACTED]
2024-10-16T09:25:22.7657492Z *** Content-Disposition: attachment; filename="Dysel_DYSEL System Application_24.5.202410.19719.app"; filename*=UTF-8''Dysel_DYSEL%20System%20Application_24.5.202410.19719.app
2024-10-16T09:25:22.7679495Z *** Saving symbol file [Dysel_DYSEL System Application_24.5.202410.19719.app] to [c:\Run\DevOps\PackageCache]
2024-10-16T09:25:22.7694329Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Dysel_DYSEL System Application_24.5.202410.19719.app].
2024-10-16T09:25:22.7706478Z ***
2024-10-16T09:25:22.8137865Z *** Starting AL Compiler...
2024-10-16T09:25:22.8143932Z *** App.Name         = DYSEL NL
2024-10-16T09:25:22.8151584Z *** App.Publisher    = Dysel B.V.
2024-10-16T09:25:22.8158876Z *** App.Compiler Path= C:\Run\Microsoft.al\al-ALLanguage\extension\bin\win32\alc.exe
2024-10-16T09:25:22.8257523Z *** Checking for Assemblies in App
2024-10-16T09:25:22.8637714Z *** Add Windows Assembly Path [C:\Windows\assembly]
2024-10-16T09:25:22.8790720Z *** Searching CodeCop: AppSourceCop
2024-10-16T09:25:22.8877294Z *** Codecop found: C:\run\microsoft.al\al-allanguage\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll
2024-10-16T09:25:22.9110963Z *** Detect ALC.EXE Features.
2024-10-16T09:25:22.9111181Z ##[command]& C:\Run\Microsoft.al\al-ALLanguage\extension\bin\win32\alc.exe /?
2024-10-16T09:25:23.1869922Z   * PARALLEL+
2024-10-16T09:25:23.1874259Z   * MAXDEGREEOFPARALLELISM
2024-10-16T09:25:23.1881214Z   * ASSEMBLYPROBINGPATHS
2024-10-16T09:25:23.1890737Z ##[command]& C:\Run\Microsoft.al\al-ALLanguage\extension\bin\win32\alc.exe /packagecachepath:"c:\Run\DevOps\PackageCache" /project:"c:\Run\DevOps\App" /out:"c:\Run\DevOps\Dysel B.V._DYSEL NL_24.5.202410.19734_APP.app" /fullpaths /analyzer:"C:\run\microsoft.al\al-allanguage\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll" /parallel+ /maxDegreeOfParallelism:2 /assemblyprobingpaths:"C:\Windows\assembly","C:\Windows\Microsoft.NET\assembly","C:\Program Files\Microsoft Dynamics NAV\240\Service\Add-ins","C:\program files\microsoft dynamics nav\240\service\Management" /ruleset:"c:\Run\DevOps\App\ruleset.json"
2024-10-16T09:25:29.5214643Z *** AL Compiler Exit Code: 0
2024-10-16T09:25:29.5418436Z *** AL Compiler raw logs: Start
2024-10-16T09:25:29.5425806Z Microsoft (R) AL Compiler version 13.1.17.64527
2024-10-16T09:25:29.5433819Z Copyright (C) Microsoft Corporation. All rights reserved
2024-10-16T09:25:29.5441800Z Compilation started for project 'DYSEL NL' containing '14' files at '11:25:23.482'.
2024-10-16T09:25:29.5450737Z Compilation ended at '11:25:29.464'.
2024-10-16T09:25:29.5458270Z *** AL Compiler raw logs: End
2024-10-16T09:25:29.5466096Z *** Start processing compile results.
2024-10-16T09:25:29.5690028Z *** Store compile log to [c:\Run\DevOps\compilelog.txt]
2024-10-16T09:25:29.5702503Z *** Start processing compile results done.
2024-10-16T09:25:29.5709433Z *** Transfer App Artifact from Docker container.
2024-10-16T09:25:29.8164160Z *** Transfer Compile Log from Docker container.
2024-10-16T09:25:29.8635525Z *** Attach Compile Log to Vsts Build info.
2024-10-16T09:25:29.9143021Z *** Process Compile results.
2024-10-16T09:25:29.9143239Z *** Process Compile results: retrieve status.
2024-10-16T09:25:29.9143405Z *** Publish XLIF as Artifact skipped
2024-10-16T09:25:29.9144248Z *** Transfer App file to Artifacts.
2024-10-16T09:25:29.9144427Z *** AL Compiler Finished.
2024-10-16T09:25:29.9144555Z ***
2024-10-16T09:25:29.9144681Z *** Compile OK.
2024-10-16T09:25:29.9145680Z ***
2024-10-16T09:25:29.9145741Z 
2024-10-16T09:25:29.9145929Z *** Disconnect Docker session.
2024-10-16T09:25:29.9146129Z *** Remove Docker session.
2024-10-16T09:25:29.9146272Z *** Docker session removed.
2024-10-16T09:25:29.9146489Z *** Set Pipeline variable $(ALOPS_COMPILE_ARTIFACT_ARRAY) = 'F:\Agents\Agent1\_work\34\a\Dysel B.V._DYSEL NL_24.5.202410.19734_APP.app'
2024-10-16T09:25:29.9147170Z *** Set Pipeline variable $(ALOPS_COMPILE_ARTIFACT) = 'F:\Agents\Agent1\_work\34\a\Dysel B.V._DYSEL NL_24.5.202410.19734_APP.app'
2024-10-16T09:25:29.9147707Z *** Uploading APP as Build-Artifact
2024-10-16T09:25:29.9315792Z *** App-Artifact uploaded.
2024-10-16T09:25:29.9315965Z ***
2024-10-16T09:25:29.9316099Z *** Cleanup VSTS Environment: True
2024-10-16T09:25:32.1677658Z ##[section]Async Command Start: Add Build Tag
2024-10-16T09:25:32.1678024Z Build '19734' has following tags now: AL.Compiler.ALLanguage, App.DYSEL NL.24.5.202410.19553, App.DYSEL.24.5.202410.19624, App.DYSEL System Application.24.5.202410.19719, BC.Version.24.5.23489.25545, BC.Platform.24.0.25517.0, myimage-sandbox-24.5.23489.25545-nl-ltsc2019
2024-10-16T09:25:32.1678311Z ##[section]Async Command End: Add Build Tag
2024-10-16T09:25:32.1678702Z ##[section]Async Command Start: Update Build Number
2024-10-16T09:25:32.1678899Z Update build number to 24.5.202410.19734 for build 19734
2024-10-16T09:25:32.1679026Z ##[section]Async Command End: Update Build Number
2024-10-16T09:25:32.1679408Z ##[section]Async Command Start: Add Build Tag
2024-10-16T09:25:32.1679752Z Build '19734' has following tags now: AL.Compiler.ALLanguage, AL.Analyzer.AppSourceCop, App.DYSEL NL.24.5.202410.19553, App.DYSEL.24.5.202410.19624, App.DYSEL System Application.24.5.202410.19719, BC.Version.24.5.23489.25545, BC.Platform.24.0.25517.0, myimage-sandbox-24.5.23489.25545-nl-ltsc2019
2024-10-16T09:25:32.1680039Z ##[section]Async Command End: Add Build Tag
2024-10-16T09:25:32.1680416Z ##[section]Async Command Start: Upload Artifact
2024-10-16T09:25:32.1680583Z Uploading 1 files
2024-10-16T09:25:32.1680682Z File upload succeed.
2024-10-16T09:25:32.1680822Z Upload 'F:\Agents\Agent1\_work\34\s\compilelog.txt' to file container: '#/38820392/ELC25'
2024-10-16T09:25:32.1680978Z Associated artifact 80072 with build 19734
2024-10-16T09:25:32.1681095Z ##[section]Async Command End: Upload Artifact
2024-10-16T09:25:32.1681470Z ##[section]Async Command Start: Upload Artifact
2024-10-16T09:25:32.1681635Z Uploading 1 files
2024-10-16T09:25:32.1681729Z File upload succeed.
2024-10-16T09:25:32.1681890Z Upload 'F:\Agents\Agent1\_work\34\a\Dysel B.V._DYSEL NL_24.5.202410.19734_APP.app' to file container: '#/38820392/ELC25'
2024-10-16T09:25:32.1682152Z Associated artifact 80072 with build 19734
2024-10-16T09:25:32.1682271Z ##[section]Async Command End: Upload Artifact
2024-10-16T09:25:32.1682929Z ##[section]Finishing: ALOPS - Compile: Dysel NL App

Publish Step

2024-10-16T09:25:32.1701680Z ##[section]Starting: ALOPS - Publish: Dysel NL App
2024-10-16T09:25:32.1706351Z ==============================================================================
2024-10-16T09:25:32.1706473Z Task         : ALOps App Publish
2024-10-16T09:25:32.1706533Z Description  : Publish AL Extension to Business Central
2024-10-16T09:25:32.1706615Z Version      : 1.466.6319
2024-10-16T09:25:32.1706671Z Author       : Hodor
2024-10-16T09:25:32.1706724Z Help         : Publish Business Central extension to service tier.
2024-10-16T09:25:32.1706808Z ==============================================================================
2024-10-16T09:25:32.8517335Z *** Validate configuration
2024-10-16T09:25:32.8934755Z *** Task Inputs:
2024-10-16T09:25:32.8999858Z 
2024-10-16T09:25:32.9124480Z name                                                                                                              value
2024-10-16T09:25:32.9126006Z ----                                                                                                              -----
2024-10-16T09:25:32.9127576Z usedocker                                                                                                          True
2024-10-16T09:25:32.9129278Z fixed_tag                                                                                                              
2024-10-16T09:25:32.9130423Z installpublishedapps                                                                                               True
2024-10-16T09:25:32.9131516Z installaltesttool                                                                                                 False
2024-10-16T09:25:32.9132845Z install_al_app_names                                                                             Tests-TestLibraries...
2024-10-16T09:25:32.9133801Z strictappnames                                                                                                    False
2024-10-16T09:25:32.9134916Z nav_serverinstance                                                                                                BC140
2024-10-16T09:25:32.9136027Z artifact_path                                                                                                          
2024-10-16T09:25:32.9137345Z nav_artifact_app_filter                                                                                       *_APP.app
2024-10-16T09:25:32.9138424Z skip_verification                                                                                                  True
2024-10-16T09:25:32.9139480Z forceinstall                                                                                                      False
2024-10-16T09:25:32.9140522Z forcesync                                                                                                         False
2024-10-16T09:25:32.9141587Z publish_scope                                                                                                    Global
2024-10-16T09:25:32.9142786Z tenant                                                                                                          default
2024-10-16T09:25:32.9143753Z batch_publish_folder                                                                                                   
2024-10-16T09:25:32.9144824Z publisherazureactivedirectorytenantid                                                                                  
2024-10-16T09:25:32.9145929Z blocksymbolsonly                                                                                                  False
2024-10-16T09:25:32.9146994Z pwsh                                                                                                              False
2024-10-16T09:25:32.9147112Z 
2024-10-16T09:25:32.9166316Z 
2024-10-16T09:25:32.9172008Z 
2024-10-16T09:25:32.9314262Z True
2024-10-16T09:25:32.9470519Z *** For documentation, please visit   : https://www.alops.be/documentation
2024-10-16T09:25:32.9473074Z 
2024-10-16T09:25:33.1585510Z *** ALOps License:
2024-10-16T09:25:33.1599592Z   * Licensed To: Computervak BV
2024-10-16T09:25:33.1602595Z 
2024-10-16T09:25:33.1693245Z *** Importing required PS-Functions
2024-10-16T09:25:33.3111836Z *** Initiate Docker Session
2024-10-16T09:25:33.5283610Z *** Set Docker Container ErrorActionPreference = Stop
2024-10-16T09:25:33.5428207Z *** Container Session Powershell Version
2024-10-16T09:25:33.6091142Z 
2024-10-16T09:25:33.6091489Z 
2024-10-16T09:25:33.6091888Z Name  : PSVersion
2024-10-16T09:25:33.6092125Z Value : 5.1.17763.6414
2024-10-16T09:25:33.6092224Z 
2024-10-16T09:25:33.6092420Z Name  : PSEdition
2024-10-16T09:25:33.6092628Z Value : Desktop
2024-10-16T09:25:33.6092722Z 
2024-10-16T09:25:33.6092932Z Name  : PSCompatibleVersions
2024-10-16T09:25:33.6093232Z Value : {1.0, 2.0, 3.0, 4.0...}
2024-10-16T09:25:33.6093345Z 
2024-10-16T09:25:33.6093553Z Name  : BuildVersion
2024-10-16T09:25:33.6093786Z Value : 10.0.17763.6414
2024-10-16T09:25:33.6093878Z 
2024-10-16T09:25:33.6094077Z Name  : CLRVersion
2024-10-16T09:25:33.6094324Z Value : 4.0.30319.42000
2024-10-16T09:25:33.6094429Z 
2024-10-16T09:25:33.6094664Z Name  : WSManStackVersion
2024-10-16T09:25:33.6094893Z Value : 3.0
2024-10-16T09:25:33.6094983Z 
2024-10-16T09:25:33.6095191Z Name  : PSRemotingProtocolVersion
2024-10-16T09:25:33.6095402Z Value : 2.3
2024-10-16T09:25:33.6095479Z 
2024-10-16T09:25:33.6095695Z Name  : SerializationVersion
2024-10-16T09:25:33.6095935Z Value : 1.1.0.1
2024-10-16T09:25:33.6096035Z 
2024-10-16T09:25:33.6096106Z 
2024-10-16T09:25:33.6096189Z 
2024-10-16T09:25:33.6096265Z 
2024-10-16T09:25:33.7394811Z *** Install AL TestTool: False
2024-10-16T09:25:33.7399655Z *** Working folder: F:\Agents\Agent1\_work\34\s
2024-10-16T09:25:33.7405209Z *** Artifact folder: F:\Agents\Agent1\_work\34\a
2024-10-16T09:25:33.7410101Z *** Pipeline workspace: F:\Agents\Agent1\_work\34
2024-10-16T09:25:33.7414337Z ***
2024-10-16T09:25:33.7429663Z *** Copy Artifacts to Docker Container: 581f444abfac3a6ad72bcc6b4aa2462a1b5ea6fbff8792b1272ff2526f1b810a
2024-10-16T09:25:33.7434137Z *** Docker Artifacts Folder: c:\Run\DevOps\Artifacts
2024-10-16T09:25:33.7482196Z *** Dynamic resolve App file.
2024-10-16T09:25:33.7486985Z *** Scanning [System.DefaultWorkingDirectory].
2024-10-16T09:25:33.7560964Z *** Scanning [System.ArtifactsDirectory].
2024-10-16T09:25:33.7576580Z *** Scanning [Pipeline.Workspace].
2024-10-16T09:25:33.7647365Z *** Multiple App files found with filter [*_APP.app].
2024-10-16T09:25:33.7693751Z   * F:\Agents\Agent1\_work\34\Dynamics 365\Dysel_DYSEL System Application_24.5.202410.19719_APP.app
2024-10-16T09:25:33.7698396Z   * F:\Agents\Agent1\_work\34\Dynamics 365\Dysel_DYSEL_24.5.202410.19624_APP.app
2024-10-16T09:25:33.7702857Z   * F:\Agents\Agent1\_work\34\Dynamics 365\Dysel B.V._DYSEL NL_24.5.202410.19553_APP.app
2024-10-16T09:25:33.7707260Z   * F:\Agents\Agent1\_work\34\s\Dysel B.V._DYSEL NL_24.5.202410.19734_APP.app
2024-10-16T09:25:33.7720096Z *** Resolved App File: [F:\Agents\Agent1\_work\34\a\Dysel B.V._DYSEL NL_24.5.202410.19734_APP.app].
2024-10-16T09:25:33.8167198Z *** Copy Artifact: [F:\Agents\Agent1\_work\34\a\Dysel B.V._DYSEL NL_24.5.202410.19734_APP.app]
2024-10-16T09:25:34.1767648Z *** Import NAV/BC Management DLL's [False]
2024-10-16T09:25:34.1802469Z *** Loading assemblies for ServiceTier [BC].
2024-10-16T09:25:34.3432850Z *** Loading assemblies from: [C:\program files\microsoft dynamics nav\240\service]
2024-10-16T09:25:34.3993286Z *** BC Management DLL: C:\program files\microsoft dynamics nav\240\service\Management\Microsoft.Dynamics.Nav.Management.dll
2024-10-16T09:25:34.4067725Z *** Selected module: [C:\program files\microsoft dynamics nav\240\service\Management\Microsoft.Dynamics.Nav.Management.dll]
2024-10-16T09:25:34.4086011Z *** Loading module: [C:\program files\microsoft dynamics nav\240\service\Management\Microsoft.Dynamics.Nav.Management.dll]
2024-10-16T09:25:34.5854085Z *** BC App Management DLL: not available
2024-10-16T09:25:34.5882941Z *** Setup VSIX for ALTOOL
2024-10-16T09:25:34.5943444Z *** ALTool Path: c:\Run\Microsoft.al\al-\extension\bin\win32\altool.exe
2024-10-16T09:25:34.5966749Z *** Using AL Compiler  located [C:\Run\Microsoft.al\al-\extension\bin\win32\alc.exe]
2024-10-16T09:25:34.5973838Z ***
2024-10-16T09:25:34.6321495Z 
2024-10-16T09:25:34.6348515Z **************************************
2024-10-16T09:25:34.6355974Z  * App File = [c:\Run\DevOps\Artifacts\Dysel B.V._DYSEL NL_24.5.202410.19734_APP.app]
2024-10-16T09:25:34.6360899Z 
2024-10-16T09:25:35.1584318Z  * App.ID        = [REDACTED]
2024-10-16T09:25:35.1602025Z  * App.Name      = DYSEL NL
2024-10-16T09:25:35.1871466Z  * App.Publisher = Dysel B.V.
2024-10-16T09:25:35.1899536Z  * App.Version   = 24.5.202410.19734
2024-10-16T09:25:35.2082371Z *** Get Published App Info [Dysel B.V. / DYSEL NL / 24.5.202410.19734]
2024-10-16T09:25:35.9508995Z  => Publishing App 'DYSEL NL v24.5.202410.19734'
2024-10-16T09:25:36.8432357Z *** Get Tenants
2024-10-16T09:25:37.4479885Z *** Tenant Info:
2024-10-16T09:25:37.4481893Z 
2024-10-16T09:25:38.2559759Z *** Published App:
2024-10-16T09:25:38.2580432Z 
2024-10-16T09:25:38.2580588Z 
2024-10-16T09:25:38.2580894Z ServerInstance                        : MicrosoftDynamicsNavServer$BC
2024-10-16T09:25:38.2581211Z ExtensionDataVersion                  : 24.5.202410.19553
2024-10-16T09:25:38.2581450Z IsInstalled                           : False
2024-10-16T09:25:38.2581788Z SyncState                             : NotSynced
2024-10-16T09:25:38.2582041Z NeedsUpgrade                          : False
2024-10-16T09:25:38.2582254Z IsPublished                           : True
2024-10-16T09:25:38.2582465Z Brief                                 : Dysel NL Country Version
2024-10-16T09:25:38.2582662Z Description                           : The Dutch country version add-on for the Dysel app.
2024-10-16T09:25:38.2582858Z CompatibilityId                       : 1.0.0.0
2024-10-16T09:25:38.2583048Z PrivacyStatement                      : https://dysel.com/app-privacy-policy
2024-10-16T09:25:38.2583249Z Eula                                  : https://dysel.com/eula
2024-10-16T09:25:38.2583429Z Help                                  : https://support.dysel.com
2024-10-16T09:25:38.2583597Z Url                                   : https://www.dysel.com
2024-10-16T09:25:38.2583755Z Logo                                  : 
2024-10-16T09:25:38.2583900Z DeveloperTenantId                     : 
2024-10-16T09:25:38.2584050Z ScreenShots                           : {}
2024-10-16T09:25:38.2584247Z Dependencies                          : {Application, Microsoft, 24.0.0.0, False, DYSEL, Dysel, 24.0.0.0, False}
2024-10-16T09:25:38.2584450Z Capabilities                          : {}
2024-10-16T09:25:38.2584625Z PackageId                             : e3f6e9f9-6338-433d-95e8-6df5391d018f
2024-10-16T09:25:38.2584814Z PublisherAzureActiveDirectoryTenantId : 
2024-10-16T09:25:38.2585001Z AppId                                 : b52ee955-2b82-44cd-9327-a6f814791ad6
2024-10-16T09:25:38.2585177Z Name                                  : DYSEL NL
2024-10-16T09:25:38.2585333Z Publisher                             : Dysel B.V.
2024-10-16T09:25:38.2585495Z Version                               : 24.5.202410.19734
2024-10-16T09:25:38.2585659Z ExtensionType                         : ModernDev
2024-10-16T09:25:38.2585818Z Scope                                 : Global
2024-10-16T09:25:38.2585959Z Tenant                                : 
2024-10-16T09:25:38.2586016Z 
2024-10-16T09:25:38.2586069Z 
2024-10-16T09:25:38.2586116Z 
2024-10-16T09:25:38.2586167Z 
2024-10-16T09:25:38.2586324Z *** Sync Tenant default
2024-10-16T09:25:39.0684016Z *** Sync App [DYSEL NL] on tenant [default]
2024-10-16T09:25:39.9175362Z *** App Already installed, doing upgrade default
2024-10-16T09:25:39.9178441Z   * Current version: 24.5.202410.19553
2024-10-16T09:25:39.9184464Z   * New version: 24.5.202410.19734
2024-10-16T09:25:39.9222142Z *** Sync App [DYSEL NL] on tenant [default]
2024-10-16T09:25:40.6906595Z *** Tenant Dataupgrade default
2024-10-16T09:25:42.5910139Z  * UnPublishing Old App 'DYSEL NL v24.5.202410.19553'.
2024-10-16T09:25:43.3818005Z 
2024-10-16T09:25:43.3824856Z **************************************
2024-10-16T09:25:43.3828999Z 
2024-10-16T09:25:43.3868241Z 
2024-10-16T09:25:43.3873921Z *** Disconnect Docker session.
2024-10-16T09:25:43.3892428Z *** Remove Docker session.
2024-10-16T09:25:43.3896701Z *** Docker session removed.
2024-10-16T09:25:43.3900962Z *** AL-Extension Published to ALOps Repository
2024-10-16T09:25:43.3957450Z *** Cleanup VSTS Environment: True
2024-10-16T09:25:45.6610259Z ##[section]Async Command Start: Add Build Tag
2024-10-16T09:25:45.6610746Z Build '19734' has following tags now: AL.Compiler.ALLanguage, AL.Analyzer.AppSourceCop, App.DYSEL NL.24.5.202410.19553, App.DYSEL.24.5.202410.19624, App.DYSEL System Application.24.5.202410.19719, BC.Version.24.5.23489.25545, BC.Platform.24.0.25517.0, myimage-sandbox-24.5.23489.25545-nl-ltsc2019, App.DYSEL NL.24.5.202410.19734
2024-10-16T09:25:45.6611123Z ##[section]Async Command End: Add Build Tag
2024-10-16T09:25:45.6611679Z ##[section]Finishing: ALOPS - Publish: Dysel NL App

Expected behavior
I would have expected the compilation of the app to fail on the removed page extension field.

Additional context
N/A

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ALOpsAppCompiler@1 task and compare its AppSourceCop handling with the referenced Examples/AppSource/01 AppSourceCop With Previous.yml example. Reproduce the pipeline using the supplied YAML and breaking page-extension change; done means AppSourceCop detects the removed field and the pipeline reports the expected failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.