Skip to content

Custom task is not recognized by jenkins #1037

@anweshadhal

Description

@anweshadhal

Hi @wakaleo,

I was trying to run my code in jenkins and created jenkins job with the below build info and task info. But got "org.gradle.execution.TaskSelectionException: Task 'runHDFCCalculatorBDDCucumberUI' not found in root project" error.

Custom Task Name: runHDFCCalculatorBDDCucumberUI

Build tab:
Screenshot (24)

Task in build.gradle

Screenshot (22)

Error in Jenkins:
Screenshot (23)

Could you please help me by providing some solution to this error!!

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions