debugo
This commit is contained in:
6
vars/uploadHelmChart.groovy
Normal file
6
vars/uploadHelmChart.groovy
Normal file
@@ -0,0 +1,6 @@
|
||||
def call(String chartFile, String nexusUrl, String nexusUser, String nexusPass) {
|
||||
container('maven') {
|
||||
sh 'curl -u ${nexusUser}:${nexusPass} --upload-file ${chartFile} ${nexusUrl}'
|
||||
echo "Helm chart uploaded: ${chartFile} -> ${nexusUrl}"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user