내 Artifactory 인스턴스에 게시하기 위해 Artifactory Gradle 플러그인을 사용하려고합니다.컨텍스트 URL을 비워 둘 수 없습니다. Artifactory Gradle Plugin
localhost : 8081/artifactory에서 실행되는 최신 버전 (기본 설치)이 있습니다. 나는 이것을 웹 브라우저를 통해 확인할 수있다.
그러나, 나는 "컨텍스트 URL을 얻고있다 .. 내 최소한의 예와 내가 모든 필수 요구 Artifactory 구성 설정을 지정한 오류
주를 찾을 수 없습니다 -합니다 (Artifactory Gradle을에 표시된대로 컨텍스트 URL을 포함한 웹 페이지) ....
buildscript {
repositories{ maven { url 'http://repo.jfrog.org/artifactory/gradle-plugins' } }
dependencies{ classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:2.0.12'}
}
apply plugin: 'artifactory'
artifactory {
contextUrl = 'http://localhost:8081/artifactory' //The base Artifactory URL if not overridden by the publisher/resolver
publish {
repository {
repoKey = 'integration-libs' //The Artifactory repository key to publish to
username = 'admin' //The publisher user name
password = 'password'
}
}
resolve {
repository {
repoKey = 'libs-releases' //The Artifactory (preferably virtual) repository key to resolve from
}
}
}
어떤 버전의 Gradle를 사용하십니까? – noamt
또한 버그 일 수 있으므로 게시 및 해결 섹션에서 컨텍스트 URL을 지정해 볼 수 있습니까? – noamt
Gradle의 최신 버전 (마일스톤 9) .. 해당 artifactory 플러그인과 함께. – vicsz