References
...
Key-Level Comparison CPS and NCMP-DMI-Plugin from CI Management
Project.name (CPS) | Project.name (NCMP-DMI-Plugin) | Key | Value in cps.yaml | Value in cps-ncmp-dmi-plugin.yaml |
---|
cps-java17
| cps-ncmp-dmi-plugin-java17
| mvn-snapshot-id
| Neither key nor value is available | "ecomp-snapshots"
|
cps-java17
| cps-ncmp-dmi-plugin-java17
| nexus-snapshot-repo
| Neither key nor value is available | "snapshots"
|
cps-sonar | cps-ncmp-dmi-plugin-sonar | cron | @daily | Not present |
Origin Project Structure (CPS)
...
Code Block |
---|
(root: ncmp-dmi-plugin)
├── src/main/java/org/onap/cps/ncmp/dmi/
│ └── ...
└── pom.xml |
Last Successful Merge Job Log:
cps-ncmp-dmi-plugin-maven-merge-master #1333 Console (Jenkins)
...
Outcome:
After this change, the merge job began failing.
Logs for Failure:
Console Log for cps-ncmp-dmi-plugin-maven-merge-master #1334(Jenkins)
...
DMI Version: 1.6.0-SNAPSHOT
Current Status:
The merge job is still failing.
Code Block |
---|
|
(root: ncmp-dmi-plugin)
├── dmi-service/
│ ├── src/main/java/org/onap/cps/ncmp/dmi/
│ │ └── ...
│ └── pom.xml
├── dmi-plugin-demo-and-csit-stub/
│ ├── dmi-plugin-demo-and-csit-stub-app/
│ │ ├── src/main/java/org/onap/cps/ncmp/dmi/rest/stub
│ │ │ └── ...
│ │ └── pom.xml
│ ├── dmi-plugin-demo-and-csit-stub-service/
│ │ ├── src/main/java/org/onap/cps/ncmp/dmi/rest/stub
│ │ │ └── ...
│ │ └── pom.xml
│ └── pom.xml
└── pom.xml |
...
DMI Version: 1.6.0-SNAPSHOT
Current Status:
The merge job is still failing.
Code Block |
---|
|
(root: ncmp-dmi-plugin)
├── dmi-service/
│ ├── src/main/java/org/onap/cps/ncmp/dmi/
│ │ └── ...
│ └── pom.xml
├── dmi-stub/
│ ├── dmi-stub-app/
│ │ ├── src/main/java/org/onap/cps/ncmp/dmi/rest/stub
│ │ │ └── ...
│ │ └── pom.xml
│ ├── dmi-stub-service/
│ │ ├── src/main/java/org/onap/cps/ncmp/dmi/rest/stub
│ │ │ └── ...
│ │ └── pom.xml
│ └── pom.xml
└── pom.xml |
...
DMI Version: 1.6.0-SNAPSHOT
Current Status:
The merge job is still failing.
Code Block |
---|
|
(root: ncmp-dmi-plugin)
├── dmi-service/
│ ├── src/main/java/org/onap/cps/ncmp/dmi/
│ │ └── ...
│ └── pom.xml
└── pom.xml |
...
Expand |
---|
title | Upload files to Nexus (Failed to upload to Nexus with status code: 403) |
---|
|
Code Block |
---|
09:56:31 -----> Upload files to Nexus
09:56:32 #######################################################
09:56:32 Deploying directory /w/workspace/cps-ncmp-dmi-plugin-maven-merge-master/m2repo to https://nexus.onap.org/content/repositories/snapshots
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml (667.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml.sha1 (40.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml.md5 (32.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml (608.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom (8.76 kb)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom.sha1 (40.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom.md5 (32.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.sha1 (40.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.md5 (32.0 b)
09:56:32 Attempting to upload org/onap/cps/dmi-service/maven-metadata.xml (283.0 b)
09:56:32 Attempting to upload org/onap/cps/dmi-service/maven-metadata.xml.sha1 (40.0 b)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/maven-metadata.xml: Failed to upload to Nexus with status code: 403.
09:56:32
09:56:32 org/onap/cps/dmi-service/maven-metadata.xml
09:56:32 Attempting to upload org/onap/cps/dmi-service/maven-metadata.xml.md5 (32.0 b)
09:56:32 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom (27.54 kb)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/maven-metadata.xml.md5: Failed to upload to Nexus with status code: 403.
09:56:32
09:56:32 org/onap/cps/dmi-service/maven-metadata.xml.md5
09:56:32 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.sha1 (40.0 b)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/maven-metadata.xml.sha1: Failed to upload to Nexus with status code: 403.
09:56:32
09:56:32 org/onap/cps/dmi-service/maven-metadata.xml.sha1
09:56:32 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.md5 (32.0 b)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom: Failed to upload to Nexus with status code: 403.
09:56:32
09:56:32 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom
09:56:32 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar (63.14 mb)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.sha1: Failed to upload to Nexus with status code: 403.
09:56:32
09:56:32 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.sha1
09:56:32 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.sha1 (40.0 b)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.md5: Failed to upload to Nexus with status code: 403.
09:56:32
09:56:32 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.md5
09:56:33 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.md5 (32.0 b)
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.sha1: Failed to upload to Nexus with status code: 403.
09:56:33
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.sha1
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.md5: Failed to upload to Nexus with status code: 403.
09:56:33
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.md5
09:56:33 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml (773.0 b)
09:56:33 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.sha1 (40.0 b)
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml: Failed to upload to Nexus with status code: 403.
09:56:33
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml
09:56:33 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5 (32.0 b)
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.sha1: Failed to upload to Nexus with status code: 403.
09:56:33
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.sha1
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5: Failed to upload to Nexus with status code: 403.
09:56:33
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar: Failed to upload to Nexus with status code: 403.
09:56:33
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml.sha1
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml.md5
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom.sha1
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom.md5
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.sha1
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.md5
09:56:33 ERROR: Failed to upload to Nexus with status code: 403.
09:56:33
09:56:33 org/onap/cps/dmi-service/maven-metadata.xml
09:56:33 Build step 'Execute shell' marked build as failure |
|
...
Build NCMP-DMI-Plugin
...
and publish it to a local repository
Step 1: Checkout Source Code from Git Repository
...