An open API service indexing awesome lists of open source software.

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

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