Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aggregation-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
app
aggregation-manager
Commits
9e8057a9
Commit
9e8057a9
authored
1 month ago
by
Martin
Browse files
Options
Downloads
Patches
Plain Diff
remove "-" from helm chart file name
parent
f6976b2f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Jenkinsfile
+1
-1
1 addition, 1 deletion
Jenkinsfile
with
1 addition
and
1 deletion
Jenkinsfile
+
1
−
1
View file @
9e8057a9
...
...
@@ -317,7 +317,7 @@ String getElementAccessToken() {
Void
deployHelmChart
(
String
helmChartName
,
String
helmChartVersion
)
{
withCredentials
([
usernamePassword
(
credentialsId:
'jenkins-nexus-login'
,
usernameVariable:
'USERNAME'
,
passwordVariable:
'PASSWORD'
)]){
if
(
env
.
BRANCH_NAME
==
'release'
)
{
result
=
sh
script:
'''curl -u $USERNAME:$PASSWORD https://nexus.ozg-sh.de/service/rest/v1/components?repository=ozg-base-apps -F file=@
-
'''
+
helmChartName
+
'''-'''
+
helmChartVersion
+
'''.tgz'''
,
returnStdout:
true
result
=
sh
script:
'''curl -u $USERNAME:$PASSWORD https://nexus.ozg-sh.de/service/rest/v1/components?repository=ozg-base-apps -F file=@'''
+
helmChartName
+
'''-'''
+
helmChartVersion
+
'''.tgz'''
,
returnStdout:
true
}
else
{
result
=
sh
script:
'''curl -u $USERNAME:$PASSWORD https://nexus.ozg-sh.de/service/rest/v1/components?repository=ozg-base-apps-snapshot -F file=@'''
+
helmChartName
+
'''-'''
+
helmChartVersion
+
'''.tgz'''
,
returnStdout:
true
...
...
This diff is collapsed.
Click to expand it.
Krzysztof Witukiewicz
@krzysztof
mentioned in commit
030a6ffb
·
1 month ago
mentioned in commit
030a6ffb
mentioned in commit 030a6ffb220cec0468a4232d562b067457f8a589
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment