jfrog-azure-devops-extension
jfrog-azure-devops-extension copied to clipboard
Tasks adds server-id option to 'jf tfc'
Describe the bug Calling the cli from this task to configure terraform for Module publishing results in following error:
[Error] Incorrect Usage: flag provided but not defined: -server-id [Error] flag provided but not defined: -server-id
To Reproduce task: JfrogCliV2@1 inputs: jfrogPlatformConnection: 'my_jfrog_v2' command: 'jf tfc --server-id-deploy="$(artifactoryHost)" --repo-deploy="$(artifactoryRepositoryName)"'
The task sets the --server-id option but the cli does not recognize this option for the command.
Expected behavior terraform configurations are to get set
Versions
JFrog Azure DevOps Extension version: 2.2.0 CLI version: 2.19.0 , 2.25.5, 2.28.1 Agent operating system: ubuntu-latest
We're having the same problem...It's weird that you are using a parameter that is wrongly named. Should be --server-id-deploy as per your documentation (not --server-id)...Perhaps adding another helper function (task utils) for terraform that uses a parameter name --server-id-deploy as expected?