public override void DefineParameters(ArgumentSyntax syntax) { base.DefineParameters(syntax); GitOptions.DefineParameters(syntax); AzdoOptions.DefineParameters(syntax); }
public override void DefineParameters(ArgumentSyntax syntax) { base.DefineParameters(syntax); GitOptions.DefineParameters(syntax); string sourceRepoUrl = null; syntax.DefineParameter("source-repo", ref sourceRepoUrl, "Repo URL of the Dockerfile sources"); SourceRepoUrl = sourceRepoUrl; }
public override void DefineParameters(ArgumentSyntax syntax) { base.DefineParameters(syntax); GitOptions.DefineParameters(syntax); string imageInfoPath = null; syntax.DefineParameter( "image-info-path", ref imageInfoPath, "Image info file path"); ImageInfoPath = imageInfoPath; }
public override void DefineParameters(ArgumentSyntax syntax) { base.DefineParameters(syntax); GitOptions.DefineParameters(syntax); string variableName = null; syntax.DefineParameter( "image-paths-variable", ref variableName, "The Azure Pipeline variable name to assign the image paths to"); VariableName = variableName; }
public override void DefineOptions(ArgumentSyntax syntax) { base.DefineOptions(syntax); const string DefaultSubscriptionsPath = "subscriptions.json"; string subscriptionsPath = DefaultSubscriptionsPath; syntax.DefineOption( "subscriptions-path", ref subscriptionsPath, $"Path to the subscriptions file (defaults to '{DefaultSubscriptionsPath}')."); SubscriptionsPath = subscriptionsPath; FilterOptions.DefineOptions(syntax); GitOptions.DefineOptions(syntax); }
public override void DefineOptions(ArgumentSyntax syntax) { base.DefineOptions(syntax); GitOptions.DefineOptions(syntax); }