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
Compare revisions
0e6ced3c1f9cd6d3d247c32c5e11e081e860c63e to 1169d7f2ff3ee79ba4b18d02edbbeed8e12cc926
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/app/antragraum-proxy
Select target project
No results found
1169d7f2ff3ee79ba4b18d02edbbeed8e12cc926
Select Git revision
Swap
Target
ozg-cloud/app/antragraum-proxy
Select target project
ozg-cloud/app/antragraum-proxy
1 result
0e6ced3c1f9cd6d3d247c32c5e11e081e860c63e
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
ozg-7492 upload sbom
· e05b2382
Bastian
authored
3 months ago
e05b2382
Merge branch 'OZG-7492-sbom-dependency-tracker' into 'main'
· 1169d7f2
Bastian Heppener
authored
3 months ago
ozg-7492 upload sbom See merge request
!1
1169d7f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Jenkinsfile
+25
-6
25 additions, 6 deletions
Jenkinsfile
with
25 additions
and
6 deletions
Jenkinsfile
View file @
1169d7f2
...
...
@@ -28,7 +28,6 @@ pipeline {
}
}
tools
{
go
'go-1.22.0'
}
environment
{
RELEASE_REGEX
=
/v\d+.\d+.\d+/
BETA_REGEX
=
/v\d+.\d+.\d+-beta.\d/
...
...
@@ -82,9 +81,6 @@ tools { go 'go-1.22.0' }
FAILED_STAGE
=
env
.
STAGE_NAME
sh
'''
#export GOPATH so that installed dependencies could be found
export GOPATH=$GOROOT
go mod download
go install \
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \
...
...
@@ -184,8 +180,31 @@ tools { go 'go-1.22.0' }
}
}
}
}
stage
(
'Deploy SBOM to DependencyTrack'
)
{
when
{
anyOf
{
branch
'main'
branch
'release'
}
}
steps
{
script
{
catchError
(
buildResult:
'UNSTABLE'
,
stageResult:
'FAILURE'
)
{
sh
'''
go install github.com/CycloneDX/cyclonedx-gomod/cmd/cyclonedx-gomod@latest
go env -w GOFLAGS=-buildvcs=false
cyclonedx-gomod version
cyclonedx-gomod app -main cmd/antragsraum-proxy/ -output sbom.xml
'''
dependencyTrackPublisher
artifact:
'sbom.xml'
,
projectName:
'antragraum-proxy'
,
projectVersion:
env
.
BRANCH_NAME
,
synchronous:
true
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.