-
-
Save jbouse/bd5260e2a7635867f973 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<metadata> | |
<groupId>com.example.myco</groupId> | |
<artifactId>myco-artifact</artifactId> | |
<version>0.0.2-20150909.152320-1</version> | |
<versioning> | |
<snapshot> | |
<timestamp>20150909.152320</timestamp> | |
<buildNumber>1</buildNumber> | |
</snapshot> | |
<lastUpdated>20150909152343</lastUpdated> | |
<snapshotVersions> | |
<snapshotVersion> | |
<extension>pom</extension> | |
<value>0.0.2-20150909.152320-1</value> | |
<updated>20150909152320</updated> | |
</snapshotVersion> | |
<snapshotVersion> | |
<extension>zip</extension> | |
<value>0.0.2-20150909.152320-1</value> | |
<updated>20150909152320</updated> | |
</snapshotVersion> | |
</snapshotVersions> | |
</versioning> | |
</metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This WORKS providing both version and snapshot_version | |
salt-call artifactory.get_snapshot artifactory_url='http://artifactory.example.com/artifactory' repository='myco-snapshots' artifact_id='myco-artifact' group_id='com.example.myco' packaging='zip' version='0.0.2-SNAPSHOT' snapshot_version='0.0.2-20150909.152320-1' | |
# This replicates the artifactory.downloaded call and FAILS as it only passes along version not snapshot_version | |
salt-call artifactory.get_snapshot artifactory_url='http://artifactory.example.com/artifactory' repository='myco-snapshots' artifact_id='myco-artifact' group_id='com.example.myco' packaging='zip' version='0.0.2-SNAPSHOT' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Salt: 2015.5.3 | |
Python: 2.6.6 (r266:84292, Nov 21 2013, 10:50:32) | |
Jinja2: 2.2.1 | |
M2Crypto: 0.20.2 | |
msgpack-python: 0.4.6 | |
msgpack-pure: Not Installed | |
pycrypto: 2.0.1 | |
libnacl: Not Installed | |
PyYAML: 3.10 | |
ioflo: Not Installed | |
PyZMQ: 14.5.0 | |
RAET: Not Installed | |
ZMQ: 4.0.5 | |
Mako: Not Installed | |
Tornado: Not Installed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myco-artifact: | |
artifactory.downloaded: | |
artifact: | |
artifactory_url: http://artifactory.example.com/artifactory | |
repository: 'myco-snapshots' | |
artifact_id: 'myco-artifact' | |
group_id: 'com.example.myco' | |
packaging: 'zip' | |
version: '0.0.2' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment