kubesphere / devops-agent

Agents for Kubesphere DevOps
Apache License 2.0
64 stars 76 forks source link

Add JAVA_HOME into env & fix the broken links of maven and ant #6

Closed LinuxSuRen closed 3 years ago

LinuxSuRen commented 3 years ago

Firstly, I need to say sorry about this PR. I didn't notice that I created a branch from kubesphere instead of my personal account.

I did two things here.

➜  kubesphere export MAVEN_VERSION=3.5.3
➜  kubesphere export ANT_VERSION=1.10.7

➜  kubesphere curl -I -L -v http://central.maven.org/maven2/org/apache/maven/apache-maven/$MAVEN_VERSION/apache-maven-$MAVEN_VERSION-bin.tar.gz
* Could not resolve host: central.maven.org
* Closing connection 0
curl: (6) Could not resolve host: central.maven.org

➜  kubesphere curl -I -L http://www.us.apache.org/dist//ant/binaries/apache-ant-${ANT_VERSION}-bin.tar.gz
HTTP/1.1 302 Found
Date: Mon, 28 Dec 2020 11:59:54 GMT
Server: Apache/2.4.18 (Ubuntu)
Location: https://downloads.apache.org/ant/binaries/apache-ant-1.10.7-bin.tar.gz
Cache-Control: max-age=3600
Expires: Mon, 28 Dec 2020 12:59:54 GMT
Content-Type: text/html; charset=iso-8859-1

HTTP/1.1 404 Not Found
Date: Mon, 28 Dec 2020 11:59:56 GMT
Server: Apache
Content-Type: text/html; charset=iso-8859-1
shaowenchen commented 3 years ago

/lgtm /approve

ks-ci-bot commented 3 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LinuxSuRen, shaowenchen

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubesphere/devops-agent/blob/master/OWNERS)~~ [shaowenchen] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment