User Tools

Site Tools


toolsandtechnologies:jenkins_2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
toolsandtechnologies:jenkins_2 [2023/06/07 17:37] aryantoolsandtechnologies:jenkins_2 [2023/06/07 17:39] (current) – [Artifactory storage] - fix url redirect aryan
Line 127: Line 127:
 ===== Artifactory storage =====  ===== Artifactory storage ===== 
  
-Artifactory configuration is covered [[artifactory]]+Artifactory configuration is covered [[development:artifactory]]
  
 Each pipeline has a step to push the build suite (war/jar, pom, XML etc) to the artifactory store in  [[http://artifactory2.err:4041/#browse/browse:maven-candidates|Maven Candidate Storage]]. Each application has its own folder, and inside each folder there is a branch folder. These folders are either IDMS, AUTO, Support or Rel- based. Each pipeline has a step to push the build suite (war/jar, pom, XML etc) to the artifactory store in  [[http://artifactory2.err:4041/#browse/browse:maven-candidates|Maven Candidate Storage]]. Each application has its own folder, and inside each folder there is a branch folder. These folders are either IDMS, AUTO, Support or Rel- based.
Line 137: Line 137:
    *- Last 4 REL-    *- Last 4 REL-
  
 +Deployment is covered via
 +<code>
 + stage ('Deploying to candidates repo') {
 +            steps {
 +                nexusPublisher(
 +                        nexusInstanceId: 'nexusArtifactory2',
 +                        nexusRepositoryId: 'maven-candidates',
 +                        packages: [
 +                                [$class: 'MavenPackage',
 +                                 mavenAssetList: [
 +                                         [classifier: '', extension: 'jar', filePath: 'build/libs/elastic-replicator.jar']
 +                                 ],
 +                                 mavenCoordinate: [artifactId: 'elastic-replicator', groupId: 'com.errigal', packaging: 'jar', version: versionNumber]
 +                                ]
 +                        ]
 +                )
 +            }
 +        }
 +</code>
  
 The deployment playbooks should then source the artefact from the repo and not from our dev jenkins with a public IP interface (security risk). The deployment playbooks should then source the artefact from the repo and not from our dev jenkins with a public IP interface (security risk).
toolsandtechnologies/jenkins_2.1686155820.txt.gz · Last modified: 2023/06/07 17:37 by aryan