jmccann / drone-artifactory Goto Github PK
View Code? Open in Web Editor NEWDrone plugin for publishing build artifacts to Artifactory
License: Apache License 2.0
Drone plugin for publishing build artifacts to Artifactory
License: Apache License 2.0
Hi
Just realized that when building multiple jars as modules in a project, using this pipeline definition:
artifactory_deploy:
image: jmccann/drone-artifactory
url: https://artifactory.mydomain.com
username: admin
password: password
pom: pom.xml
files:
- ./**/target/*.jar
Will deploy all the jars under a single parent name in the artifactory. Is there any syntax to allow modules? I tried the context: <folder-of-module>
as most of the drone plugins support it, but with no luck.
<distributionManagement>
<repository>
<id>central</id>
<name>abc-releases</name>
<url>http://artifactory.mydomain.com/artifactory/libs-release-local</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<name>abc-snapshots</name>
<url>http://artifactory.mydomain.com/artifactory/libs-snapshot-local</url>
</snapshotRepository>
</distributionManagement>
<modules>
<module>abc-commons-utils</module>
<module>abc-commons-epc-transcoding</module>
<module>abc-commons-encryption</module>
</modules>
Hi,
your docs state that flat
parameter's default value is set to true
:
flat - Artifacts are uploaded to the exact target path specified and their hierarchy in the source file system is ignored. Default: true
That's not necessarily true. I've tested with Artifactory version 6.8.15 and unless flat
is explicitly specified, system hierarchy is retained.
Otherwise, thanks for great plugin!
Ideally this plugin would add default Artifactory properties like $DRONE_COMMIT_SHA
, $DRONE_REPO_LINK
, and $DRONE_BUILD_NUMBER
. Also, allowing customizable user properties would be a great functionality.
Modeling it a bit after drone-plugins/drone-docker#180 probably makes sense.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.