diff --git a/README.md b/README.md index e4da46a..371d802 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/nextflow.config b/nextflow.config index 6219b1b..71bb79c 100644 --- a/nextflow.config +++ b/nextflow.config @@ -1,5 +1,5 @@ plugins { - id 'nf-prov' + id 'nf-prov@1.2.0' } params { diff --git a/plugins/nf-prov/src/main/nextflow/prov/BcoRenderer.groovy b/plugins/nf-prov/src/main/nextflow/prov/BcoRenderer.groovy index 1fa4eae..da1f04f 100644 --- a/plugins/nf-prov/src/main/nextflow/prov/BcoRenderer.groovy +++ b/plugins/nf-prov/src/main/nextflow/prov/BcoRenderer.groovy @@ -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 }