Executing Gradle task from one level above the root directory

Hi,

I am trying to execute the gradle tasks from one level above the root directory of gradle project.
e.g. test-> gradleProject-> gradle.build
I want to execute the build from test folder and not from gradleProject. Is it possible to do this?

Reason I want to do like this because I am taking my code from git using jenkins pipeline into a test folder on jenkins workspace. So now when I run gradle task, the build file is inside the test folder and I am not sure how to run the build file from jenkins workspace now.