Hi Guangrong,

Sorry, I thought you were talking about docker builds, but looks like you’re 
talking about maven builds?

For maven build release jobs, it is correct that SNAPSHOT dependencies from 
outside the repo are not allowed.  So, as an example, for 
https://jenkins.onap.org/view/holmes/job/holmes-dsa-master-release-version-java-daily/
 to pass you must depend on a release version of the holmes-actions artifact.

Thanks,
Gary


From: Guangrong Fu [mailto:steven20...@gmail.com]
Sent: Tuesday, September 25, 2018 5:35 PM
To: Gary Wu <gary.i...@huawei.com>
Cc: onap-discuss <onap-discuss@lists.onap.org>; fu.guangr...@zte.com.cn
Subject: Re: [ci-management][integration] Jenkins Job Failure

Gary,

It'll be better for us to retrieve the artifact using its SNAPSHOT version. 
Some use cases are still being tested at the moment. Bugs could rise at any 
time. So changes for holmes-actions are inevitable.

But when I tried to compile other modules using holmes-actions 1.2.0-SNAPSHOT, 
the compiler complains that we are banned from using dependencies versioned as 
'SNAPSHOT'.

If I still want to use the snapshot version of some dependencies, what kind of 
changes shall I make in our Jenkins jobs?

Thanks,
Guangrong

Gary Wu <gary.i...@huawei.com<mailto:gary.i...@huawei.com>>于2018年9月26日周三 
上午12:16写道:
Hi Guangrong,

It depends on what you are trying to do.

If you are ready to release holmes-actions 1.2.0, you need to email LF helpdesk 
to ask that they release that artifact.  Once that’s done, the 1.2.0 artifact 
will become available in the releases repo.

If you’re trying to do some testing with holmes-actions 1.2.0 as a staging 
artifact, then you need to update your job to retrieve that artifact from the 
staging repo.

If you’re actually trying do something using holmes-actions 1.2.0-SNAPSHOT, 
then you need to update your job to retrieve that artifact from the staging 
repo.

Thanks,
Gary

From: Guangrong Fu [mailto:steven20...@gmail.com<mailto:steven20...@gmail.com>]
Sent: Tuesday, September 25, 2018 3:45 AM
To: Gary Wu <gary.i...@huawei.com<mailto:gary.i...@huawei.com>>
Cc: onap-discuss 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>>; 
fu.guangr...@zte.com.cn<mailto:fu.guangr...@zte.com.cn>

Subject: [ci-management][integration] Jenkins Job Failure

Hi Gary,

The daily release jobs for Holmes have been failing for a long time.

Initially, it was because they depended on the snapshot version of the 
'holmes-actions' module. But after I changed the version of the dependency to 
'1.2.0', the compilation failure went on occurring. It seems that the artifact 
'org.onap.holmes.common:holmes-actions:1.2.0' is stored in the staging repo 
rather than the release one.

You could find the artifact at 
https://nexus.onap.org/content/groups/staging/org/onap/holmes/common/holmes-actions/.

The error of the Jenkins job is
[image.png]

Any thoughts about this? What am I supposed to do now?

Thanks a ton in advance.

BR,
Guangrong


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12647): https://lists.onap.org/g/onap-discuss/message/12647
Mute This Topic: https://lists.onap.org/mt/26221836/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to