https://github.com/sharpliner/jfrog-extensions
Extension library for Sharpliner that adds JFrog tasks
https://github.com/sharpliner/jfrog-extensions
azure-devops azure-devops-pipelines azure-pipelines jfrog-artifactory yaml
Last synced: about 2 months ago
JSON representation
Extension library for Sharpliner that adds JFrog tasks
- Host: GitHub
- URL: https://github.com/sharpliner/jfrog-extensions
- Owner: sharpliner
- License: mit
- Created: 2025-01-12T10:19:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-18T09:41:03.000Z (over 1 year ago)
- Last Synced: 2025-02-22T11:43:59.105Z (over 1 year ago)
- Topics: azure-devops, azure-devops-pipelines, azure-pipelines, jfrog-artifactory, yaml
- Language: C#
- Homepage:
- Size: 55.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JFrog extension for Sharpliner
Extension library for [Sharpliner](https://github.com/sharpliner/sharpliner) that adds tasks from the [JFrog Azure DevOps extension](https://github.com/jfrog/jfrog-azure-devops-extension).
## Example usage
```cs
Steps =
[
JFrog.GenericArtifacts.Download("Artifactory")
.TaskConfiguration("""
{
"files": [
{
"pattern": "libs-generic-local/*.zip",
"target": "dependencies/files/"
}
]
}
"""),
JFrog.GenericArtifacts.Upload("Artifactory")
.TaskConfiguration("""
""") with
{
CollectBuildInfo = true,
BuildName = "MyBuildName",
BuildNumber = "1.0.0",
FailNoOp = true,
},
JFrog.PublishBuildInfo("Artifactory") with
{
BuildName = "MyBuildName",
BuildNumber = "1.0.0",
ProjectKey = "MyProject",
ExcludeEnvVars = "*password*;*secret*"
}
]
```
snippet source | anchor