Tracker and general tips: global-jjb Migration Tracker
Tips for multicloud gerrit-maven-stage:
1, jjb must be updated with gerrit-maven-stage:
jobs:
- gerrit-maven-stage:
sign-artifacts: true
build-node: centos7-builder-4c-4g
maven-versions-plugin: true
2, Oparent version must be updated to 2.0.0 , Otherwise "sign-artifacts" will fail and jjb log complains something like:
...
<parent>
<groupId>org.onap.oparent</groupId>
<artifactId>oparent</artifactId>
<version>2.0.0</version>
<!--relativePath>../oparent</relativePath-->
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.onap.multicloud.openstack</groupId>
<artifactId>multicloud-openstack-root</artifactId>
<version>1.4.0-SNAPSHOT</version>
<name>multicloud-openstack</name>
...
Uploading org/onap/multicloud/framework/multicloud-framework-artifactbroker-reception-plugins/1.4.0-SNAPSHOT/multicloud-framework-artifactbroker-reception-plugins-1.4.0-20190711.054615-1.pom Traceback (most recent call last): File "/home/jenkins/.local/bin/lftools", line 10, in <module> sys.exit(main()) File "/home/jenkins/.local/lib/python2.7/site-packages/lftools/cli/__init__.py", line 112, in main cli(obj={}) File "/usr/lib/python2.7/site-packages/click/core.py", line 722, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python2.7/site-packages/click/core.py", line 697, in main rv = self.invoke(ctx) File "/usr/lib/python2.7/site-packages/click/core.py", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python2.7/site-packages/click/core.py", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python2.7/site-packages/click/core.py", line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python2.7/site-packages/click/core.py", line 535, in invoke return callback(*args, **kwargs) File "/usr/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func return f(get_current_context(), *args, **kwargs) File "/home/jenkins/.local/lib/python2.7/site-packages/lftools/cli/deploy.py", line 266, in nexus_stage deploy_dir) File "/home/jenkins/.local/lib/python2.7/site-packages/lftools/deploy.py", line 672, in deploy_nexus_stage deploy_nexus(deploy_nexus_url, deploy_dir) File "/home/jenkins/.local/lib/python2.7/site-packages/lftools/deploy.py", line 636, in deploy_nexus pool.map(_deploy_nexus_upload, file_list) File "/usr/lib64/python2.7/multiprocessing/pool.py", line 250, in map return self.map_async(func, iterable, chunksize).get() File "/usr/lib64/python2.7/multiprocessing/pool.py", line 554, in get raise self._value requests.exceptions.HTTPError: Repository is read only Build step 'Execute shell' marked build as failure
Tips for multicloud gerrit-docker-maven-stage:
1, jjb update:
https://gerrit.onap.org/r/c/ci-management/+/91437
2, maven pom update:
https://gerrit.onap.org/r/c/multicloud/framework/+/91438
3, trigger the test:
reply your patches with "stage-release"
4, check the log:
Locate the latest run of "multicloud-xxx-maven-docker-stage-master"
search keywords:
maven-antrun-plugin:1.6:run
maven-deploy-plugin:2.7:deploy