mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-21 05:55:35 +00:00
Use bash instead on sh in jib-maven
This will fix the issue of task failing with some MAVEN_IMAGE like 3.6.3-adoptopenjdk-11 etc because of [[ not found
This commit is contained in:
parent
6bd8c3165b
commit
fdd4499dd3
@ -48,7 +48,7 @@ spec:
|
||||
image: $(params.MAVEN_IMAGE)
|
||||
# Make sh evaluate $HOME.
|
||||
script: |
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
[[ -f /etc/ssl/certs/$(params.CACERTFILE) ]] && \
|
||||
keytool -import -keystore $JAVA_HOME/lib/security/cacerts -storepass "changeit" -file /etc/ssl/certs/$(params.CACERTFILE) -noprompt
|
||||
|
Loading…
Reference in New Issue
Block a user