I understand that it's an antipattern, but it's convenient.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
def call(String chartFile, String nexusUser, String nexusUrl, String nexusPass) {
|
def call(String chartFile, String nexusUrl, String nexusUser, String nexusPass) {
|
||||||
container('maven') {
|
container('maven') {
|
||||||
sh "curl -u ${nexusUser}:${nexusPass} --upload-file ${chartFile} ${nexusUrl}"
|
sh "curl -u ${nexusUser}:${nexusPass} --upload-file ${chartFile} ${nexusUrl}"
|
||||||
echo "Helm chart uploaded: ${chartFile} -> ${nexusUrl}"
|
echo "Helm chart uploaded: ${chartFile} -> ${nexusUrl}"
|
||||||
|
|||||||
Reference in New Issue
Block a user