Here is the new structure.
{
"id": "_wildcard",
"url": "some-nexus-url",
"repository": "some-repository",
"username": "username",
"password": "password
}
2013-12-12 16:27:31 ERROR [qtp1274948595-72] admin org.sonatype.nexus.rest.repositories.RepositoryContentPlexusResource - Got exception during processing request "GET https://localhost/nexus/service/local/repositories/rubygems/content/?isLocal&_dc=1386865652298": | |
java.lang.NullPointerException: null | |
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:191) ~[guava-14.0.1.jar:na] | |
at org.sonatype.nexus.proxy.item.DefaultStorageFileItem.setContentLocator(DefaultStorageFileItem.java:104) ~[nexus-core-2.7.0-04.jar:2.7.0-04] | |
at org.sonatype.nexus.proxy.item.DefaultStorageFileItem.<init>(DefaultStorageFileItem.java:60) ~[nexus-core-2.7.0-04.jar:2.7.0-04] | |
at org.sonatype.nexus.plugins.ruby.fs.RubyFSLocalRepositoryStorage.newItem(RubyFSLocalRepositoryStorage.java:115) ~[na:na] | |
at org.sonatype.nexus.plugins.ruby.fs.RubyFSLocalRepositoryStorage.listItems(RubyFSLocalRepositoryStorage.java:81) ~[na:na] | |
at org.sonatype.nexus.proxy.repository.AbstractRepository.doListItems(AbstractRepository.java:12 |
# https://github.com/RiotGames/nexus_cli | |
def push_artifact | |
... | |
query = {:g => artifact.group_id, :a => artifact.artifact_id, :e => artifact.extension, :v => artifact.version, :r => configuration['repository']} | |
query.merge!({:c => artifact.classifier}) unless artifact.classifier.nil? | |
response = nexus.get(nexus_url("service/local/artifact/maven/redirect"), :query => query) | |
... | |
end |
bool candiesThrownGotChocolateBar=false, bool candyBoxBoxOpened=false, bool castleBigRoomHovenHappy=false, bool castleRoom2LitFire=false, bool castleRoom2TookObject=false, bool castleTowerFirstVisitDone=false, bool castleTowerPStoneDone=false, bool castleTowerLStoneDone=false, bool castleTowerAStoneDone=false, bool castleTowerYStoneDone=false, bool castleTowerTookTalkingCandy=false, bool castleKilledNougatMonster=false, bool cellarDone=true, bool dragonDone=false, bool dragonUnlockedCyclops=false, bool forgeFoundLollipop=false, bool forgeBoughtWoodenSword=true, bool forgeBoughtIronAxe=true, bool forgeBoughtPolishedSilverSword=false, bool forgeBoughtLightweightBodyArmour=false, bool forgeBoughtScythe=false, bool fortressRoom1ChestFound=false, bool fortressRoom3ChestFound=false, bool fourthHouseFoundLollipopOnCupboard=true, bool gameDebug=false, bool gameInvertedColors=false, bool lighthousePuzzleDone=false, bool lollipopFarmPlant1LollipopButtonUnlocked=false, bool lollipopFarmPlant10LollipopsButtonUnlocked=fal |
Bootstrapping Chef on localhost | |
localhost Starting Chef Client, version 11.4.4[0m | |
localhost | |
localhost Creating a new client identity for tig-nexus-server using the validator key.[0m | |
localhost | |
localhost resolving cookbooks for run list: ["apt", "nexus"][0m | |
localhost | |
localhost Synchronizing Cookbooks:[0m | |
localhost | |
localhost - artifact[0m |
Here is the new structure.
{
"id": "_wildcard",
"url": "some-nexus-url",
"repository": "some-repository",
"username": "username",
"password": "password
}
chef:recipe > remote_file "maven.tar.gz" do | |
chef:recipe > source "http://apache.osuosl.org/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz" | |
chef:recipe ?> checksum "adsjflasdjfljladfj" | |
chef:recipe ?> action :create | |
chef:recipe ?> end | |
=> <remote_file[maven.tar.gz] @name: "maven.tar.gz" @noop: nil @before: nil @params: {} @provider: Chef::Provider::RemoteFile @allowed_actions: [:nothing, :create, :delete, :touch, :create_if_missing] @action: [:create] @updated: false @updated_by_last_action: false @supports: {} @ignore_failure: false @retries: 0 @retry_delay: 2 @source_line: "(irb#1):1:in `irb_binding'" @elapsed_time: 0 @resource_name: :remote_file @path: "maven.tar.gz" @backup: 5 @diff: nil @source: "http://apache.osuosl.org/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz" @cookbook: nil @cookbook_name: nil @recipe_name: nil @checksum: "adsjflasdjfljladfj"> | |
chef:recipe > run_chef | |
[2013-05-24T22:16:20+00:00] INFO: Processing remote_file[maven.tar.gz] action create ((irb#1) line 1) | |
[ |
[internal-services|root@nexus01 (16:30:52):timeline]# ls index/ | |
_cctp.fdt _cctp.fdx _cctp.fnm _cctp.frq _cctp.nrm _cctp.prx _cctp.tii _cctp.tis _cctq.cfs _cctr.cfs _ccts.cfs _cctt.cfs _cctu.cfs _cctv.cfs _cctw.cfs segments_azcc segments.gen write.lock |
current_path = "C:/foo" | |
execute ::File.join(current_path, "start_my_thing.bat") do | |
only_if { | |
node[:my_thing][:running] | |
} | |
end | |
# [2013-05-01T17:30:12-07:00] INFO: execute[C:/foo/start_my_thing.bat] ran successfully | |
# MyThing.exe in Task Manager |
diff --git a/lib/ridley/host_connector/winrm/command_uploader.rb b/lib/ridley/host_connector/winrm/command_uploader.rb | |
index 728f7ed..f32b285 100644 | |
--- a/lib/ridley/host_connector/winrm/command_uploader.rb | |
+++ b/lib/ridley/host_connector/winrm/command_uploader.rb | |
@@ -20,23 +20,27 @@ module Ridley | |
CHUNK_LIMIT = 1024 | |
- # @return [String] | |
- attr_reader :command_string |