Skip to content

Commit

Permalink
Add support for Azure DevOps
Browse files Browse the repository at this point in the history
  • Loading branch information
robnewman committed Oct 17, 2023
1 parent e95dad4 commit e7fdcdd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ prov {

List of file patterns to include in the provenance report, from the set of published files. By default, all published files are included.

## Examples

```bash
nextflow run https://bitbucket.org/ORGANIZATION/REPOSITORY_ID -profile docker
nextflow run https://gitlab.com/PROJECT/REPOSITORY_ID -profile docker
nextflow run https://dev.azure.com/ORGANIZATION/PROJECT/REPOSITORY_ID -profile docker
```

## Development

Run the following commands to build and test the nf-prov Nextflow plugin. Refer to the [nf-hello](https://github.com/nextflow-io/nf-hello) README for additional instructions (_e.g._ for publishing the plugin).
Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'nf-prov'
id 'nf-prov@1.2.0'
}

params {
Expand Down
2 changes: 2 additions & 0 deletions plugins/nf-prov/src/main/nextflow/prov/BcoRenderer.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ class BcoRenderer implements Renderer {
return path.replace(projectDir, "${repository}/src/${commitId}")
else if( repository.host == 'gitlab.com' )
return path.replace(projectDir, "${repository}/-/tree/${commitId}")
else if( repository.host == 'dev.azure.com' )
return path.replace(projectDir, "${repository}/_git/${commitId}")
else
return path
}
Expand Down

0 comments on commit e7fdcdd

Please sign in to comment.