On 05/04/2017 05:43 AM, Alon Strikovsky wrote: > Guys thank you for your tips, > > One important things the we are missing is the */setting.xml/* that is > assigned to each job. > > I cannot find any trace of how they are built. > > Any tips ? > > > > Alon
Greetings folks, I'm attaching a copy of the content from our global-settings managed config file. For the $project-settings files they are configured as follows: ServerIDs: ecomp-raw ecomp-releases ecomp-snapshots ecomp-site ecomp-staging nexus3.onap.org:10001 -- uid: docker / password: docker nexus3.onap.org:10002 nexus3.onap.org:10003 nexus3.onap.org:10004 In all of the cases, except the nexus3.onap.org:10001, the user attached is the one needed for that particular project to be able to push to our nexus systems The content is the default for a settings file as given by the managed configuration provider plugin. For the various environment variables, I suggest you look at the shipped logs of one of the jobs. There is a build-environment-varisbles.txt.gz file that is a dump of the final rendered environment variables. The ones that are current pushed by jenkins as part of our global configuration are currently: GIT_BASE -- ssh://[email protected]:29418/$PROJECT GIT_NO_PROJECT JENKINS_HOSTNAME LOGS_REPO_URL LOGS_SERVER NEXUSPROXY SILO SONAR (The other settings you can lookup as I suggested, but since GIT_BASE incorporates another variable it was apropos to show how it's actually configured) Please note that the global env vars are updated and modified as our needs change. I know that with some of the work that LF Release Engineering is currently doing to better align the JJB that is used by all projects is going to mean we modify how some of these variables are used as well as what variables are defined. -Andy- -- Andrew J Grimberg Systems Administrator Release Engineering Team Lead The Linux Foundation
<?xml version="1.0" encoding="UTF-8"?> <!-- vi: set et smarttab sw=2 tabstop=2: --> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <mirrors> <mirror> <id>release-mirror</id> <name>Local Nexus mirror for builds</name> <url>${env.NEXUSPROXY}/content/repositories/public/</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors> <profiles> <profile> <id>releases</id> <repositories> <repository> <id>releases</id> <name>releases</name> <url>${env.NEXUSPROXY}/content/repositories/releases/</url> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>releases</id> <name>releases</name> <url>${env.NEXUSPROXY}/content/repositories/releases/</url> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> <profile> <id>staging</id> <repositories> <repository> <id>staging</id> <name>staging</name> <url>${env.NEXUSPROXY}/content/repositories/staging/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> </profile> <profile> <id>snapshots</id> <repositories> <repository> <id>snapshots</id> <name>snapshots</name> <url>${env.NEXUSPROXY}/content/repositories/snapshots/</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>snapshots</id> <name>snapshots</name> <url>${env.NEXUSPROXY}/content/repositories/snapshots/</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles> <activeProfiles> <activeProfile>releases</activeProfile> <activeProfile>staging</activeProfile> <activeProfile>snapshots</activeProfile> </activeProfiles> </settings>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
