Closed pri-kise closed 2 years ago
Same here. Wondering if it is ALOps or Microsoft itself.
Same here.
I can't seem to repro the issue - you still have it?
Hi, yes. I had to set it to NextMinor to be able to keep compiling. For me Latest, breaks:
- task: ALOpsAppCompiler@2
inputs:
artifacttype: 'Sandbox'
artifactcountry: 'W1'
versionselect: 'Latest'
appversiontemplate: '19.0.0.*'
appfilenametemplate: '%APP_PUBLISHER%_%APP_NAME%_%APP_VERSION%_%BC_TYPE%_%BC_VERSION%_%BC_COUNTRY%.app'
publishxlif: true
failonwarnings: false
storageaccount: 'bcinsider'
sastoken: '$(SASToken)'
publishartifact: true
alcodeanalyzer: 'UICop,PerTenantExtensionCop,CodeCop
Latest? I thought we were talking about NextMajor?
Please send me the log that is caused by that yaml?
On our side it works again. Nothing changed on our side.
Nothing changed on our side either - a simple NextMajor hiccup - happened before ;-)
@gonzaloriosley ,
I'd be happy to look into your issue, but since that doesn't have anything to do with the NextMajor, please open a new issue with full yaml and full log so I have enough info!
We have the same issue. I have installed the latest Windows update on the server and installed the latest version of BcContainerHelper. The BC21 builds are all failing and the BC19 and BC20 build are all working fine. Does anyone has an idea how to solve this?
@waldo1001 Same here. The issue was gone for a few days. Now it is back.
Sidenote: updating BcContainerHelper is not going to help you - for the steps where ALOps uses BCCH, it will update it as well.
I just ran my test-pipelines with NextMajor, and all are working.
Would it be possible to send a repro?
@waldo1001 What do you need? Have we set up the build agent as recommended: https://www.waldo.be/2020/03/06/devops-build-agents-for-microsoft-dynamics-365-business-central/
@waldo1001 I can create an Azure VM if it helps analyze the problem, if you can get access to it.
A simple yaml would be nice?
It is still the yaml above.
Hi @waldo1001
This is our yaml and the output:
displayName: 'Compile ${{ alsourcepath }} - ${{ country }} ${{ version }}'
inputs:
artifacttype: 'Sandbox'
artifactcountry: '${{ country }}'
versionselect: ${{ version }}
publishartifact: false
alsourcepath: ${{ alsourcepath }}
appversiontemplate: ${{ parameters.appversiontemplate }}
sasToken: ${{ parameters.sasToken }}
2022-05-09T19:11:19.2869783Z ##[section]Starting: Compile base/app.json - nl NextMajor
2022-05-09T19:11:19.3778108Z ==============================================================================
2022-05-09T19:11:19.3778678Z Task : ALOps App Compiler
2022-05-09T19:11:19.3779158Z Description : Compile AL Extension(s) for Business Central
2022-05-09T19:11:19.3779610Z Version : 2.0.2984
2022-05-09T19:11:19.3779964Z Author : Hodor
2022-05-09T19:11:19.3780430Z Help : Compile Business Central extension(s) from AL code.
2022-05-09T19:11:19.3780942Z ==============================================================================
2022-05-09T19:11:22.5225774Z ******************************************************************************
2022-05-09T19:11:22.5238762Z *** ALOps v2 - Preview ***
2022-05-09T19:11:22.5247885Z ******************************************************************************
2022-05-09T19:11:22.5256881Z *** Importing required ALOps-Functions
2022-05-09T19:11:23.2875592Z *** Task Inputs:
2022-05-09T19:11:23.2950496Z
2022-05-09T19:11:23.3131898Z name value
2022-05-09T19:11:23.3134136Z ---- -----
2022-05-09T19:11:23.3136628Z artifactversion
2022-05-09T19:11:23.3138878Z artifacttype Sandbox
2022-05-09T19:11:23.3141216Z artifactcountry nl
2022-05-09T19:11:23.3143694Z versionselect NextMajor
2022-05-09T19:11:23.3145970Z alternativevsixurl
2022-05-09T19:11:23.3149142Z alsourcepath base/app.json
2022-05-09T19:11:23.3151811Z ruleset
2022-05-09T19:11:23.3154555Z appversiontemplate ?.?.[yyyyMMdd].*
2022-05-09T19:11:23.3157323Z updatebuildnumber True
2022-05-09T19:11:23.3190539Z appfilenametemplate %APP_PUBLISHER%_%APP_NAME%_%APP_VERSION%_%BC_TYPE%_%BC_VERSION%_%BC...
2022-05-09T19:11:23.3192132Z alcodeanalyzer
2022-05-09T19:11:23.3194512Z showmycode Keep
2022-05-09T19:11:23.3195877Z resourceexposurepolicy_allowdebugging Keep
2022-05-09T19:11:23.3197968Z resourceexposurepolicy_allowdownloadingsource Keep
2022-05-09T19:11:23.3199955Z resourceexposurepolicy_includesourceinsymbolfile Keep
2022-05-09T19:11:23.3202040Z applicationinsightskey
2022-05-09T19:11:23.3204062Z alcachepath E:\Agent\_work\4\s
2022-05-09T19:11:23.3206186Z publishartifact False
2022-05-09T19:11:23.3210034Z publishxlif False
2022-05-09T19:11:23.3210837Z failonwarnings False
2022-05-09T19:11:23.3212146Z storageaccount
2022-05-09T19:11:23.3234174Z sastoken ?sv=2020-08-04&ss=b&srt=sco&spr=https&st=2022-03-15T00%3A00%3A00Z&s...
2022-05-09T19:11:23.3235008Z printappmanifest True
2022-05-09T19:11:23.3237081Z outputalclogs True
2022-05-09T19:11:23.3239739Z additionalprobingpaths
2022-05-09T19:11:23.3240260Z
2022-05-09T19:11:23.3273150Z
2022-05-09T19:11:23.3284870Z
2022-05-09T19:11:23.3512439Z *** For documentation, please visit : https://www.alops.be/documentation
2022-05-09T19:11:23.3517408Z
2022-05-09T19:11:23.7007001Z *** ALOps License:
2022-05-09T19:11:23.7068429Z * Licensed To: <removed>
2022-05-09T19:11:23.7079101Z
2022-05-09T19:11:23.9506706Z *** Importing required Task-Functions
2022-05-09T19:11:28.9303013Z
2022-05-09T19:11:28.9688111Z *** Artifact Type : [Sandbox]
2022-05-09T19:11:28.9708373Z *** Artifact Version: []
2022-05-09T19:11:28.9727933Z *** Artifact Country: [nl]
2022-05-09T19:11:28.9746944Z *** AL Source Path : [base/app.json]
2022-05-09T19:11:28.9766079Z *** AL Cache Path : [E:\Agent\_work\4\s]
2022-05-09T19:11:28.9780218Z
2022-05-09T19:11:28.9829377Z
2022-05-09T19:11:29.0144971Z *** Default Working Folder: E:\Agent\_work\4\s
2022-05-09T19:11:29.0171408Z *** Artifact Folder : E:\Agent\_work\4\a
2022-05-09T19:11:29.0189631Z *** Agent Tool Folder : E:\Agent\_work\_tool
2022-05-09T19:11:29.0207817Z *** Agent Temp Folder : E:\Agent\_work\_temp
2022-05-09T19:11:29.0214646Z
2022-05-09T19:11:29.0293349Z *** Resolving Path: [base/app.json]
2022-05-09T19:11:29.0349201Z *** Resolved Path : [E:\Agent\_work\4\s\base\app.json]
2022-05-09T19:11:29.0362844Z *** AL Source Folder : E:\Agent\_work\4\s\base\app.json
2022-05-09T19:11:29.0373861Z *** Resolving Path: [E:\Agent\_work\4\s]
2022-05-09T19:11:29.0413594Z *** AL Cache Folder : E:\Agent\_work\4\s
2022-05-09T19:11:29.0418275Z
2022-05-09T19:11:29.0456778Z *** Check BcContainerHelper
2022-05-09T19:11:29.1447915Z *** Load BcContainerHelper
2022-05-09T19:11:29.3252052Z Setting bcartifactsCacheFolder = e:\BcContainerHelper\bcartifacts.cache
2022-05-09T19:11:29.7369348Z BcContainerHelper version 3.0.7
2022-05-09T19:11:29.7496180Z BcContainerHelper emits usage statistics telemetry to Microsoft
2022-05-09T19:11:35.0857602Z
2022-05-09T19:11:35.0865870Z
2022-05-09T19:11:35.0984927Z ##[command]"Get-BCArtifactUrl"
2022-05-09T19:11:35.0985559Z Name Value
2022-05-09T19:11:35.0986159Z ---- -----
2022-05-09T19:11:35.0986725Z sasToken ?sv=2020-08-04&ss=b&srt=sco&spr=https&st=2022-03-15T00%3A00%3A00Z&se=2022-10-01T00%3A...
2022-05-09T19:11:35.0987435Z select NextMajor
2022-05-09T19:11:35.0987991Z type Sandbox
2022-05-09T19:11:35.0988508Z country nl
2022-05-09T19:11:35.0990173Z
2022-05-09T19:11:35.0990273Z
2022-05-09T19:11:35.0991479Z -sasToken: *** -select: NextMajor -type: Sandbox -country: nl
2022-05-09T19:11:48.5743907Z Downloading application artifact /sandbox/21.0.40371.0/nl
2022-05-09T19:11:48.6064988Z Downloading C:\Users\cmertens\AppData\Local\Temp\5b7505a6-965c-4d0d-88ec-ea6e3e2d5286.zip
2022-05-09T19:12:00.8702103Z Unpacking application artifact to tmp folder using Expand-Archive
2022-05-09T19:12:15.3483259Z Downloading platform artifact /sandbox/21.0.40371.0/platform
2022-05-09T19:12:15.3531081Z Downloading C:\Users\cmertens\AppData\Local\Temp\c117d1d4-2653-4473-8a26-f2ce3a9c0bf4.zip
2022-05-09T19:12:30.9240866Z Unpacking platform artifact to tmp folder using Expand-Archive
2022-05-09T19:17:21.8182621Z Downloading Prerequisite Components
2022-05-09T19:17:21.8469788Z Downloading e:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40371.0\platform\Prerequisite Components\Open XML SDK 2.5 for Microsoft Office\OpenXMLSDKv25.msi
2022-05-09T19:17:22.3003716Z Downloading e:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40371.0\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
2022-05-09T19:17:22.6360766Z Downloading e:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40371.0\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
2022-05-09T19:17:25.7379200Z *** Platform: e:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40371.0\platform
2022-05-09T19:17:25.7531642Z *** Localisation: e:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40371.0\nl
2022-05-09T19:17:25.8131076Z *** BC Management DLL: E:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40371.0\platform\ServiceTier\program files\Microsoft Dynamics NAV\210\Service\Microsoft.Dynamics.Nav.Management.dll
2022-05-09T19:17:25.9204672Z *** BC App Management DLL: E:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40371.0\platform\ServiceTier\program files\Microsoft Dynamics NAV\210\Service\Microsoft.Dynamics.Nav.Apps.Management.dll
2022-05-09T19:17:25.9748748Z *** Specific App Manifest specified: [E:\Agent\_work\4\s\base\app.json]
2022-05-09T19:17:25.9796427Z *** Found [1] file.
2022-05-09T19:17:25.9807472Z *** Extract App detail from [E:\Agent\_work\4\s\base\app.json]
2022-05-09T19:17:26.0289661Z *** Starting Batch compile of Apps:
2022-05-09T19:17:26.0342227Z * E:\Agent\_work\4\s\base
2022-05-09T19:17:26.0362301Z *** Start Compiling: [E:\Agent\_work\4\s\base]
2022-05-09T19:17:26.1171737Z *** Get App Information
2022-05-09T19:17:26.1216430Z *** Loading Json Object: [E:\Agent\_work\4\s\base\app.json]
2022-05-09T19:17:26.1258594Z * Id : <removed>
2022-05-09T19:17:26.1271779Z * Publisher : <removed>
2022-05-09T19:17:26.1284549Z * Name : <removed>
2022-05-09T19:17:26.1310943Z * Description: <removed>
2022-05-09T19:17:26.1411511Z *** Check Runtime: [8.0]
2022-05-09T19:17:26.1501753Z *** Runtime: 8
2022-05-09T19:17:26.1828828Z *** Match: yyyyMMdd
2022-05-09T19:17:26.1892141Z *** Retaining original [Major] from version (?.0.0.0)
2022-05-09T19:17:26.1931574Z *** Retaining original [Minor] from version (0.?.0.0)
2022-05-09T19:17:26.1952960Z *** Setting Managed App Version [E:\Agent\_work\4\s\base\app.json] => 22.4.20220509.6622
2022-05-09T19:17:26.2104842Z *** VSCode Settings: [E:\Agent\_work\4\s\base\.vscode\settings.json]
2022-05-09T19:17:26.2141813Z *** VSCode-Settings json found.
2022-05-09T19:17:26.2166801Z *** Loading Json Object: [E:\Agent\_work\4\s\base\.vscode\settings.json]
2022-05-09T19:17:26.2219385Z *** Get CodeAnalyzers from VSCode Settings
2022-05-09T19:17:26.2385173Z *** Set CodeAnalyzers: CodeCop,UICop,AppSourceCop
2022-05-09T19:17:26.2463030Z *** Using Ruleset: [E:\Agent\_work\4\s\.codeAnalysis\I-Suite.ruleset.json]
2022-05-09T19:17:26.2547154Z ##[command]"Get-BCArtifactUrl"
2022-05-09T19:17:26.2547992Z Name Value
2022-05-09T19:17:26.2549606Z ---- -----
2022-05-09T19:17:26.2550506Z sasToken ?sv=2020-08-04&ss=b&srt=sco&spr=https&st=2022-03-15T00%3A00%3A00Z&se=2022-10-01T00%3A...
2022-05-09T19:17:26.2551387Z select NextMajor
2022-05-09T19:17:26.2552189Z type Sandbox
2022-05-09T19:17:26.2553004Z country nl
2022-05-09T19:17:26.2553417Z
2022-05-09T19:17:26.2553579Z
2022-05-09T19:17:26.2553752Z
2022-05-09T19:17:38.4543582Z *** Platform: e:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40371.0\platform
2022-05-09T19:17:38.4626011Z *** Localisation: e:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40371.0\nl
2022-05-09T19:17:38.5117974Z *** VSIX Path: E:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40371.0\platform\ModernDev\program files\Microsoft Dynamics NAV\210\AL Development Environment\ALLanguage.vsix
2022-05-09T19:17:38.5268774Z * Extracting VSIX to temporary path [e:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40371.0\VSIX-Temp]
2022-05-09T19:19:14.7853941Z * Rename temporary VSIX Path [e:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40371.0\VSIX-Temp] => [e:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40371.0\VSIX]
2022-05-09T19:19:14.7934744Z *** ALC Path: E:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40371.0\VSIX\extension\bin\alc.exe
2022-05-09T19:19:14.7964868Z *** Nav.CodeAnalysis Path: E:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40371.0\VSIX\extension\bin\Microsoft.Dynamics.Nav.CodeAnalysis.dll
2022-05-09T19:19:15.3949803Z ##[error]Kan bestand of assembly System.Collections.Immutable, Version=1.2.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a of een van de afhankelijkheden hiervan niet laden. Het systeem kan het opgegeven bestand niet vinden.
2022-05-09T19:19:15.4822827Z ##[section]Finishing: Compile base/app.json - nl NextMajor`
I can't replicate it, but what I see is that i'm already on an higher build version:
*** Platform: c:\bcartifacts.cache\sandbox\21.0.40397.0\platform
*** Localisation: c:\bcartifacts.cache\sandbox\21.0.40397.0\nl
*** VSIX Path: C:\bcartifacts.cache\sandbox\21.0.40397.0\platform\ModernDev\program files\Microsoft Dynamics NAV\210\AL Development Environment\ALLanguage.vsix
*** ALC Path: C:\bcartifacts.cache\sandbox\21.0.40397.0\VSIX\extension\bin\alc.exe
*** Nav.CodeAnalysis Path: C:\bcartifacts.cache\sandbox\21.0.40397.0\VSIX\extension\bin\Microsoft.Dynamics.Nav.CodeAnalysis.dll
*** Get Localised Apps [125]
*** Get Platform Apps [120]
@waldo1001:
*** Platform: c:\bcartifacts.cache\sandbox\21.0.40397.0\platform
*** Localisation: c:\bcartifacts.cache\sandbox\21.0.40397.0\nl
*** VSIX Path: C:\bcartifacts.cache\sandbox\21.0.40397.0\platform\ModernDev\program files\Microsoft Dynamics NAV\210\AL Development Environment\ALLanguage.vsix
* Extracting VSIX to temporary path [c:\bcartifacts.cache\sandbox\21.0.40397.0\VSIX-Temp]
* Rename temporary VSIX Path [c:\bcartifacts.cache\sandbox\21.0.40397.0\VSIX-Temp] => [c:\bcartifacts.cache\sandbox\21.0.40397.0\VSIX]
*** ALC Path: C:\bcartifacts.cache\sandbox\21.0.40397.0\VSIX\extension\bin\alc.exe
*** Nav.CodeAnalysis Path: C:\bcartifacts.cache\sandbox\21.0.40397.0\VSIX\extension\bin\Microsoft.Dynamics.Nav.CodeAnalysis.dll
##[error]Die Datei oder Assembly "System.Collections.Immutable, Version=1.2.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.
Same here:
*** Platform: e:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40397.0\platform
*** Localisation: e:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40397.0\nl
*** VSIX Path: E:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40397.0\platform\ModernDev\program files\Microsoft Dynamics NAV\210\AL Development Environment\ALLanguage.vsix
* Extracting VSIX to temporary path [e:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40397.0\VSIX-Temp]
* Rename temporary VSIX Path [e:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40397.0\VSIX-Temp] => [e:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40397.0\VSIX]
*** ALC Path: E:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40397.0\VSIX\extension\bin\alc.exe
*** Nav.CodeAnalysis Path: E:\BcContainerHelper\bcartifacts.cache\sandbox\21.0.40397.0\VSIX\extension\bin\Microsoft.Dynamics.Nav.CodeAnalysis.dll
##[error]Kan bestand of assembly System.Collections.Immutable, Version=1.2.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a of een van de afhankelijkheden hiervan niet laden. Het systeem kan het opgegeven bestand niet vinden.
Most probably it's because of .Net install on your server (since it's a .Net library that it's complaining about).
Can you try with install the latest .Net version on your machines, or update your current version?
Do know, whatever you install regarding .net - it does take a while when the new library gets active (after a couple of reboots): it runs some kind of ".net optimalization" that you need to wait for.. .
We are also experiencing this issue for all Major pipelines check.
I understand you all have this issue .. but I also hope you understand that things like this we can't foresee, and need to find out why that is happening.
What is bothering me is that I don't have this issue at all. That's why I'm thinking it's outside of ALOps, pure .Net related. That's why I'm suggesting to look into that.
Can you give me which versions you have installed? https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed
@waldo1001
Running 4.8
and last time our server was updated was 13/04/2022
=4.x : 4.8 or later
Get-STDotNetVersion -ComputerName pi-bcbuild1, pi-bcbuild2, pi-bcbuild3, pi-bcbuild4, pi-bccompiler1, pi-bccompiler2, pi-bccompiler3, pi-bccompiler4 -PSRemoting
ComputerName : pi-bcbuild1
>=4.x : 4.8 or later
v4\Client : Installed
v4\Full : Installed
v3.5 : Not installed (no key)
v3.0 : Not installed (no key)
v2.0.50727 : Not installed (no key)
v1.1.4322 : Not installed (no key)
Ping : True
Error :
ComputerName : pi-bcbuild2
>=4.x : 4.8 or later
v4\Client : Installed
v4\Full : Installed
v3.5 : Not installed (no key)
v3.0 : Not installed (no key)
v2.0.50727 : Not installed (no key)
v1.1.4322 : Not installed (no key)
Ping : True
Error :
ComputerName : pi-bcbuild3
>=4.x : 4.8 or later
v4\Client : Installed
v4\Full : Installed
v3.5 : Not installed (no key)
v3.0 : Not installed (no key)
v2.0.50727 : Not installed (no key)
v1.1.4322 : Not installed (no key)
Ping : True
Error :
ComputerName : pi-bcbuild4
>=4.x : 4.8 or later
v4\Client : Installed
v4\Full : Installed
v3.5 : Not installed (no key)
v3.0 : Not installed (no key)
v2.0.50727 : Not installed (no key)
v1.1.4322 : Not installed (no key)
Ping : True
Error :
ComputerName : pi-bccompiler1
>=4.x : 4.8 or later
v4\Client : Installed
v4\Full : Installed
v3.5 : Not installed (no key)
v3.0 : Not installed (no key)
v2.0.50727 : Not installed (no key)
v1.1.4322 : Not installed (no key)
Ping : True
Error :
ComputerName : pi-bccompiler2
>=4.x : 4.8 or later
v4\Client : Installed
v4\Full : Installed
v3.5 : Not installed (no key)
v3.0 : Not installed (no key)
v2.0.50727 : Not installed (no key)
v1.1.4322 : Not installed (no key)
Ping : True
Error :
ComputerName : pi-bccompiler3
>=4.x : 4.8 or later
v4\Client : Installed
v4\Full : Installed
v3.5 : Not installed (no key)
v3.0 : Not installed (no key)
v2.0.50727 : Not installed (no key)
v1.1.4322 : Not installed (no key)
Ping : True
Error :
ComputerName : pi-bccompiler4
>=4.x : 4.8 or later
v4\Client : Installed
v4\Full : Installed
v3.5 : Not installed (no key)
v3.0 : Not installed (no key)
v2.0.50727 : Not installed (no key)
v1.1.4322 : Not installed (no key)
Ping : True
Error :
Script start time: 05/10/2022 15:50:41
Script end time: 05/10/2022 15:50:47
Also completely patch around last Microsoft patch day (~13/04/2022)
Good news - I was able to repro it .. So let's see if we can find a solution now .. ;-)
Update - we found a solution, and we think we can solve it on ALOps-level, so that nobody has to fumble around with their buildservers... 👍. Give us some time to build a solution in ALOps..
Just a comment that the same issue is happening on
https://github.com/TheDoubleH/BCVoidPayment and https://github.com/TheDoubleH/BCALToolbox
Using Matrix in the yaml:
name: $(Date:yyyyMMdd)$(Rev:.r)
trigger:
branches:
include:
- master
strategy:
matrix:
'Compile Against W1 - Current Version':
artifactCountry: 'w1'
artifactVersion: 'Current'
'Compile Against W1 - Next Minor':
artifactCountry: 'w1'
artifactVersion: 'NextMinor'
'Compile Against W1 - Next Major':
artifactCountry: 'w1'
artifactVersion: 'NextMajor'
'Compile Against United States - Current Version':
artifactCountry: 'us'
artifactVersion: 'Current'
'Compile Against United States - Next Minor':
artifactCountry: 'us'
artifactVersion: 'NextMinor'
'Compile Against United States - Next Major':
artifactCountry: 'us'
artifactVersion: 'NextMajor'
pool: Helgesen Build
variables:
- group: Secrets
schedules:
- cron: '0 0 * * *'
displayName: Daily Midnight ALOps Compile against Current, Next Minor, and Next Major
branches:
include:
- master
always: true
steps:
- checkout: self
clean: true
# This compiler (v2) is not going to use a docker container, but it's going to use the artifacts that you specify in the parameters
# The compiler will "Batch Compile", meaning: it will compile everything in the workingfolder
- task: ALOpsAppCompiler@2
displayName: 'Compile $(Build.Repository.Name)'
inputs:
artifacttype: 'Sandbox'
artifactcountry: '$(artifactCountry)'
versionselect: '$(artifactVersion)'
appversiontemplate: '?.?.*.0'
alcodeanalyzer: UICop,CodeCop,PerTenantExtensionCop
failonwarnings: true
publishartifact: false
sastoken: $(bc.sastoken)
Release to be expected this week..
v1.449: ALOpsAppCompiler@2: Improved Assembly resolve, fixes the missing "System.Collections.Immutable" reference
Works fine. Thanks.
Describe the bug Suddenly today one NextMajor Pipeline stopped working with a strange error.
the used yaml please provide the yaml that you used. It helps you put the yaml like this:
the output
Expected behavior We only want to check that our app is working with the latest coming release.
Screenshots
Additional context The app.json is set to the minimal version BC 16.