Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CICD workflow is deploying a different app version number from the build artifact #1081

Closed
donah001 opened this issue May 16, 2024 · 1 comment

Comments

@donah001
Copy link

donah001 commented May 16, 2024

I successfully got pass the app build. The AL-Go for Github built the app as alairbusinesscentral-main-Apps-1.6.19.0 because i modified the repoVersion setting Major.Minor to 1.6. This look good. However when deploying, it's deploying 1.0.19.0, as a result the deployment failed because higher version has already been installed. I'm wondering where it's getting the app from. This might look like a setting issues. But i have no idea where to setup.


2024-05-16T12:42:23.7942684Z Apps to deploy
2024-05-16T12:42:23.7958064Z D:\a\alairbusinesscentral\alairbusinesscentral.artifacts\alairbusinesscentral-main-Apps-1.6.19.0

However when publishing it's publishing a different app

2024-05-16T12:42:27.8038476Z Publishing Canada_Alair Homes_1.0.19.0.app to https://api.businesscentral.dynamics.com/v2.0/Dev/dev/apps?SchemaUpdateMode=synchronize
2024-05-16T12:42:28.4446869Z Status Code 422 : Unprocessable Entity
2024-05-16T12:42:28.4449010Z Cannot install the extension Alair Homes by E Foqus Canada 1.0.19.0 because a newer version 1.0.44.2 was already installed.
2024-05-16T12:42:28.4450218Z
2024-05-16T12:42:29.1234474Z Publish-BcContainerApp Telemetry Correlation Id: 15921355-c7c5-4f3c-92cb-5668941096fe
2024-05-16T12:42:29.1336939Z ##[error]Deploying to Dev failed. Status Code 422 : Unprocessable Entity Cannot install the extension Alair Homes by E Foqus Canada 1.0.19.0 because a newer version 1.0.44.2 was already installed.
2024-05-16T12:42:29.2851949Z ##[error]Process completed with exit code 1..

Below is the complete log

