Azure build pipeline (Power apps solution) run successfully but I cant see files in Repo.

Copper Contributor

Azure build pipeline run successfully but Artifact (folder and files) not displayed in Repo. This is pipeline for Power apps solutions

I have mentioned the following paths for Solution export and import

Solution output file : $(Build.StagingDirectory)$(SolutionName)_Unmanaged.zip

Solution Input file : $(Build.StagingDirectory)$(SolutionName)_Unmanaged.zip

Target folder to unpack the solution : $(Build.StagingDirectory)$(SolutionName)\Unmanaged

target version : not given

I have bit doubt that these paths are created automatically

Publish to Artifact : $(Build.StagingDirectory)$(SolutionName)\Unmanaged

 

 

 

1 Reply
Sound like you need another step to commit it back into the repo.

Something like:

- script: |
echo Committing all changes
git config user. Email "email address removed for privacy reasons"
git config user.name "Automatic Build"
git checkout %BUILD_SOURCEBRANCHNAME%
git add --all
git commit -m "Automatic solution commit $(CurrentDate) [skip ci]"
git status
git -c http.extraheader="AUTHORIZATION: bearer $(System.AccessToken)" pull
git status
echo Push code to repository
git -c http.extraheader="AUTHORIZATION: bearer $(System.AccessToken)" push origin %BUILD_SOURCEBRANCHNAME%

displayName: 'Commit to Source Control'