jfrog / jfrog-azure-devops-extension

Apache License 2.0
46 stars 61 forks source link

In Azure DevOps Pipeline, there is no placeholder for the projectKey element for the pipeline helper. #279

Open janardhanajl opened 2 years ago

janardhanajl commented 2 years ago

Describe the bug

In Azure DevOps there is no placeholder for the projectKey element for the pipeline helper. Need to add projectKey manually to the YAML and it works.

Expected behavior Artifactory Docker task should contain a project key option .

Screenshots image

Versions

AndySchroders commented 2 years ago

If projectKey is omitted from this step and PublishBuildInfo uses a prokectKey then PublishBuildInfo fails with an unhelpful (missing folder) message. Possibly improve the error messaging on PublishBuildInfo too.

RobiNino commented 2 years ago

Hi @janardhanajl , The projectKey field is hidden inside "Collect build info". It will be be visible once you check that box, just like in other tasks: image

There is no placeholder because there is no default value we can rely on for the project. You may link these parameters if you are using the UI, or use runtime parameters in YAML to only set them in one place.

RobiNino commented 2 years ago

Hi @AndySchroders , We have #269 tracking this issue. Thanks for raising this request