This job uploads snapshots: https://github.com/apache/beam/blob/master/.test-infra/jenkins/job_Release_NightlySnapshot.groovy
The place in Beam's Gradle build that sets up the credentials is: https://github.com/apache/beam/blob/master/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy#L573 Kenn On Sun, Apr 21, 2019 at 4:45 PM Antoine Toulme <anto...@toulme.name> wrote: > I’ll take any idea. I looked at the beam builds, nothing in there seems to > be uploading snapshots? > > It might be time to move to Maven to fit the mold. > > > On Apr 18, 2019, at 3:06 PM, Kenneth Knowles <k...@apache.org> wrote: > > > > Beam pushed daily snapshots to nexus until the change where our (donated) > > Jenkins executors were moved outside of Infra's purview. Beam migrated > from > > Maven to Gradle while maintaining the functionality. I don't know if > > anything special had to be done. Added Yifan who I think knows the most > > about this. > > > > Kenn > > > > On Wed, Apr 17, 2019 at 10:23 AM Antoine Toulme <anto...@toulme.name> > wrote: > > > >> Hello all, > >> > >> I have managed to push to repository.apache.org a snapshot from my > >> machine and want to automate this as part of CI. > >> > >> It looks like Maven is leveraging the ~/.m2/settings.xml file which > >> contains the credentials of the Jenkins user to push binaries to the > >> snapshot repository. Is that correct? > >> If so, is there any way I can leverage that file? I would read the XML > and > >> extract the credentials, but I’m pretty sure you used a symmetric key to > >> encrypt the LDAP password. > >> > >> Are there other projects using Gradle to push binaries to nexus? > >> > >> Cheers, > >> > >> Antoine > >