You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I pass the PROJECT_DIR value as ./discount-api to the Gradle task. I get an exception as settings.gradle not found. which is correct because that project has no setting.gradle file.
The main project is discount-api. I need to build the application. Quite not sure what is wrong. On the local env if I do ./gradlew build in the root directory the application successfully builds.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have below pipeline task for Gradle build, which clones the project from the bitbucket repo and tries to build the application.
I have the below project structure
The
settings.gradle
contain the below projectswhen running the pipeline with below code
Getting an exception as
FAILURE: Build failed with an exception.
I have used the task from the Tekton catalog https://github.com/tektoncd/catalog/blob/main/task/gradle/0.1/gradle.yaml
If I pass the
PROJECT_DIR
value as./discount-api
to the Gradle task. I get an exception assettings.gradle
not found. which is correct because that project has no setting.gradle file.The main project is
discount-api
. I need to build the application. Quite not sure what is wrong. On the local env if I do ./gradlew build in the root directory the application successfully builds.Beta Was this translation helpful? Give feedback.
All reactions