Skip to content

Commit

Permalink
add --module flag to jf rt bad
Browse files Browse the repository at this point in the history
  • Loading branch information
sarao1310 committed Jul 17, 2023
1 parent 17d4a89 commit 35bad06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion utils/cliutils/commandsflags.go
Original file line number Diff line number Diff line change
Expand Up @@ -1669,7 +1669,7 @@ var commandFlags = map[string][]string{
envInclude, envExclude, InsecureTls, project,
},
BuildAddDependencies: {
specFlag, specVars, uploadExclusions, badRecursive, badRegexp, badDryRun, project, badFromRt, serverId,
specFlag, specVars, uploadExclusions, badRecursive, badRegexp, badDryRun, project, badFromRt, serverId, module,
},
BuildAddGit: {
configFlag, serverId, project,
Expand Down
2 changes: 1 addition & 1 deletion utils/cliutils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ func CreateBuildConfiguration(c *cli.Context) *artifactoryUtils.BuildConfigurati
buildNameArg = ""
buildNumberArg = ""
}
buildConfiguration.SetBuildName(buildNameArg).SetBuildNumber(buildNumberArg).SetProject(c.String("project"))
buildConfiguration.SetBuildName(buildNameArg).SetBuildNumber(buildNumberArg).SetProject(c.String("project")).SetModule(c.String("module"))
return buildConfiguration
}

Expand Down

0 comments on commit 35bad06

Please sign in to comment.