2024-05-16T12:42:00.7919115Z Current runner version: '2.316.1'
2024-05-16T12:42:00.7939607Z ##[group]Operating System
2024-05-16T12:42:00.7940168Z Microsoft Windows Server 2022
2024-05-16T12:42:00.7940579Z 10.0.20348
2024-05-16T12:42:00.7940880Z Datacenter
2024-05-16T12:42:00.7941185Z ##[endgroup]
2024-05-16T12:42:00.7941512Z ##[group]Runner Image
2024-05-16T12:42:00.7941853Z Image: windows-2022
2024-05-16T12:42:00.7942208Z Version: 20240514.3.0
2024-05-16T12:42:00.7943084Z Included Software: https://github.com/actions/runner-images/blob/win22/20240514.3/images/windows/Windows2022-Readme.md
2024-05-16T12:42:00.7944378Z Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20240514.3
2024-05-16T12:42:00.7945126Z ##[endgroup]
2024-05-16T12:42:00.7945442Z ##[group]Runner Image Provisioner
2024-05-16T12:42:00.7945879Z 2.0.369.1
2024-05-16T12:42:00.7946175Z ##[endgroup]
2024-05-16T12:42:00.7947085Z ##[group]GITHUB_TOKEN Permissions
2024-05-16T12:42:00.7948512Z Actions: read
2024-05-16T12:42:00.7949015Z Contents: read
2024-05-16T12:42:00.7949408Z Metadata: read
2024-05-16T12:42:00.7949733Z Pages: read
2024-05-16T12:42:00.7950062Z ##[endgroup]
2024-05-16T12:42:00.7951913Z Secret source: Actions
2024-05-16T12:42:00.7952380Z Prepare workflow directory
2024-05-16T12:42:00.9011544Z Prepare all required actions
2024-05-16T12:42:00.9169784Z Getting action download info
2024-05-16T12:42:01.1285160Z Download action repository 'actions/checkout@v4' (SHA:0ad4b8fadaa221de15dcec353f45205ec38ea70b)
2024-05-16T12:42:01.2924937Z Download action repository 'actions/download-artifact@v4' (SHA:65a9edc5881444af0b9093a5e628f2fe47ea3b2e)
2024-05-16T12:42:01.7819500Z Download action repository 'microsoft/AL-Go-Actions@v5.1' (SHA:60dcf203bcbeabc2fee2f8228ac12cc3818ba9b0)
2024-05-16T12:42:02.2754821Z Complete job name: Deploy to Dev
2024-05-16T12:42:02.3820172Z ##[group]Run actions/checkout@v4
2024-05-16T12:42:02.3820611Z with:
2024-05-16T12:42:02.3820894Z repository: alairhomes/alairbusinesscentral
2024-05-16T12:42:02.3821482Z token: ***
2024-05-16T12:42:02.3821720Z ssh-strict: true
2024-05-16T12:42:02.3821956Z ssh-user: git
2024-05-16T12:42:02.3822196Z persist-credentials: true
2024-05-16T12:42:02.3822474Z clean: true
2024-05-16T12:42:02.3822706Z sparse-checkout-cone-mode: true
2024-05-16T12:42:02.3823022Z fetch-depth: 1
2024-05-16T12:42:02.3823244Z fetch-tags: false
2024-05-16T12:42:02.3823620Z show-progress: true
2024-05-16T12:42:02.3823947Z lfs: false
2024-05-16T12:42:02.3824240Z submodules: false
2024-05-16T12:42:02.3824590Z set-safe-directory: true
2024-05-16T12:42:02.3824932Z env:
2024-05-16T12:42:02.3825190Z workflowDepth: 1
2024-05-16T12:42:02.3826031Z ALGoOrgSettings: {
"useCompilerFolder": true,
"doNotPublishApps": true,
"artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
}
2024-05-16T12:42:02.3827034Z ALGoRepoSettings: {
"repoVersion": "1.6",
"versioningStrategy": +16
}
2024-05-16T12:42:02.3827578Z ##[endgroup]
2024-05-16T12:42:03.9780389Z Syncing repository: alairhomes/alairbusinesscentral
2024-05-16T12:42:03.9783827Z ##[group]Getting Git version info
2024-05-16T12:42:03.9785128Z Working directory is 'D:\a\alairbusinesscentral\alairbusinesscentral'
2024-05-16T12:42:03.9786684Z [command]"C:\Program Files\Git\bin\git.exe" version
2024-05-16T12:42:03.9787478Z git version 2.45.1.windows.1
2024-05-16T12:42:03.9973593Z ##[endgroup]
2024-05-16T12:42:03.9991052Z Temporarily overriding HOME='D:\a_temp\837b072a-dad3-4ee5-b8cc-5a93466c1803' before making global git config changes
2024-05-16T12:42:03.9993360Z Adding repository directory to the temporary git global config as a safe directory
2024-05-16T12:42:03.9995397Z [command]"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\alairbusinesscentral\alairbusinesscentral
2024-05-16T12:42:03.9998102Z Deleting the contents of 'D:\a\alairbusinesscentral\alairbusinesscentral'
2024-05-16T12:42:03.9999635Z ##[group]Initializing the repository
2024-05-16T12:42:04.0008804Z [command]"C:\Program Files\Git\bin\git.exe" init D:\a\alairbusinesscentral\alairbusinesscentral
2024-05-16T12:42:04.0010389Z Initialized empty Git repository in D:/a/alairbusinesscentral/alairbusinesscentral/.git/
2024-05-16T12:42:04.0012883Z [command]"C:\Program Files\Git\bin\git.exe" remote add origin https://github.com/alairhomes/alairbusinesscentral
2024-05-16T12:42:04.0015150Z ##[endgroup]
2024-05-16T12:42:04.0015984Z ##[group]Disabling automatic garbage collection
2024-05-16T12:42:04.0017098Z [command]"C:\Program Files\Git\bin\git.exe" config --local gc.auto 0
2024-05-16T12:42:04.0018882Z ##[endgroup]
2024-05-16T12:42:04.0019731Z ##[group]Setting up auth
2024-05-16T12:42:04.0020939Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core.sshCommand
2024-05-16T12:42:04.0024470Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :""
2024-05-16T12:42:04.4861807Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http.https://github.com/.extraheader
2024-05-16T12:42:04.5246870Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :""
2024-05-16T12:42:04.9348522Z [command]"C:\Program Files\Git\bin\git.exe" config --local http.https://github.com/.extraheader "AUTHORIZATION: basic "
2024-05-16T12:42:04.9621229Z ##[endgroup]
2024-05-16T12:42:04.9639230Z ##[group]Fetching the repository
2024-05-16T12:42:04.9654018Z [command]"C:\Program Files\Git\bin\git.exe" -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +83f9289b39e56452dabf35e5dc534cfe405a6d85:refs/remotes/origin/main
2024-05-16T12:42:06.5871291Z From https://github.com/alairhomes/alairbusinesscentral
2024-05-16T12:42:06.5874017Z * [new ref] 83f9289b39e56452dabf35e5dc534cfe405a6d85 -> origin/main
2024-05-16T12:42:06.6047695Z ##[endgroup]
2024-05-16T12:42:06.6048554Z ##[group]Determining the checkout info
2024-05-16T12:42:06.6050067Z ##[endgroup]
2024-05-16T12:42:06.6059047Z [command]"C:\Program Files\Git\bin\git.exe" sparse-checkout disable
2024-05-16T12:42:06.6394821Z [command]"C:\Program Files\Git\bin\git.exe" config --local --unset-all extensions.worktreeConfig
2024-05-16T12:42:06.6610435Z ##[group]Checking out the ref
2024-05-16T12:42:06.6618245Z [command]"C:\Program Files\Git\bin\git.exe" checkout --progress --force -B main refs/remotes/origin/main
2024-05-16T12:42:06.8546794Z branch 'main' set up to track 'origin/main'.
2024-05-16T12:42:06.8551077Z Switched to a new branch 'main'
2024-05-16T12:42:06.8584137Z ##[endgroup]
2024-05-16T12:42:06.8847000Z [command]"C:\Program Files\Git\bin\git.exe" log -1 --format='%H'
2024-05-16T12:42:06.9038373Z '83f9289b39e56452dabf35e5dc534cfe405a6d85'
2024-05-16T12:42:06.9515592Z ##[group]Run actions/download-artifact@v4
2024-05-16T12:42:06.9516006Z with:
2024-05-16T12:42:06.9516202Z path: .artifacts
2024-05-16T12:42:06.9516458Z merge-multiple: false
2024-05-16T12:42:06.9516771Z repository: alairhomes/alairbusinesscentral
2024-05-16T12:42:06.9517115Z run-id: 9112386115
2024-05-16T12:42:06.9517331Z env:
2024-05-16T12:42:06.9517511Z workflowDepth: 1
2024-05-16T12:42:06.9518159Z ALGoOrgSettings: {
"useCompilerFolder": true,
"doNotPublishApps": true,
"artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
}
2024-05-16T12:42:06.9519070Z ALGoRepoSettings: {
"repoVersion": "1.6",
"versioningStrategy": +16
}
2024-05-16T12:42:06.9519539Z ##[endgroup]
2024-05-16T12:42:07.4812592Z Found 2 artifact(s)
2024-05-16T12:42:07.4815068Z No input name or pattern filtered specified, downloading all artifacts
2024-05-16T12:42:07.4816419Z An extra directory with the artifact name will be created for each download
2024-05-16T12:42:07.4819137Z Preparing to download the following artifacts:
2024-05-16T12:42:07.4820465Z - alairbusinesscentral-main-BuildOutput-1.6.19.0 (ID: 1509328972, Size: 3450)
2024-05-16T12:42:07.4821944Z - alairbusinesscentral-main-Apps-1.6.19.0 (ID: 1509328404, Size: 2800309)
2024-05-16T12:42:07.5733967Z Redirecting to blob download url: https://productionresultssa15.blob.core.windows.net/actions-results/da1142bc-5924-49ef-886a-d712986534fa/workflow-job-run-4caa117b-327d-5347-6808-22ba054c582e/artifacts/348f4b9e8d852eb24117f2c16936e46a37685ce38c0105a91b28fdd841cfa687.zip
2024-05-16T12:42:07.5737897Z Starting download of artifact to: D:\a\alairbusinesscentral\alairbusinesscentral.artifacts\alairbusinesscentral-main-BuildOutput-1.6.19.0
2024-05-16T12:42:07.6127823Z Redirecting to blob download url: https://productionresultssa15.blob.core.windows.net/actions-results/da1142bc-5924-49ef-886a-d712986534fa/workflow-job-run-4caa117b-327d-5347-6808-22ba054c582e/artifacts/b40687b3585e778343fc213513fd79e86a6bea6e49cbaf6a36823a34c70e4397.zip
2024-05-16T12:42:07.6132811Z Starting download of artifact to: D:\a\alairbusinesscentral\alairbusinesscentral.artifacts\alairbusinesscentral-main-Apps-1.6.19.0
2024-05-16T12:42:07.6895818Z (node:644) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
2024-05-16T12:42:07.6898968Z (Use node --trace-deprecation ... to show where the warning was created)
2024-05-16T12:42:07.6987804Z Artifact download completed successfully.
2024-05-16T12:42:07.9676225Z Artifact download completed successfully.
2024-05-16T12:42:07.9700739Z Total of 2 artifact(s) downloaded
2024-05-16T12:42:07.9720251Z Download artifact has finished successfully
2024-05-16T12:42:07.9934572Z ##[group]Run microsoft/AL-Go-Actions/ReadSettings@v5.1
2024-05-16T12:42:07.9935029Z with:
2024-05-16T12:42:07.9935229Z shell: powershell
2024-05-16T12:42:07.9935486Z project: .
2024-05-16T12:42:07.9935673Z env:
2024-05-16T12:42:07.9935857Z workflowDepth: 1
2024-05-16T12:42:07.9936513Z ALGoOrgSettings: {
"useCompilerFolder": true,
"doNotPublishApps": true,
"artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
}
2024-05-16T12:42:07.9937434Z ALGoRepoSettings: {
"repoVersion": "1.6",
"versioningStrategy": +16
}
2024-05-16T12:42:07.9937907Z ##[endgroup]
2024-05-16T12:42:08.0274019Z ##[group]Run $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
2024-05-16T12:42:08.0275004Z �[36;1m$errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0�[0m
2024-05-16T12:42:08.0275608Z �[36;1mtry {�[0m
2024-05-16T12:42:08.0276267Z �[36;1m D:\a_actions\microsoft\AL-Go-Actions\v5.1\ReadSettings/ReadSettings.ps1 -project $ENV:project -get $ENV:get�[0m
2024-05-16T12:42:08.0276908Z �[36;1m}�[0m
2024-05-16T12:42:08.0277104Z �[36;1mcatch {�[0m
2024-05-16T12:42:08.0278009Z �[36;1m Write-Host "::ERROR::Unexpected error when running action. Error Message: $($
.Exception.Message.Replace("r",'').Replace("n",' ')), StackTrace: $($
.ScriptStackTrace.Replace("r",'').Replace("n",' <- '))";�[0m
2024-05-16T12:42:08.0278950Z �[36;1m exit 1�[0m
2024-05-16T12:42:08.0279162Z �[36;1m}�[0m
2024-05-16T12:42:08.0312672Z shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"
2024-05-16T12:42:08.0313201Z env:
2024-05-16T12:42:08.0313392Z workflowDepth: 1
2024-05-16T12:42:08.0314023Z ALGoOrgSettings: {
"useCompilerFolder": true,
"doNotPublishApps": true,
"artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
}
2024-05-16T12:42:08.0314867Z ALGoRepoSettings: {
"repoVersion": "1.6",
"versioningStrategy": +16
}
2024-05-16T12:42:08.0315326Z _project: .
2024-05-16T12:42:08.0315532Z _get:
2024-05-16T12:42:08.0315716Z ##[endgroup]
2024-05-16T12:42:08.7778858Z Applying settings from D:\a\alairbusinesscentral\alairbusinesscentral.github\AL-Go-Settings.json
2024-05-16T12:42:09.0072250Z Applying settings from D:\a\alairbusinesscentral\alairbusinesscentral.AL-Go\settings.json
2024-05-16T12:42:09.0093212Z No settings found in D:\a\alairbusinesscentral\alairbusinesscentral.github\CICD.settings.json
2024-05-16T12:42:09.0117487Z No settings found in D:\a\alairbusinesscentral\alairbusinesscentral.AL-Go\CICD.settings.json
2024-05-16T12:42:09.0129876Z No settings found in D:\a\alairbusinesscentral\alairbusinesscentral.AL-Go\donah001.settings.json
2024-05-16T12:42:09.4208450Z SETTINGS:
2024-05-16T12:42:09.5672913Z {
2024-05-16T12:42:09.5673454Z "keyVaultCertificateUrlSecretName": "",
2024-05-16T12:42:09.5675650Z "microsoftTelemetryConnectionString": "InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/",
2024-05-16T12:42:09.5677353Z "type": "PTE",
2024-05-16T12:42:09.5677910Z "sendExtendedTelemetryToMicrosoft": false,
2024-05-16T12:42:09.5683189Z "appBuild": 19,
2024-05-16T12:42:09.5684086Z "doNotRunBcptTests": false,
2024-05-16T12:42:09.5684881Z "versioningStrategy": 16,
2024-05-16T12:42:09.5685572Z "installApps": [
2024-05-16T12:42:09.5687521Z "https://www.hougaard.com/on-premises/SharePoint%20Connector/SharePoint%20Connector.5.0.0.283.BC23.4/SharePoint%20Connector.BC23.4.RunTime.v5.0.0.283.app"
2024-05-16T12:42:09.5689299Z ],
2024-05-16T12:42:09.5699102Z "installTestLibraries": false,
2024-05-16T12:42:09.5699905Z "runNumberOffset": 0,
2024-05-16T12:42:09.5700937Z "codeSignCertificatePasswordSecretName": "codeSignCertificatePassword",
2024-05-16T12:42:09.5702038Z "vsixFile": "",
2024-05-16T12:42:09.5705246Z "country": "us",
2024-05-16T12:42:09.5705954Z "alDoc": {
2024-05-16T12:42:09.5706595Z "continuousDeployment": false,
2024-05-16T12:42:09.5707389Z "deployToGitHubPages": true,
2024-05-16T12:42:09.5708154Z "maxReleases": 3,
2024-05-16T12:42:09.5708839Z "groupByProject": true,
2024-05-16T12:42:09.5709636Z "includeProjects": [
2024-05-16T12:42:09.5710190Z
2024-05-16T12:42:09.5710501Z ],
2024-05-16T12:42:09.5711232Z "excludeProjects": [
2024-05-16T12:42:09.5711804Z
2024-05-16T12:42:09.5712110Z ],
2024-05-16T12:42:09.5712943Z "header": "Documentation for {REPOSITORY} {VERSION}",
2024-05-16T12:42:09.5716686Z "footer": "Documentation for \u003ca href="https://github.com/{REPOSITORY}"\u003e{REPOSITORY}\u003c/a\u003e made with \u003ca href="https://aka.ms/AL-Go"\u003eAL-Go for GitHub\u003c/a\u003e, \u003ca href="https://go.microsoft.com/fwlink/?linkid=2247728"\u003eALDoc\u003c/a\u003e and \u003ca href="https://dotnet.github.io/docfx"\u003eDocFx\u003c/a\u003e",
2024-05-16T12:42:09.5724256Z "defaultIndexMD": "## Reference documentation\n\nThis is the generated reference documentation for {REPOSITORY}.\n\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\n\nYou can change this content by creating/editing the {INDEXTEMPLATERELATIVEPATH} file in your repository or use the alDoc:defaultIndexMD setting in your repository settings file (.github/AL-Go-Settings.json)\n\n{RELEASENOTES}",
2024-05-16T12:42:09.5732426Z "defaultReleaseMD": "## Release reference documentation\n\nThis is the generated reference documentation for {REPOSITORY}.\n\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\n\nYou can change this content by creating/editing the {INDEXTEMPLATERELATIVEPATH} file in your repository or use the alDoc:defaultReleaseMD setting in your repository settings file (.github/AL-Go-Settings.json)\n\n{RELEASENOTES}"
2024-05-16T12:42:09.5736706Z },
2024-05-16T12:42:09.5742124Z "templateSha": "",
2024-05-16T12:42:09.5742717Z "partnerTelemetryConnectionString": "",
2024-05-16T12:42:09.5743513Z "doNotRunTests": false,
2024-05-16T12:42:09.5744116Z "enableCodeAnalyzersOnTestApps": false,
2024-05-16T12:42:09.5744918Z "runs-on": "windows-latest",
2024-05-16T12:42:09.5745504Z "generateDependencyArtifact": true,
2024-05-16T12:42:09.5746104Z "excludeEnvironments": [
2024-05-16T12:42:09.5746445Z
2024-05-16T12:42:09.5746581Z ],
2024-05-16T12:42:09.5747182Z "keyVaultCertificatePasswordSecretName": "",
2024-05-16T12:42:09.5747819Z "rulesetFile": "",
2024-05-16T12:42:09.5748354Z "licenseFileUrlSecretName": "licenseFileUrl",
2024-05-16T12:42:09.5749032Z "enableExternalRulesets": false,
2024-05-16T12:42:09.5749573Z "memoryLimit": "",
2024-05-16T12:42:09.5750052Z "keyVaultClientIdSecretName": "",
2024-05-16T12:42:09.5750605Z "testFolders": [
2024-05-16T12:42:09.5750880Z
2024-05-16T12:42:09.5751008Z ],
2024-05-16T12:42:09.5751571Z "githubRunner": "windows-latest",
2024-05-16T12:42:09.5752135Z "doNotBuildTests": false,
2024-05-16T12:42:09.5752600Z "environments": [
2024-05-16T12:42:09.5752994Z "Dev"
2024-05-16T12:42:09.5753426Z ],
2024-05-16T12:42:09.5753845Z "companyName": "",
2024-05-16T12:42:09.5754291Z "assignPremiumPlan": false,
2024-05-16T12:42:09.5754939Z "artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest",
2024-05-16T12:42:09.5755809Z "ghTokenWorkflowSecretName": "ghTokenWorkflow",
2024-05-16T12:42:09.5757374Z "enableTaskScheduler": false,
2024-05-16T12:42:09.5757925Z "enableCodeCop": false,
2024-05-16T12:42:09.5758374Z "repoVersion": "1.6",
2024-05-16T12:42:09.5758835Z "doNotPublishApps": true,
2024-05-16T12:42:09.5759308Z "doNotSignApps": false,
2024-05-16T12:42:09.5759807Z "githubRunnerShell": "powershell",
2024-05-16T12:42:09.5760371Z "cacheKeepDays": 3,
2024-05-16T12:42:09.5760813Z "bcptTestFolders": [
2024-05-16T12:42:09.5761104Z
2024-05-16T12:42:09.5761236Z ],
2024-05-16T12:42:09.5761686Z "updateDependencies": false,
2024-05-16T12:42:09.5762204Z "cacheImageName": "my",
2024-05-16T12:42:09.5762800Z "treatTestFailuresAsWarnings": false,
2024-05-16T12:42:09.5763424Z "useProjectDependencies": false,
2024-05-16T12:42:09.5763940Z "additionalCountries": [
2024-05-16T12:42:09.5764267Z
2024-05-16T12:42:09.5764404Z ],
2024-05-16T12:42:09.5764883Z "enableUICop": false,
2024-05-16T12:42:09.5765346Z "customCodeCops": [
2024-05-16T12:42:09.5765651Z
2024-05-16T12:42:09.5765808Z ],
2024-05-16T12:42:09.5766250Z "appDependencies": [
2024-05-16T12:42:09.5766582Z
2024-05-16T12:42:09.5766716Z ],
2024-05-16T12:42:09.5767665Z "applicationInsightsConnectionStringSecretName": "applicationInsightsConnectionString",
2024-05-16T12:42:09.5768793Z "appDependencyProbingPaths": [
2024-05-16T12:42:09.5769209Z
2024-05-16T12:42:09.5769365Z ],
2024-05-16T12:42:09.5769889Z "useCompilerFolder": true,
2024-05-16T12:42:09.5770432Z "installTestFramework": false,
2024-05-16T12:42:09.5771059Z "keyVaultCodesignCertificateName": "",
2024-05-16T12:42:09.5771685Z "keyVaultName": "",
2024-05-16T12:42:09.5772184Z "installOnlyReferencedApps": true,
2024-05-16T12:42:09.5772855Z "obsoleteTagMinAllowedMajorMinor": "",
2024-05-16T12:42:09.5773519Z "applicationDependency": "18.0.0.0",
2024-05-16T12:42:09.5774112Z "shell": "powershell",
2024-05-16T12:42:09.5774605Z "deliverToAppSource": {
2024-05-16T12:42:09.5775131Z "mainAppFolder": "",
2024-05-16T12:42:09.5776741Z "productId": "",
2024-05-16T12:42:09.5777399Z "includeDependencies": [
2024-05-16T12:42:09.5777846Z
2024-05-16T12:42:09.5778047Z ],
2024-05-16T12:42:09.5778942Z "continuousDelivery": false
2024-05-16T12:42:09.5779549Z },
2024-05-16T12:42:09.5779968Z "failOn": "error",
2024-05-16T12:42:09.5780762Z "templateUrl": "https://github.com/microsoft/AL-Go-PTE@main",
2024-05-16T12:42:09.5781539Z "installTestApps": [
2024-05-16T12:42:09.5781756Z
2024-05-16T12:42:09.5781845Z ],
2024-05-16T12:42:09.5782261Z "appSourceCopMandatoryAffixes": [
2024-05-16T12:42:09.5782666Z
2024-05-16T12:42:09.5782760Z ],
2024-05-16T12:42:09.5783066Z "projectName": ".",
2024-05-16T12:42:09.5783457Z "testDependencies": [
2024-05-16T12:42:09.5783788Z
2024-05-16T12:42:09.5783940Z ],
2024-05-16T12:42:09.5784390Z "appRevision": 0,
2024-05-16T12:42:09.5784891Z "codeSignCertificateUrlSecretName": "codeSignCertificateUrl",
2024-05-16T12:42:09.5785343Z "configPackages": [
2024-05-16T12:42:09.5785605Z "STANDARD"
2024-05-16T12:42:09.5785889Z ],
2024-05-16T12:42:09.5786124Z "projects": [
2024-05-16T12:42:09.5786280Z
2024-05-16T12:42:09.5786354Z ],
2024-05-16T12:42:09.5786597Z "unusedALGoSystemFiles": [
2024-05-16T12:42:09.5786802Z
2024-05-16T12:42:09.5786933Z ],
2024-05-16T12:42:09.5787196Z "buildModes": [
2024-05-16T12:42:09.5787356Z
2024-05-16T12:42:09.5787564Z ],
2024-05-16T12:42:09.5787813Z "templateBranch": "",
2024-05-16T12:42:09.5788110Z "installPerformanceToolkit": false,
2024-05-16T12:42:09.5788492Z "pullRequestTrigger": "pull_request_target",
2024-05-16T12:42:09.5788840Z "appFolders": [
2024-05-16T12:42:09.5789112Z "AlairBusinesscentral"
2024-05-16T12:42:09.5789428Z ],
2024-05-16T12:42:09.5789689Z "repoName": "alairbusinesscentral",
2024-05-16T12:42:09.5790014Z "fullBuildPatterns": [
2024-05-16T12:42:09.5790195Z
2024-05-16T12:42:09.5790274Z ],
2024-05-16T12:42:09.5790551Z "alwaysBuildAllProjects": false,
2024-05-16T12:42:09.5790860Z "skipUpgrade": false,
2024-05-16T12:42:09.5791131Z "installTestRunner": false,
2024-05-16T12:42:09.5791575Z "adminCenterApiCredentialsSecretName": "adminCenterApiCredentials"
2024-05-16T12:42:09.5792031Z }
2024-05-16T12:42:09.7804512Z GitHubRunnerJson="windows-latest"
2024-05-16T12:42:09.7817539Z GitHubRunnerShell=powershell
2024-05-16T12:42:09.8143909Z ##[group]Run $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
2024-05-16T12:42:09.8145006Z �[36;1m$errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0�[0m
2024-05-16T12:42:09.8145660Z �[36;1m$envName = 'Dev'.split(' ')[0]�[0m
2024-05-16T12:42:09.8146192Z �[36;1mAdd-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -Value "envName=$envName"�[0m
2024-05-16T12:42:09.8176022Z shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"
2024-05-16T12:42:09.8176553Z env:
2024-05-16T12:42:09.8176744Z workflowDepth: 1
2024-05-16T12:42:09.8177401Z ALGoOrgSettings: {
"useCompilerFolder": true,
"doNotPublishApps": true,
"artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
}
2024-05-16T12:42:09.8178269Z ALGoRepoSettings: {
"repoVersion": "1.6",
"versioningStrategy": +16
}
2024-05-16T12:42:09.8198952Z Settings: {"keyVaultCertificateUrlSecretName":"","microsoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","type":"PTE","sendExtendedTelemetryToMicrosoft":false,"appBuild":19,"doNotRunBcptTests":false,"versioningStrategy":16,"installApps":["https://www.hougaard.com/on-premises/SharePoint%20Connector/SharePoint%20Connector.5.0.0.283.BC23.4/SharePoint%20Connector.BC23.4.RunTime.v5.0.0.283.app"],"installTestLibraries":false,"runNumberOffset":0,"codeSignCertificatePasswordSecretName":"codeSignCertificatePassword","vsixFile":"","country":"us","alDoc":{"continuousDeployment":false,"deployToGitHubPages":true,"maxReleases":3,"groupByProject":true,"includeProjects":[],"excludeProjects":[],"header":"Documentation for {REPOSITORY} {VERSION}","footer":"Documentation for \u003ca href="https://github.com/{REPOSITORY}"\u003e{REPOSITORY}\u003c/a\u003e made with \u003ca href="https://aka.ms/AL-Go"\u003eAL-Go for GitHub\u003c/a\u003e, \u003ca href="https://go.microsoft.com/fwlink/?linkid=2247728"\u003eALDoc\u003c/a\u003e and \u003ca href="https://dotnet.github.io/docfx"\u003eDocFx\u003c/a\u003e","defaultIndexMD":"## Reference documentation\n\nThis is the generated reference documentation for {REPOSITORY}.\n\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\n\nYou can change this content by creating/editing the {INDEXTEMPLATERELATIVEPATH} file in your repository or use the alDoc:defaultIndexMD setting in your repository settings file (.github/AL-Go-Settings.json)\n\n{RELEASENOTES}","defaultReleaseMD":"## Release reference documentation\n\nThis is the generated reference documentation for {REPOSITORY}.\n\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\n\nYou can change this content by creating/editing the {INDEXTEMPLATERELATIVEPATH} file in your repository or use the alDoc:defaultReleaseMD setting in your repository settings file (.github/AL-Go-Settings.json)\n\n{RELEASENOTES}"},"templateSha":"","partnerTelemetryConnectionString":"","doNotRunTests":false,"enableCodeAnalyzersOnTestApps":false,"runs-on":"windows-latest","generateDependencyArtifact":true,"excludeEnvironments":[],"keyVaultCertificatePasswordSecretName":"","rulesetFile":"","licenseFileUrlSecretName":"licenseFileUrl","enableExternalRulesets":false,"memoryLimit":"","keyVaultClientIdSecretName":"","testFolders":[],"githubRunner":"windows-latest","doNotBuildTests":false,"environments":["Dev"],"companyName":"","assignPremiumPlan":false,"artifact":"bcartifacts/sandbox/23.5.16502.16589/us/closest","ghTokenWorkflowSecretName":"ghTokenWorkflow","enableTaskScheduler":false,"enableCodeCop":false,"repoVersion":"1.6","doNotPublishApps":true,"doNotSignApps":false,"githubRunnerShell":"powershell","cacheKeepDays":3,"bcptTestFolders":[],"updateDependencies":false,"cacheImageName":"my","treatTestFailuresAsWarnings":false,"useProjectDependencies":false,"additionalCountries":[],"enableUICop":false,"customCodeCops":[],"appDependencies":[],"applicationInsightsConnectionStringSecretName":"applicationInsightsConnectionString","appDependencyProbingPaths":[],"useCompilerFolder":true,"installTestFramework":false,"keyVaultCodesignCertificateName":"","keyVaultName":"","installOnlyReferencedApps":true,"obsoleteTagMinAllowedMajorMinor":"","applicationDependency":"18.0.0.0","shell":"powershell","deliverToAppSource":{"mainAppFolder":"","productId":"","includeDependencies":[],"continuousDelivery":false},"failOn":"error","templateUrl":"https://github.com/microsoft/AL-Go-PTE@main","installTestApps":[],"appSourceCopMandatoryAffixes":[],"projectName":".","testDependencies":[],"appRevision":0,"codeSignCertificateUrlSecretName":"codeSignCertificateUrl","configPackages":["STANDARD"],"projects":[],"unusedALGoSystemFiles":[],"buildModes":[],"templateBranch":"","installPerformanceToolkit":false,"pullRequestTrigger":"pull_request_target","appFolders":["AlairBusinesscentral"],"repoName":"alairbusinesscentral","fullBuildPatterns":[],"alwaysBuildAllProjects":false,"skipUpgrade":false,"installTestRunner":false,"adminCenterApiCredentialsSecretName":"adminCenterApiCredentials"}
2024-05-16T12:42:09.8218164Z ##[endgroup]
2024-05-16T12:42:10.1139829Z ##[group]Run microsoft/AL-Go-Actions/ReadSecrets@v5.1
2024-05-16T12:42:10.1140324Z with:
2024-05-16T12:42:10.1140563Z shell: powershell
2024-05-16T12:42:10.1149619Z gitHubSecrets: {
"github_token": "
",
"DEV_AUTHCONTEXT": ""
}
2024-05-16T12:42:10.1150594Z getSecrets: Dev-AuthContext,Dev_AuthContext,AuthContext,Dev-EnvironmentName,Dev_EnvironmentName,EnvironmentName,projects
2024-05-16T12:42:10.1151464Z useGhTokenWorkflowForPush: false
2024-05-16T12:42:10.1151811Z env:
2024-05-16T12:42:10.1152028Z workflowDepth: 1
2024-05-16T12:42:10.1152743Z ALGoOrgSettings: {
"useCompilerFolder": true,
"doNotPublishApps": true,
"artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
}
2024-05-16T12:42:10.1153732Z ALGoRepoSettings: {
"repoVersion": "1.6",
"versioningStrategy": +16
}
2024-05-16T12:42:10.1175335Z Settings: {"keyVaultCertificateUrlSecretName":"","microsoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","type":"PTE","sendExtendedTelemetryToMicrosoft":false,"appBuild":19,"doNotRunBcptTests":false,"versioningStrategy":16,"installApps":["https://www.hougaard.com/on-premises/SharePoint%20Connector/SharePoint%20Connector.5.0.0.283.BC23.4/SharePoint%20Connector.BC23.4.RunTime.v5.0.0.283.app"],"installTestLibraries":false,"runNumberOffset":0,"codeSignCertificatePasswordSecretName":"codeSignCertificatePassword","vsixFile":"","country":"us","alDoc":{"continuousDeployment":false,"deployToGitHubPages":true,"maxReleases":3,"groupByProject":true,"includeProjects":[],"excludeProjects":[],"header":"Documentation for {REPOSITORY} {VERSION}","footer":"Documentation for \u003ca href="https://github.com/{REPOSITORY}"\u003e{REPOSITORY}\u003c/a\u003e made with \u003ca href="https://aka.ms/AL-Go"\u003eAL-Go for GitHub\u003c/a\u003e, \u003ca href="https://go.microsoft.com/fwlink/?linkid=2247728"\u003eALDoc\u003c/a\u003e and \u003ca href="https://dotnet.github.io/docfx"\u003eDocFx\u003c/a\u003e","defaultIndexMD":"## Reference documentation\n\nThis is the generated reference documentation for {REPOSITORY}.\n\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\n\nYou can change this content by creating/editing the {INDEXTEMPLATERELATIVEPATH} file in your repository or use the alDoc:defaultIndexMD setting in your repository settings file (.github/AL-Go-Settings.json)\n\n{RELEASENOTES}","defaultReleaseMD":"## Release reference documentation\n\nThis is the generated reference documentation for {REPOSITORY}.\n\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\n\nYou can change this content by creating/editing the {INDEXTEMPLATERELATIVEPATH} file in your repository or use the alDoc:defaultReleaseMD setting in your repository settings file (.github/AL-Go-Settings.json)\n\n{RELEASENOTES}"},"templateSha":"","partnerTelemetryConnectionString":"","doNotRunTests":false,"enableCodeAnalyzersOnTestApps":false,"runs-on":"windows-latest","generateDependencyArtifact":true,"excludeEnvironments":[],"keyVaultCertificatePasswordSecretName":"","rulesetFile":"","licenseFileUrlSecretName":"licenseFileUrl","enableExternalRulesets":false,"memoryLimit":"","keyVaultClientIdSecretName":"","testFolders":[],"githubRunner":"windows-latest","doNotBuildTests":false,"environments":["Dev"],"companyName":"","assignPremiumPlan":false,"artifact":"bcartifacts/sandbox/23.5.16502.16589/us/closest","ghTokenWorkflowSecretName":"ghTokenWorkflow","enableTaskScheduler":false,"enableCodeCop":false,"repoVersion":"1.6","doNotPublishApps":true,"doNotSignApps":false,"githubRunnerShell":"powershell","cacheKeepDays":3,"bcptTestFolders":[],"updateDependencies":false,"cacheImageName":"my","treatTestFailuresAsWarnings":false,"useProjectDependencies":false,"additionalCountries":[],"enableUICop":false,"customCodeCops":[],"appDependencies":[],"applicationInsightsConnectionStringSecretName":"applicationInsightsConnectionString","appDependencyProbingPaths":[],"useCompilerFolder":true,"installTestFramework":false,"keyVaultCodesignCertificateName":"","keyVaultName":"","installOnlyReferencedApps":true,"obsoleteTagMinAllowedMajorMinor":"","applicationDependency":"18.0.0.0","shell":"powershell","deliverToAppSource":{"mainAppFolder":"","productId":"","includeDependencies":[],"continuousDelivery":false},"failOn":"error","templateUrl":"https://github.com/microsoft/AL-Go-PTE@main","installTestApps":[],"appSourceCopMandatoryAffixes":[],"projectName":".","testDependencies":[],"appRevision":0,"codeSignCertificateUrlSecretName":"codeSignCertificateUrl","configPackages":["STANDARD"],"projects":[],"unusedALGoSystemFiles":[],"buildModes":[],"templateBranch":"","installPerformanceToolkit":false,"pullRequestTrigger":"pull_request_target","appFolders":["AlairBusinesscentral"],"repoName":"alairbusinesscentral","fullBuildPatterns":[],"alwaysBuildAllProjects":false,"skipUpgrade":false,"installTestRunner":false,"adminCenterApiCredentialsSecretName":"adminCenterApiCredentials"}
2024-05-16T12:42:10.1198035Z ##[endgroup]
2024-05-16T12:42:10.1293975Z ##[group]Run $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
2024-05-16T12:42:10.1294916Z �[36;1m$errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0�[0m
2024-05-16T12:42:10.1295514Z �[36;1mtry {�[0m
2024-05-16T12:42:10.1296016Z �[36;1m D:\a_actions\microsoft\AL-Go-Actions\v5.1\ReadSecrets/ReadSecrets.ps1 -gitHubSecrets '{�[0m
2024-05-16T12:42:10.1296841Z �[36;1m "github_token": "
",�[0m
2024-05-16T12:42:10.1304946Z �[36;1m "DEV_AUTHCONTEXT": ""�[0m
2024-05-16T12:42:10.1305532Z �[36;1m}' -getSecrets $ENV:getSecrets -useGhTokenWorkflowForPush $ENV:useGhTokenWorkflowForPush�[0m
2024-05-16T12:42:10.1306074Z �[36;1m}�[0m
2024-05-16T12:42:10.1306277Z �[36;1mcatch {�[0m
2024-05-16T12:42:10.1307162Z �[36;1m Write-Host "::ERROR::Unexpected error when running action. Error Message: $($
.Exception.Message.Replace("r",'').Replace("n",' ')), StackTrace: $($
.ScriptStackTrace.Replace("r",'').Replace("n",' <- '))";�[0m
2024-05-16T12:42:10.1308101Z �[36;1m exit 1�[0m
2024-05-16T12:42:10.1308313Z �[36;1m}�[0m
2024-05-16T12:42:10.1337302Z shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"
2024-05-16T12:42:10.1337837Z env:
2024-05-16T12:42:10.1338026Z workflowDepth: 1
2024-05-16T12:42:10.1338681Z ALGoOrgSettings: {
"useCompilerFolder": true,
"doNotPublishApps": true,
"artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
}
2024-05-16T12:42:10.1339585Z ALGoRepoSettings: {
"repoVersion": "1.6",
"versioningStrategy": +16
}
2024-05-16T12:42:10.1359069Z Settings: {"keyVaultCertificateUrlSecretName":"","microsoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","type":"PTE","sendExtendedTelemetryToMicrosoft":false,"appBuild":19,"doNotRunBcptTests":false,"versioningStrategy":16,"installApps":["https://www.hougaard.com/on-premises/SharePoint%20Connector/SharePoint%20Connector.5.0.0.283.BC23.4/SharePoint%20Connector.BC23.4.RunTime.v5.0.0.283.app"],"installTestLibraries":false,"runNumberOffset":0,"codeSignCertificatePasswordSecretName":"codeSignCertificatePassword","vsixFile":"","country":"us","alDoc":{"continuousDeployment":false,"deployToGitHubPages":true,"maxReleases":3,"groupByProject":true,"includeProjects":[],"excludeProjects":[],"header":"Documentation for {REPOSITORY} {VERSION}","footer":"Documentation for \u003ca href="https://github.com/{REPOSITORY}"\u003e{REPOSITORY}\u003c/a\u003e made with \u003ca href="https://aka.ms/AL-Go"\u003eAL-Go for GitHub\u003c/a\u003e, \u003ca href="https://go.microsoft.com/fwlink/?linkid=2247728"\u003eALDoc\u003c/a\u003e and \u003ca href="https://dotnet.github.io/docfx"\u003eDocFx\u003c/a\u003e","defaultIndexMD":"## Reference documentation\n\nThis is the generated reference documentation for {REPOSITORY}.\n\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\n\nYou can change this content by creating/editing the {INDEXTEMPLATERELATIVEPATH} file in your repository or use the alDoc:defaultIndexMD setting in your repository settings file (.github/AL-Go-Settings.json)\n\n{RELEASENOTES}","defaultReleaseMD":"## Release reference documentation\n\nThis is the generated reference documentation for {REPOSITORY}.\n\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\n\nYou can change this content by creating/editing the {INDEXTEMPLATERELATIVEPATH} file in your repository or use the alDoc:defaultReleaseMD setting in your repository settings file (.github/AL-Go-Settings.json)\n\n{RELEASENOTES}"},"templateSha":"","partnerTelemetryConnectionString":"","doNotRunTests":false,"enableCodeAnalyzersOnTestApps":false,"runs-on":"windows-latest","generateDependencyArtifact":true,"excludeEnvironments":[],"keyVaultCertificatePasswordSecretName":"","rulesetFile":"","licenseFileUrlSecretName":"licenseFileUrl","enableExternalRulesets":false,"memoryLimit":"","keyVaultClientIdSecretName":"","testFolders":[],"githubRunner":"windows-latest","doNotBuildTests":false,"environments":["Dev"],"companyName":"","assignPremiumPlan":false,"artifact":"bcartifacts/sandbox/23.5.16502.16589/us/closest","ghTokenWorkflowSecretName":"ghTokenWorkflow","enableTaskScheduler":false,"enableCodeCop":false,"repoVersion":"1.6","doNotPublishApps":true,"doNotSignApps":false,"githubRunnerShell":"powershell","cacheKeepDays":3,"bcptTestFolders":[],"updateDependencies":false,"cacheImageName":"my","treatTestFailuresAsWarnings":false,"useProjectDependencies":false,"additionalCountries":[],"enableUICop":false,"customCodeCops":[],"appDependencies":[],"applicationInsightsConnectionStringSecretName":"applicationInsightsConnectionString","appDependencyProbingPaths":[],"useCompilerFolder":true,"installTestFramework":false,"keyVaultCodesignCertificateName":"","keyVaultName":"","installOnlyReferencedApps":true,"obsoleteTagMinAllowedMajorMinor":"","applicationDependency":"18.0.0.0","shell":"powershell","deliverToAppSource":{"mainAppFolder":"","productId":"","includeDependencies":[],"continuousDelivery":false},"failOn":"error","templateUrl":"https://github.com/microsoft/AL-Go-PTE@main","installTestApps":[],"appSourceCopMandatoryAffixes":[],"projectName":".","testDependencies":[],"appRevision":0,"codeSignCertificateUrlSecretName":"codeSignCertificateUrl","configPackages":["STANDARD"],"projects":[],"unusedALGoSystemFiles":[],"buildModes":[],"templateBranch":"","installPerformanceToolkit":false,"pullRequestTrigger":"pull_request_target","appFolders":["AlairBusinesscentral"],"repoName":"alairbusinesscentral","fullBuildPatterns":[],"alwaysBuildAllProjects":false,"skipUpgrade":false,"installTestRunner":false,"adminCenterApiCredentialsSecretName":"adminCenterApiCredentials"}
2024-05-16T12:42:10.1381047Z _getSecrets: Dev-AuthContext,Dev_AuthContext,AuthContext,Dev-EnvironmentName,Dev_EnvironmentName,EnvironmentName,projects
2024-05-16T12:42:10.1381824Z _useGhTokenWorkflowForPush: false
2024-05-16T12:42:10.1382130Z ##[endgroup]
2024-05-16T12:42:10.6760069Z Trying to get the secret (Dev-AuthContext) from the github environment.
2024-05-16T12:42:10.6853858Z Could not find secret Dev-AuthContext in Github secrets or Azure Key Vault.
2024-05-16T12:42:10.6862948Z Trying to get the secret (Dev_AuthContext) from the github environment.
2024-05-16T12:42:10.6905080Z Masking value for Dev_AuthContext
2024-05-16T12:42:10.7266244Z Secret (Dev_AuthContext) was retrieved from the github environment.
2024-05-16T12:42:10.7352000Z Masking value for Dev_AuthContext.RefreshToken
2024-05-16T12:42:10.7545000Z Masking value for Dev_AuthContext.ClientID
2024-05-16T12:42:10.7619353Z Dev_AuthContext successfully read from secret Dev_AuthContext
2024-05-16T12:42:10.7627364Z Trying to get the secret (AuthContext) from the github environment.
2024-05-16T12:42:10.7679580Z Could not find secret AuthContext in Github secrets or Azure Key Vault.
2024-05-16T12:42:10.7681079Z Trying to get the secret (Dev-EnvironmentName) from the github environment.
2024-05-16T12:42:10.7683255Z Could not find secret Dev-EnvironmentName in Github secrets or Azure Key Vault.
2024-05-16T12:42:10.7701453Z Trying to get the secret (Dev_EnvironmentName) from the github environment.
2024-05-16T12:42:10.7705823Z Could not find secret Dev_EnvironmentName in Github secrets or Azure Key Vault.
2024-05-16T12:42:10.7739784Z Trying to get the secret (EnvironmentName) from the github environment.
2024-05-16T12:42:10.7764227Z Could not find secret EnvironmentName in Github secrets or Azure Key Vault.
2024-05-16T12:42:10.7766454Z Trying to get the secret (projects) from the github environment.
2024-05-16T12:42:10.7767985Z Could not find secret projects in Github secrets or Azure Key Vault.
2024-05-16T12:42:10.7787409Z The following secrets was not found: Dev-AuthContext, AuthContext, Dev-EnvironmentName, Dev_EnvironmentName, EnvironmentName, projects
2024-05-16T12:42:10.8216648Z ##[group]Run microsoft/AL-Go-Actions/Deploy@v5.1
2024-05-16T12:42:10.8217114Z with:
2024-05-16T12:42:10.8217339Z shell: powershell
2024-05-16T12:42:10.8217611Z environmentName: Dev
2024-05-16T12:42:10.8217879Z artifacts: .artifacts
2024-05-16T12:42:10.8218134Z type: CD
2024-05-16T12:42:10.8219149Z deploymentEnvironmentsJson: {"Dev":{"EnvironmentType":"SaaS","Branches":[],"EnvironmentName":"Dev","runs-on":["windows-latest"],"Projects":"
","continuousDeployment":null,"shell":"powershell","BranchesFromPolicy":[],"SyncMode":null}}
2024-05-16T12:42:10.8220411Z token: ***
2024-05-16T12:42:10.8220666Z parentTelemetryScopeJson: 7b7d
2024-05-16T12:42:10.8220972Z env:
2024-05-16T12:42:10.8221180Z workflowDepth: 1
2024-05-16T12:42:10.8221858Z ALGoOrgSettings: {
"useCompilerFolder": true,
"doNotPublishApps": true,
"artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
}
2024-05-16T12:42:10.8222795Z ALGoRepoSettings: {
"repoVersion": "1.6",
"versioningStrategy": +16
}
2024-05-16T12:42:10.8244501Z Settings: {"keyVaultCertificateUrlSecretName":"","microsoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","type":"PTE","sendExtendedTelemetryToMicrosoft":false,"appBuild":19,"doNotRunBcptTests":false,"versioningStrategy":16,"installApps":["https://www.hougaard.com/on-premises/SharePoint%20Connector/SharePoint%20Connector.5.0.0.283.BC23.4/SharePoint%20Connector.BC23.4.RunTime.v5.0.0.283.app"],"installTestLibraries":false,"runNumberOffset":0,"codeSignCertificatePasswordSecretName":"codeSignCertificatePassword","vsixFile":"","country":"us","alDoc":{"continuousDeployment":false,"deployToGitHubPages":true,"maxReleases":3,"groupByProject":true,"includeProjects":[],"excludeProjects":[],"header":"Documentation for {REPOSITORY} {VERSION}","footer":"Documentation for \u003ca href="https://github.com/{REPOSITORY}"\u003e{REPOSITORY}\u003c/a\u003e made with \u003ca href="https://aka.ms/AL-Go"\u003eAL-Go for GitHub\u003c/a\u003e, \u003ca href="https://go.microsoft.com/fwlink/?linkid=2247728"\u003eALDoc\u003c/a\u003e and \u003ca href="https://dotnet.github.io/docfx"\u003eDocFx\u003c/a\u003e","defaultIndexMD":"## Reference documentation\n\nThis is the generated reference documentation for {REPOSITORY}.\n\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\n\nYou can change this content by creating/editing the {INDEXTEMPLATERELATIVEPATH} file in your repository or use the alDoc:defaultIndexMD setting in your repository settings file (.github/AL-Go-Settings.json)\n\n{RELEASENOTES}","defaultReleaseMD":"## Release reference documentation\n\nThis is the generated reference documentation for {REPOSITORY}.\n\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\n\nYou can change this content by creating/editing the {INDEXTEMPLATERELATIVEPATH} file in your repository or use the alDoc:defaultReleaseMD setting in your repository settings file (.github/AL-Go-Settings.json)\n\n{RELEASENOTES}"},"templateSha":"","partnerTelemetryConnectionString":"","doNotRunTests":false,"enableCodeAnalyzersOnTestApps":false,"runs-on":"windows-latest","generateDependencyArtifact":true,"excludeEnvironments":[],"keyVaultCertificatePasswordSecretName":"","rulesetFile":"","licenseFileUrlSecretName":"licenseFileUrl","enableExternalRulesets":false,"memoryLimit":"","keyVaultClientIdSecretName":"","testFolders":[],"githubRunner":"windows-latest","doNotBuildTests":false,"environments":["Dev"],"companyName":"","assignPremiumPlan":false,"artifact":"bcartifacts/sandbox/23.5.16502.16589/us/closest","ghTokenWorkflowSecretName":"ghTokenWorkflow","enableTaskScheduler":false,"enableCodeCop":false,"repoVersion":"1.6","doNotPublishApps":true,"doNotSignApps":false,"githubRunnerShell":"powershell","cacheKeepDays":3,"bcptTestFolders":[],"updateDependencies":false,"cacheImageName":"my","treatTestFailuresAsWarnings":false,"useProjectDependencies":false,"additionalCountries":[],"enableUICop":false,"customCodeCops":[],"appDependencies":[],"applicationInsightsConnectionStringSecretName":"applicationInsightsConnectionString","appDependencyProbingPaths":[],"useCompilerFolder":true,"installTestFramework":false,"keyVaultCodesignCertificateName":"","keyVaultName":"","installOnlyReferencedApps":true,"obsoleteTagMinAllowedMajorMinor":"","applicationDependency":"18.0.0.0","shell":"powershell","deliverToAppSource":{"mainAppFolder":"","productId":"","includeDependencies":[],"continuousDelivery":false},"failOn":"error","templateUrl":"https://github.com/microsoft/AL-Go-PTE@main","installTestApps":[],"appSourceCopMandatoryAffixes":[],"projectName":".","testDependencies":[],"appRevision":0,"codeSignCertificateUrlSecretName":"codeSignCertificateUrl","configPackages":["STANDARD"],"projects":[],"unusedALGoSystemFiles":[],"buildModes":[],"templateBranch":"","installPerformanceToolkit":false,"pullRequestTrigger":"pull_request_target","appFolders":["AlairBusinesscentral"],"repoName":"alairbusinesscentral","fullBuildPatterns":[],"alwaysBuildAllProjects":false,"skipUpgrade":false,"installTestRunner":false,"adminCenterApiCredentialsSecretName":"adminCenterApiCredentials"}
2024-05-16T12:42:10.8302587Z Secrets: {"Dev_AuthContext":"
","Dev-AuthContext":"","AuthContext":"","Dev-EnvironmentName":"","Dev_EnvironmentName":"","EnvironmentName":"","projects":""}
2024-05-16T12:42:10.8303359Z ##[endgroup]
2024-05-16T12:42:10.8392293Z ##[group]Run $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
2024-05-16T12:42:10.8393238Z �[36;1m$errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0�[0m
2024-05-16T12:42:10.8394804Z �[36;1mtry {�[0m
2024-05-16T12:42:10.8396258Z �[36;1m D:\a_actions\microsoft\AL-Go-Actions\v5.1\Deploy/Deploy.ps1 -token $ENV:_token -parentTelemetryScopeJson $ENV:_parentTelemetryScopeJson -environmentName $ENV:_environmentName -artifacts $ENV:_artifacts -type $ENV:type -deploymentEnvironmentsJson $ENV:deploymentEnvironmentsJson�[0m
2024-05-16T12:42:10.8397609Z �[36;1m}�[0m
2024-05-16T12:42:10.8397827Z �[36;1mcatch {�[0m
2024-05-16T12:42:10.8398737Z �[36;1m Write-Host "::ERROR::Unexpected error when running action. Error Message: $($
.Exception.Message.Replace("r",'').Replace("n",' ')), StackTrace: $($
.ScriptStackTrace.Replace("r",'').Replace("n",' <- '))";�[0m
2024-05-16T12:42:10.8399930Z �[36;1m exit 1�[0m
2024-05-16T12:42:10.8400169Z �[36;1m}�[0m
2024-05-16T12:42:10.8429637Z shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"
2024-05-16T12:42:10.8430183Z env:
2024-05-16T12:42:10.8430395Z workflowDepth: 1
2024-05-16T12:42:10.8431091Z ALGoOrgSettings: {
"useCompilerFolder": true,
"doNotPublishApps": true,
"artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
}
2024-05-16T12:42:10.8432003Z ALGoRepoSettings: {
"repoVersion": "1.6",
"versioningStrategy": +16
}
2024-05-16T12:42:10.8451676Z Settings: {"keyVaultCertificateUrlSecretName":"","microsoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","type":"PTE","sendExtendedTelemetryToMicrosoft":false,"appBuild":19,"doNotRunBcptTests":false,"versioningStrategy":16,"installApps":["https://www.hougaard.com/on-premises/SharePoint%20Connector/SharePoint%20Connector.5.0.0.283.BC23.4/SharePoint%20Connector.BC23.4.RunTime.v5.0.0.283.app"],"installTestLibraries":false,"runNumberOffset":0,"codeSignCertificatePasswordSecretName":"codeSignCertificatePassword","vsixFile":"","country":"us","alDoc":{"continuousDeployment":false,"deployToGitHubPages":true,"maxReleases":3,"groupByProject":true,"includeProjects":[],"excludeProjects":[],"header":"Documentation for {REPOSITORY} {VERSION}","footer":"Documentation for \u003ca href="https://github.com/{REPOSITORY}"\u003e{REPOSITORY}\u003c/a\u003e made with \u003ca href="https://aka.ms/AL-Go"\u003eAL-Go for GitHub\u003c/a\u003e, \u003ca href="https://go.microsoft.com/fwlink/?linkid=2247728"\u003eALDoc\u003c/a\u003e and \u003ca href="https://dotnet.github.io/docfx"\u003eDocFx\u003c/a\u003e","defaultIndexMD":"## Reference documentation\n\nThis is the generated reference documentation for {REPOSITORY}.\n\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\n\nYou can change this content by creating/editing the {INDEXTEMPLATERELATIVEPATH} file in your repository or use the alDoc:defaultIndexMD setting in your repository settings file (.github/AL-Go-Settings.json)\n\n{RELEASENOTES}","defaultReleaseMD":"## Release reference documentation\n\nThis is the generated reference documentation for {REPOSITORY}.\n\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\n\nYou can change this content by creating/editing the {INDEXTEMPLATERELATIVEPATH} file in your repository or use the alDoc:defaultReleaseMD setting in your repository settings file (.github/AL-Go-Settings.json)\n\n{RELEASENOTES}"},"templateSha":"","partnerTelemetryConnectionString":"","doNotRunTests":false,"enableCodeAnalyzersOnTestApps":false,"runs-on":"windows-latest","generateDependencyArtifact":true,"excludeEnvironments":[],"keyVaultCertificatePasswordSecretName":"","rulesetFile":"","licenseFileUrlSecretName":"licenseFileUrl","enableExternalRulesets":false,"memoryLimit":"","keyVaultClientIdSecretName":"","testFolders":[],"githubRunner":"windows-latest","doNotBuildTests":false,"environments":["Dev"],"companyName":"","assignPremiumPlan":false,"artifact":"bcartifacts/sandbox/23.5.16502.16589/us/closest","ghTokenWorkflowSecretName":"ghTokenWorkflow","enableTaskScheduler":false,"enableCodeCop":false,"repoVersion":"1.6","doNotPublishApps":true,"doNotSignApps":false,"githubRunnerShell":"powershell","cacheKeepDays":3,"bcptTestFolders":[],"updateDependencies":false,"cacheImageName":"my","treatTestFailuresAsWarnings":false,"useProjectDependencies":false,"additionalCountries":[],"enableUICop":false,"customCodeCops":[],"appDependencies":[],"applicationInsightsConnectionStringSecretName":"applicationInsightsConnectionString","appDependencyProbingPaths":[],"useCompilerFolder":true,"installTestFramework":false,"keyVaultCodesignCertificateName":"","keyVaultName":"","installOnlyReferencedApps":true,"obsoleteTagMinAllowedMajorMinor":"","applicationDependency":"18.0.0.0","shell":"powershell","deliverToAppSource":{"mainAppFolder":"","productId":"","includeDependencies":[],"continuousDelivery":false},"failOn":"error","templateUrl":"https://github.com/microsoft/AL-Go-PTE@main","installTestApps":[],"appSourceCopMandatoryAffixes":[],"projectName":".","testDependencies":[],"appRevision":0,"codeSignCertificateUrlSecretName":"codeSignCertificateUrl","configPackages":["STANDARD"],"projects":[],"unusedALGoSystemFiles":[],"buildModes":[],"templateBranch":"","installPerformanceToolkit":false,"pullRequestTrigger":"pull_request_target","appFolders":["AlairBusinesscentral"],"repoName":"alairbusinesscentral","fullBuildPatterns":[],"alwaysBuildAllProjects":false,"skipUpgrade":false,"installTestRunner":false,"adminCenterApiCredentialsSecretName":"adminCenterApiCredentials"}
2024-05-16T12:42:10.8509551Z Secrets: {"Dev_AuthContext":"
","Dev-AuthContext":"","AuthContext":"","Dev-EnvironmentName":"","Dev_EnvironmentName":"","EnvironmentName":"","projects":""}
2024-05-16T12:42:10.8510436Z _token: ***
2024-05-16T12:42:10.8510694Z _parentTelemetryScopeJson: 7b7d
2024-05-16T12:42:10.8511029Z _environmentName: Dev
2024-05-16T12:42:10.8511301Z _artifacts: .artifacts
2024-05-16T12:42:10.8511561Z _type: CD
2024-05-16T12:42:10.8512617Z _deploymentEnvironmentsJson: {"Dev":{"EnvironmentType":"SaaS","Branches":[],"EnvironmentName":"Dev","runs-on":["windows-latest"],"Projects":"
","continuousDeployment":null,"shell":"powershell","BranchesFromPolicy":[],"SyncMode":null}}
2024-05-16T12:42:10.8513698Z ##[endgroup]
2024-05-16T12:42:11.9974046Z Downloading BcContainerHelper latest version from Blob Storage
2024-05-16T12:42:13.7358811Z Import from C:\ProgramData\BcContainerHelper\6.0.17\BcContainerHelper\BcContainerHelper.ps1
2024-05-16T12:42:14.2464429Z BcContainerHelper version 6.0.17
2024-05-16T12:42:21.8804600Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2024-05-16T12:42:21.9979096Z Running on Windows, PowerShell 5.1.20348.2400
2024-05-16T12:42:23.7902267Z project '
'
2024-05-16T12:42:23.7942684Z Apps to deploy
2024-05-16T12:42:23.7958064Z D:\a\alairbusinesscentral\alairbusinesscentral.artifacts\alairbusinesscentral-main-Apps-1.6.19.0

2024-05-16T12:42:24.1490929Z EnvironmentUrl: https://businesscentral.dynamics.com/639a1e57-c476-423a-871d-b2bb02c725d0/Dev
2024-05-16T12:42:24.4980709Z Publishing apps using development endpoint
2024-05-16T12:42:26.0684281Z InstalledApps:

2024-05-16T12:42:26.1760552Z - ea1add5a-420e-44cc-a46e-a3e1838f9955 Alair Homes 1.0.44.2 ' Dev' True Canada

2024-05-16T12:42:27.8038476Z Publishing Canada_Alair Homes_1.0.19.0.app to https://api.businesscentral.dynamics.com/v2.0/Dev/dev/apps?SchemaUpdateMode=synchronize
2024-05-16T12:42:28.4446869Z Status Code 422 : Unprocessable Entity
2024-05-16T12:42:28.4449010Z Cannot install the extension Alair Homes by E Foqus Canada 1.0.19.0 because a newer version 1.0.44.2 was already installed.
2024-05-16T12:42:28.4450218Z
2024-05-16T12:42:29.1234474Z Publish-BcContainerApp Telemetry Correlation Id: 15921355-c7c5-4f3c-92cb-5668941096fe
2024-05-16T12:42:29.1336939Z ##[error]Deploying to Dev failed. Status Code 422 : Unprocessable Entity Cannot install the extension Alair Homes by E Foqus Canada 1.0.19.0 because a newer version 1.0.44.2 was already installed.
2024-05-16T12:42:29.2851949Z ##[error]Process completed with exit code 1.
2024-05-16T12:42:29.3092690Z Post job cleanup.
2024-05-16T12:42:29.5018208Z [command]"C:\Program Files\Git\bin\git.exe" version
2024-05-16T12:42:29.5293241Z git version 2.45.1.windows.1
2024-05-16T12:42:29.5364704Z Temporarily overriding HOME='D:\a_temp\e3f5da54-7a8a-4607-a75d-267bdce5e8a4' before making global git config changes
2024-05-16T12:42:29.5366837Z Adding repository directory to the temporary git global config as a safe directory
2024-05-16T12:42:29.5375713Z [command]"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\alairbusinesscentral\alairbusinesscentral
2024-05-16T12:42:29.5616921Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core.sshCommand
2024-05-16T12:42:29.5845635Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :""
2024-05-16T12:42:29.9944569Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http.https://github.com/.extraheader
2024-05-16T12:42:30.0138592Z http.https://github.com/.extraheader
2024-05-16T12:42:30.0173042Z [command]"C:\Program Files\Git\bin\git.exe" config --local --unset-all http.https://github.com/.extraheader
2024-05-16T12:42:30.0408569Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :""
2024-05-16T12:42:30.4619460Z Evaluate and set environment url
2024-05-16T12:42:30.4622957Z Evaluated environment url: https://businesscentral.dynamics.com/639a1e57-c476-423a-871d-b2bb02c725d0/Dev
2024-05-16T12:42:30.4623807Z Cleaning up orphan processes

@donah001 donah001 changed the title CICD workflow is deploying a different app version from the build artifact CICD workflow is deploying a different app version number from the build artifact May 16, 2024
@donah001
Copy link
Author

For some reason, it's working now and deploying the correct build artifact. I don't know why it was deploying a different one before.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant