In buildconfig, detect current branch and it's remote url as defaults.

This commit is contained in:
Ratnadeep Debnath
2016-12-28 17:00:33 +05:30
parent 875c7d95dc
commit a1797a8d07
3 changed files with 44 additions and 8 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ func ConvertOpenShiftCommand() cli.Command {
},
cli.StringFlag{
Name: "build-branch",
Value: "master",
Value: "",
Usage: "Specify repository branch to use for buildconfig (default master)",
EnvVar: "BUILDBRANCH",
},