https://github.com/nikitaignatov/octopus-artifact-loader
Loads artifacts from octopus based on the release version
https://github.com/nikitaignatov/octopus-artifact-loader
deployment octopus octopus-deploy
Last synced: 10 months ago
JSON representation
Loads artifacts from octopus based on the release version
- Host: GitHub
- URL: https://github.com/nikitaignatov/octopus-artifact-loader
- Owner: nikitaignatov
- License: mit
- Created: 2016-05-20T06:59:48.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-20T07:36:38.000Z (about 10 years ago)
- Last Synced: 2025-06-21T18:09:18.618Z (12 months ago)
- Topics: deployment, octopus, octopus-deploy
- Language: F#
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Octopus artifact loader
Ocotpus makes it possible to collect files on the server during deployment, they will be stored as artifacts.
In the octopus documentation you can find more details about how to collect artifacts http://docs.octopusdeploy.com/display/OD/Artifacts
Then after release process is complete, artifacts can be downloaded via api.
This script is using F# JsonType provider to load the artifacts from the api based on the current release version.
version = args 1 // "2.6.0-release"
key = args 2 // "API-YOURKEY"
server = args 3 // "https://server"
artifactName = args 4 // "dump.xml"
output = args 5 // "dump\file-2.6.0.xml"
From command line execute with fsi.exe
fsi loader.fsx "2.6.0-release" "API-YOURKEY" "https://your.server/" "dump.xml" "dump\integration-test.xml"