Please enable JavaScript.
Coggle requires JavaScript to display documents.
CI (JENKINS (Build Trigger (cron job), DSL, SLAVE NODE, downstream/upstrea…
CI
JENKINS
DSL
SLAVE NODE
Build Trigger
cron job
downstream/upstream
Jenkins DSL
(Domain Specific Language)
parallel stages
NEXUS
Integrate Nexus with Maven
Create repo
Provider maven2
Repo Policy = Release/Snapshot
Release Artifact
Disable Redeploy
If New Enhancements = New Release
Snapshot Artifact (Dev & Test Builds)
Allow Redeploy
in pom.xml >> Distribution Management>>
Spring Releases
: Enter Nexus Hosted Release URL
Snapshots for Dev and Test Purpose (Non Prod)
mvn -f pom.xml clean deploy
mvn -f pom.xml -P spring-deploy clean deploy
Authorization
Roles
Privileges
3 type repo
hosted
proxy (Copy from another nexus)
virtual
Artifacts
snapshot
allow redeploy
release
disable redeploy
once released new release, no more redeploy
only one release
next release bad request
Provider
maven
maven can upload
open source
non editable files
backend is directory (flat file system)
bundled code
Check Nexus has Started
/home/ubuntu/nexus-2.14.8-01/logs
SONARQUBE
code coverage report
quality gate (70%)
MAVEN
settings.xml
.me
Run with Profile
mvn -f pom.xml -P spring-deploy clean deploy (only this module gets executed)
-P profile