AL-Go icon indicating copy to clipboard operation
AL-Go copied to clipboard

Publish to Environment fails from feature branch

Open jngillard opened this issue 1 year ago • 4 comments

When trying to run publish to an environment from feature branch, it's failing.

Unexpected error when running action. Error Message: Could not find any Apps artifacts for projects *, version latest, StackTrace: at <ScriptBlock>, D:\a_actions\microsoft\AL-Go-Actions\v5.0\Deploy\Deploy.ps1: line 142 <- at <ScriptBlock>, D:\a_temp\4ca3d4e9-d384-4abb-8b8e-be554619421b.ps1: line 4 <- at <ScriptBlock>, <No file>: line 1

I believe this is caused by these errors in the Deploy job

Finding latest successful CICD run for branch feature_testing in repository WebSan-Solutions/WebSanCommonFramework

  • https://api.github.com/repos/WebSan-Solutions/WebSanCommonFramework/actions/runs?per_page=100&page=1&exclude_pull_requests=true&status=completed&branch=feature_testing No successful CICD run found for branch feature_testing in repository WebSan-Solutions/WebSanCommonFramework Finding latest successful CICD run for branch feature_testing in repository WebSan-Solutions/WebSanCommonFramework
  • https://api.github.com/repos/WebSan-Solutions/WebSanCommonFramework/actions/runs?per_page=100&page=1&exclude_pull_requests=true&status=completed&branch=feature_testing No successful CICD run found for branch feature_testing in repository WebSan-Solutions/WebSanCommonFramework

The question is, why can it not find the last successful CICD run for the feature branch. I was able to run the CICD workflow for the feature branch and an artifact was produced during runtime. What is the issue here?

jngillard avatar May 01 '24 16:05 jngillard

Anyone?

jngillard avatar May 16 '24 12:05 jngillard

Sorry for the delay Could you add the full log of the build in the feature branch and of the deploy step?

freddydk avatar May 22 '24 10:05 freddydk

Hi Freddy:

I've attached a zip of the Logs from the CI/CD run of the feature branch as well as the log from the attempted deploy step. Please let me know if you need anything else. logs_CICD.zip logs_DeployTo.zip

jngillard avatar May 22 '24 13:05 jngillard

I am not sure if I am seeing the same issue. I dont have my Deploy to pipeline failing, it just does not publish the apps. The before and after of my apps just stays on the same version

StefanMaron avatar Aug 15 '24 08:08 StefanMaron