workflow.revision and workflow.commitId return "null" #3155
-
Hi, I'm running a workflow locally and would like to use However, when I run my workflow both of these properties always return "null". Why is this? Is this the expected behaviour? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
These properties are null if the pipeline is executed without a protocol at the beginner. I mean, if I have a git repository
to
without the protocol, the directory is used as a local project but when the protocol is specified it's loaded via git and you can access to these properties |
Beta Was this translation helpful? Give feedback.
These properties are null if the pipeline is executed without a protocol at the beginner.
I mean, if I have a git repository
myrepo
in my local, it's different to runnextflow run ./myrepo
to
nextflow run file:///home/jorge/nextflow/myrepo
without the protocol, the directory is used as a local project but when the protocol is specified it's loaded via git and you can access to these properties