Skip to content

Instantly share code, notes, and snippets.

View steini's full-sized avatar

Daniel Steiner steini

View GitHub Profile
@anna-is-cute
anna-is-cute / README.md
Last active December 22, 2023 09:27
Bamboo IRC Notifications

Bamboo IRC Notifications

Create a new stage. Make sure it runs last. Create a job within this stage. Choose the Script job.

Paste in the shell script below for the script. You may need to change the path of ruby.

For the argument field, insert the following: ${bamboo.buildResultsUrl} ${bamboo.planKey}

@steini
steini / gist:1080282
Created July 13, 2011 13:26
get files in a subfolder using fog
storage = Fog::Storage.new(
:provider => 'AWS',
:aws_access_key_id => 'acces_key_id',
:aws_secret_access_key => 'secret_access_key'
)
puts storage.directories.get('bucket', :prefix => 'folder').files.inspect