jenkins , ant ctomcat+shell报ant: command not foun.
2015-09-06 17:52
543 查看
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0 #
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
JAVA_HOME=/usr/local/java/jdk1.7.0_51
export JENKINS_HOME="home/jenkins-home"
在catalina.sh中加入以上代码,否则ant编译出错!提示命令找不到
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0 #
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
JAVA_HOME=/usr/local/java/jdk1.7.0_51
export JENKINS_HOME="home/jenkins-home"
在catalina.sh中加入以上代码,否则ant编译出错!提示命令找不到
相关文章推荐
- Win7(64)+eclipse(64)+tomcat7(64)+jdk7(64)开发环境配置
- Puppet 部署tomcat
- tomcat内存调试
- Tomcat 启动端口冲突异常
- Eclipse 导入外部项目无法识别为web项目并且无法在部署到tomcat下
- Tomcat中常见线程说明
- tomcat记录控制台输出信息至文件
- tomcat实现SSL认证
- Nginx+Tomcat 实现负载均衡(Windows单机测试)
- 《how tomcat work》 搬运工 Chapter 9: Session Management
- linux tomcat创建文件夹乱码(显示:???)
- 安装版的tomcat6.0 内存设置【tomcat6.0内存溢出】
- tomcat绿色版及安装版修改内存大小的方法
- tomcat 域名解析
- tomcat如何避免遭遇ClassNotFoundException
- tomcat7-maven-plugin启动maven项目异常
- Linux下安装Tomcat服务器和部署Web应用
- 简单搭建Nginx+Tomcat负载均衡群集
- tomcat配置文件server.xml详解
- 使用JDK自带jvisualvm监控tomcat