diff --git a/ogscm/cli.py b/ogscm/cli.py
index 658cb14f368f7f07e31e015df3f90be127584937..1ee7e91749093aa62676b821db39e836a62941f5 100644
--- a/ogscm/cli.py
+++ b/ogscm/cli.py
@@ -39,7 +39,7 @@ def main():  # pragma: no cover
     cli = Cli_Args()
     args = cli.parse_args()
 
-    if args.jenkins:
+    if args.jenkins or args.gitlab:
         args.ogs = ['off']
     if args.deploy != '':
         args.build = True