Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
antragraum-proxy
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
antragraum-proxy
Commits
4f8e824b
Commit
4f8e824b
authored
5 months ago
by
Martin
Browse files
Options
Downloads
Patches
Plain Diff
OZG-7324 adjust JenkinsFile
parent
edd8c746
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Jenkinsfile
+7
-7
7 additions, 7 deletions
Jenkinsfile
with
7 additions
and
7 deletions
Jenkinsfile
+
7
−
7
View file @
4f8e824b
...
...
@@ -123,7 +123,7 @@ tools { go 'go-1.22.0' }
tagAndPushDockerImage
(
'antragraum-proxy'
,
IMAGE_TAG
)
if
(
env
.
BRANCH_NAME
==
'master'
)
{
if
(
isMainBranch
()
)
{
tagAndPushDockerImage
(
'antragraum-proxy'
,
'snapshot-latest'
)
}
else
if
(
env
.
BRANCH_NAME
==
'release'
)
{
...
...
@@ -153,7 +153,7 @@ tools { go 'go-1.22.0' }
stage
(
'Trigger Dev rollout'
)
{
when
{
branch
'ma
ster
'
branch
'ma
in
'
}
steps
{
script
{
...
...
@@ -228,8 +228,8 @@ String buildVersionName() {
String
getBuildProfile
()
{
if
(
isMa
ster
Branch
())
{
return
"-P ma
ster
"
if
(
isMa
in
Branch
())
{
return
"-P ma
in
"
}
else
if
(
isReleaseBranch
())
{
return
"-P release"
}
else
{
...
...
@@ -333,8 +333,8 @@ Boolean hasAntragraumProxyValuesFileChanged(String environment) {
return
sh
(
script:
"git status | grep '${environment}/application/values/antragraum-proxy-values.yaml'"
,
returnStatus:
true
)
==
env
.
SH_SUCCESS_STATUS_CODE
as
Integer
}
Boolean
isMa
ster
Branch
()
{
return
env
.
BRANCH_NAME
==
'ma
ster
'
Boolean
isMa
in
Branch
()
{
return
env
.
BRANCH_NAME
==
'ma
in
'
}
Boolean
isReleaseBranch
()
{
...
...
This diff is collapsed.
Click to expand it.
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