mirror of https://github.com/jenkinsci/jenkins.git
create directory if not exist
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1020 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
parent
8587ea304e
commit
1d2a02a9c9
|
@ -10,6 +10,7 @@ function checkout() {
|
|||
cp ~/.maven/repository/$groupId/java-sources/$artifactId-$version*.* $groupId/jars
|
||||
|
||||
m2dest=~/.m2/repository/$(echo $groupId | tr '.' '/')/$artifactId/$version
|
||||
mkdir $m2dest || true
|
||||
cp ~/.maven/repository/$groupId/jars/$artifactId-$version*.* $m2dest
|
||||
cp ~/.maven/repository/$groupId/poms/$artifactId-$version*.* $m2dest
|
||||
cp ~/.maven/repository/$groupId/java-sources/$artifactId-$version*.* $m2dest
|
||||
|
|
Loading…
Reference in New Issue