Set metadatas when using cli (Closes: #1608)

4 jobs for v2.0
Status Job ID Name Coverage
  Build
canceled #10079
build_bionic

canceled #10078
build_buster

canceled #10077
build_stretch

 
  Sign
canceled #10080
sign