kubesphere/ks-jenkins

A temporary maven settings.xml file to build ks-jenkins

LinuxSuRen opened this issue · 3 comments

ks-jenkins still depend on some plugins which are not released to Jenkins Community. So it still needs a private maven settings.xml file. In case of anyone wants to build it, please see it below:

Please not forget to modify the username/password.

<settings>
  <servers>
     <server>
      <id>github-a</id>
      <username>your-github-id</username>
      <password>your-github-token</password>
    </server>
  </servers>
  <activeProfiles>
    <activeProfile>github</activeProfile>
  </activeProfiles>
  <profiles>
    <profile>
      <id>github</id>
      <repositories>
        <repository>
          <id>central</id>
          <url>https://repo1.maven.org/maven2</url>
          <releases><enabled>true</enabled></releases>
          <snapshots><enabled>true</enabled></snapshots>
        </repository>
        <repository>
          <id>github-a</id>
          <name>GitHub OWNER Apache Maven Packages</name>
          <url>https://maven.pkg.github.com/LinuxSuRen/jenkins-build-monitor-plugin</url>
        </repository>
      </repositories>
    </profile>
  </profiles>
</settings>

See also

artifactId: build-monitor-plugin

After cleaning ~/.m2/repository/, it works.

I suggest pinning the top of this issue.

I suggest pinning the top of this issue.

Good idea.

By the way, we need to find a way to figure out how to fix this issue.