Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
operator
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
devops
operator
Compare revisions
9c497dd52df5a85047905c56f51e65c146204411 to 73ab2a9fe5e29739b9008243ed420fdc510fac55
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
ozg-cloud/devops/operator
Select target project
No results found
73ab2a9fe5e29739b9008243ed420fdc510fac55
Select Git revision
Swap
Target
ozg-cloud/devops/operator
Select target project
ozg-cloud/devops/operator
1 result
9c497dd52df5a85047905c56f51e65c146204411
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (4)
ozg-7493 add send failure message
· b14b6fd6
Bastian
authored
2 months ago
b14b6fd6
ozg-7493 use send failure message function
· 113d75d3
Bastian
authored
2 months ago
113d75d3
ozg-7493 use ozgcloud-libs
· ca83a60a
Bastian
authored
2 months ago
ca83a60a
Merge branch 'ozg-7493-matrix-benachrichtigung' into 'main'
· 73ab2a9f
Bastian Heppener
authored
2 months ago
ozg-7493 add send failure message See merge request
!1
73ab2a9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Jenkinsfile
+11
-7
11 additions, 7 deletions
Jenkinsfile
with
11 additions
and
7 deletions
Jenkinsfile
View file @
73ab2a9f
...
...
@@ -21,6 +21,8 @@
* Die sprachspezifischen Genehmigungen und Beschränkungen
* unter der Lizenz sind dem Lizenztext zu entnehmen.
*/
@Library
(
'ozgcloud-libs'
)
_
pipeline
{
agent
{
node
{
...
...
@@ -29,6 +31,7 @@ pipeline {
}
environment
{
PIPELINE_NAME
=
"Code-SH: operator"
RELEASE_REGEX
=
/\d+.\d+.\d+/
SNAPSHOT_REGEX
=
/\d+.\d+.\d+-SNAPSHOT/
FAILED_STAGE
=
""
...
...
@@ -207,6 +210,13 @@ pipeline {
}
}
}
post
{
failure
{
script
{
sendMatrixMessage
.
sendFailureMessage
(
FAILED_STAGE
)
}
}
}
}
...
...
@@ -270,12 +280,6 @@ Boolean isReleaseBranch() {
return
env
.
BRANCH_NAME
==
'release'
}
String
getElementAccessToken
()
{
withCredentials
([
string
(
credentialsId:
'element-login-json'
,
variable:
'LOGIN_JSON'
)])
{
return
readJSON
(
text:
sh
(
script:
'''curl -XPOST -d \"$LOGIN_JSON\" https://matrix.ozg-sh.de/_matrix/client/v3/login'''
,
returnStdout:
true
)).
access_token
}
}
Void
doDevRollout
()
{
cloneGitopsRepo
()
setNewOperatorVersion
(
'dev'
)
...
...
@@ -403,4 +407,4 @@ Boolean matchRegexVersion(List versions, String regex) {
}
return
true
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.