kine / navertical_tasks

GNU General Public License v3.0
9 stars 4 forks source link

unable to sign Business Central app - with navertical_tasks "Sign App with certificate through Container" #7

Closed chavansachin20 closed 4 years ago

chavansachin20 commented 4 years ago

Hi @kine ,

I have created a task which Signs app through container as below: image

when I execute this task it succeeded but it won't sign the app. image

can you please share expected details under the task, like sample example.

Actual: app not signed with task created under build pipeline. Expectation: the app should be signed

Thanks Sachin Chavan

kine commented 4 years ago

Hi @chavansachin20 , 1) How do you test that the app is not signed? 2) Could you send me the log for the job?

chavansachin20 commented 4 years ago
  1. App > right Click > Properties > Digital Signatures > Signature list

Actual: App > right Click > Properties > Digital Signatures tab is not present Expected: App > right Click > Properties > Digital Signatures tab should be present with date and time stamp.

  1. logs from DevOps > see below screenshot image
kine commented 4 years ago

It seems that the app was not found. If you have App file = myTest.App without folder, it will search in current folder and subfolders. I am using App file =$(Agent.BuildDirectory)/App/*.app (App is name of my artifact from the build stage). If all is ok, the output should be like this (3 app files found): image

chavansachin20 commented 4 years ago

Thanks, @kine ! this worked for me.