Skip to content

Commit

Permalink
Fix jib-gradle task
Browse files Browse the repository at this point in the history
This wil fix the issue jib gradle task
gettng failed on security constrained
environments like OpenShift

Fix #198
  • Loading branch information
piyush-garg authored and tekton-robot committed Feb 27, 2020
1 parent 61577e3 commit 21cb87f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jib-gradle/jib-gradle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ spec:
# Runs the Gradle Jib build.
gradle jib \
--stacktrace --console=plain \
-g gradle-user-home \
--init-script=/tekton/home/init-script.gradle \
-Duser.home=/tekton/home \
-Dgradle.user.home=/tekton/home/.gradle \
Expand Down

0 comments on commit 21cb87f

Please sign in to comment.