3
동일한 배포가 Windows 및 Linux에서 올바르게 작동하지만 teamcity와 builded를 사용하여 오류가 발생합니다. 지역 배포 한 및 오류는 다음과 같습니다팀 파일의 일부로 war 파일 배포가 실패했습니다.
컨테이너 구성 디렉토리 가 존재하지 않습니다 "/ BuildAgent/일/68d4a71c8dc5cfd9/대상 /화물/구성/tomcat8x". 로컬 배포를 수행하기 전에 컨테이너를 구성하십시오.
치어의 관련 섹션은 다음과 같습니다
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.4.8</version>
<configuration>
<container>
<containerId>tomcat8x</containerId>
<home>${env.CATALINA_HOME}</home>
</container>
<configuration>
<type>existing</type>
<home>${env.CATALINA_HOME}</home>
</configuration>
<deployables>
<deployable>
<groupId>com.myapp</groupId>
<artifactId>ROOT</artifactId>
<type>war</type>
<properties>
<context>${project.build.finalName}</context>
</properties>
</deployable>
</deployables>
<deployer>
<type>installed</type>
</deployer>
</configuration>
</plugin>
내가 우분투에 필요한 치어의 섹션을 놓친 적이 있습니까? 팀워크가 바닐라 메이븐과 다른 점이 있습니까? 두 환경에서 동일한 버전의 maven을 사용하고 있습니다.
아직이를 확인하는 기회가되지 않은 곳,하지만 현상금을 가리키는 것입니다. – NimChimpsky
@NimChimpsky $ {env} 변수의 값을 확인하기 위해 엔드 포인트 시스템에 ssh를 보낼 수 없습니다. – herau
팀워크 외부의 maven이 정상적으로 작동합니다. – NimChimpsky