Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

sfpwowerscripts-analyzewithpmd-task not using custom pmd-ruleset.xml #304

Closed
kaboomkazoom opened this issue Jan 11, 2021 · 6 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@kaboomkazoom
Copy link

Not able to use a custom pmd-ruleset.xml file with sfpwowerscripts-analyzewithpmd-task (Version 8.0.5)

The following YAML

steps:
- task: AzlamSalam.sfpowerscripts.sfpwowerscripts-analyzewithpmd-task.sfpwowerscripts-analyzewithpmd-task@8
  displayName: 'Analyze Apex using PMD'
  inputs:
    directory: 'force-app-package_src_delta/force-app'
    ruleset: Custom
    rulesetpath: 'pmd-ruleset.xml'
    version: '6.26.0'
    isToBreakBuild: true

Generates the following command without any reference to pmd-ruleset.xml

    npx sfdx sfpowerkit:source:pmd -d  force-app-package_src_delta/force-app -f  text --version=6.26.0 --loglevel INFO
@Caitlyn-Mills
Copy link
Contributor

Thanks @kaboomkazoom we are looking into the issue.

@kaboomkazoom
Copy link
Author

Hello @Caitlyn-Mills, is this an issue or am I doing something wrong?

@Caitlyn-Mills
Copy link
Contributor

Hi @kaboomkazoom we are targeting a hotfix for this issue. I will let you know.

@Caitlyn-Mills Caitlyn-Mills self-assigned this Jan 21, 2021
@kaboomkazoom
Copy link
Author

Thanks @Caitlyn-Mills

@azlam-abdulsalam azlam-abdulsalam added the bug Something isn't working label Jan 22, 2021
@Caitlyn-Mills
Copy link
Contributor

@kaboomkazoom Fix has been released. Thank you for submitting the issue.

@kaboomkazoom
Copy link
Author

Thanks @Caitlyn-Mills. I can confirm that the issue is resolved.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants