Hi!

After a few trials and errors, I've finally been able to use Jenkins
pipeline
<https://ci-builds.apache.org/blue/organizations/jenkins/Gora%2Fgora-pipeline/activity>
to deploy SNAPSHOTs to Nexus!

Our Jenkinsfile - on master branch of Apache Gora repository - describe a
"Deploy Snaphots" stage which is executed at end of our pipeline. You can
check in latest (#20) build its Deploy snapshots
<https://ci-builds.apache.org/blue/organizations/jenkins/Gora%2Fgora-pipeline/detail/master/20/pipeline/61>
execution.
This stage contains a simple "mvn--activate-profiles release -DskipTests
deploy" step in order to trigger standard Maven upload capabilties + active
our custom "release" profile.

On Nexus side, gora-core/1.0-SNAPSHOT/maven-metadata.xml
<https://repository.apache.org/service/local/repositories/snapshots/content/org/apache/gora/gora-core/1.0-SNAPSHOT/maven-metadata.xml>
and related files seems properly updated and artifacts uploaded. AFAICT, it
use a "ci-hudson" account which is automatically setup by Jenkins side.

For the record, I also had to apply some changes (on master) outside the
scope my initial target
1. Exclude org.apache.gora.benchmark.generated package from Javadoc
<https://github.com/apache/gora/commit/bd843c2cb4432d7a03185e1932e2e1c82e10ecc4>
2. Remove outdated maven.restlet.org repository (not updated anymore
<https://github.com/apache/gora/commit/705d3b5fa75b3028d43c9214b9bd3453e1d40c00>

Regards,
<https://github.com/apache/gora/commit/705d3b5fa75b3028d43c9214b9bd3453e1d40c00>

Le dim. 28 mars 2021 à 12:08, Alfonso Nishikawa <alfonso.nishik...@gmail.com>
a écrit :

> Hi, Damien!
>
> Thank you!
> What I am interested in is having the snapshots being publish to
> https://repository.apache.org . The last snapshot uploaded seems to be
> from 19th June 2020 :(
>
> It would be great to have it in the multibranch pipeline (though filtered
> only for master). Lewis configured one job based on other project. Thanks
> for the documentation! I will read it, but I really don't know anything
> about Jenkins. In fact, I assumed it would be needed some type of
> user/pass/authentication and I see that no configuration specifies it... :/
> (so, I actually don't understand much what's going on under the hood :P)
>
> Regards,
>
> Alfonso Nishikawa
>
>
>
> El sáb, 27 mar 2021 a las 22:02, Damien Raude-Morvan (<draz...@drazzib.com>)
> escribió:
>
>> Hi Alfonso !
>>
>> Le sam. 27 mars 2021 à 21:36, Alfonso Nishikawa <
>> alfonso.nishik...@gmail.com>
>> a écrit :
>>
>> > Right now I see that CouchDB fails
>> >
>> >
>> org.apache.gora.couchdb.store.TestCouchDBStore.org.apache.gora.couchdb.store.TestCouchDBStore
>> >
>> > Can't get Docker image: RemoteDockerImage(imageName=couchdb:1.6.1,
>> > imagePullPolicy=DefaultPullPolicy())
>> > Caused by: com.github.dockerjava.api.exception.NotFoundException:
>> > {"message":"No such image: testcontainersofficial/ryuk:0.3.0"}
>> >
>>
>> I've created GORA-674 <https://issues.apache.org/jira/browse/GORA-674>
>> for
>> this particular issu. As described in JIRA, it seems to be linked to a
>> change in Docker Runtime API and testcontainers 1.14.
>>
>> I'll submit a fix soon.
>>
>> Regards,
>> --
>> Damien
>>
>

-- 
Damien

Reply via email to