update to match betfred
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m56s
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Successful in 1m56s
This commit is contained in:
Generated
+4
-4
@@ -75,7 +75,7 @@ namespace OpenJiraGui
|
|||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
PerformLayout();
|
PerformLayout();
|
||||||
|
|
||||||
Icon icon = Icon.ExtractAssociatedIcon("C:\\Users\\pgeeraert\\OneDrive - Prometheus Group\\Documents\\Code\\OpenJiraGui\\OpenJiraGui\\Icon1.ico");
|
Icon icon = Icon.ExtractAssociatedIcon("Icon1.ico");
|
||||||
|
|
||||||
this.Icon = icon;
|
this.Icon = icon;
|
||||||
|
|
||||||
@@ -99,16 +99,16 @@ namespace OpenJiraGui
|
|||||||
//string userName = Environment.UserName;
|
//string userName = Environment.UserName;
|
||||||
//MessageBox.Show($"You want to access {jira_number}");
|
//MessageBox.Show($"You want to access {jira_number}");
|
||||||
|
|
||||||
string root_url = "https://prometheusgroup.atlassian.net/browse/";
|
string root_url = "https://betfred.atlassian.net/browse/";
|
||||||
string full_url;
|
string full_url;
|
||||||
|
|
||||||
var deploy_task_number = jiraTextBox.Text;
|
var deploy_task_number = jiraTextBox.Text;
|
||||||
|
|
||||||
if (!(deploy_task_number.IndexOf("DEPLOY", 0, StringComparison.OrdinalIgnoreCase) != -1) && !(deploy_task_number.IndexOf("DEVOPS", 0, StringComparison.OrdinalIgnoreCase) != -1) && !(deploy_task_number.IndexOf("DBA", 0, StringComparison.OrdinalIgnoreCase) != -1) && !(deploy_task_number.IndexOf("SRE", 0, StringComparison.OrdinalIgnoreCase) != -1))
|
if (!(deploy_task_number.IndexOf("SGPE", 0, StringComparison.OrdinalIgnoreCase) != -1))
|
||||||
{
|
{
|
||||||
|
|
||||||
Console.WriteLine("no argument in there");
|
Console.WriteLine("no argument in there");
|
||||||
deploy_task_number = "DEPLOY-" + deploy_task_number;
|
deploy_task_number = "SGPE-" + deploy_task_number;
|
||||||
}
|
}
|
||||||
full_url = root_url + deploy_task_number;
|
full_url = root_url + deploy_task_number;
|
||||||
Console.WriteLine($"{Environment.NewLine}I will open, {full_url}!");
|
Console.WriteLine($"{Environment.NewLine}I will open, {full_url}!");
|
||||||
|
|||||||
Reference in New Issue
Block a user