Skip to content

Commit 885a62a

Browse files
Merge pull request #1 from checkmarx-ltd/Version_AddCommentAndAssignUser
Version add comment and assign user
2 parents 681585b + ebb39d2 commit 885a62a

5 files changed

Lines changed: 7 additions & 8 deletions

File tree

CxViewerAction/Helpers/ChangeResultHelper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public static ProjectScanStatuses EditRemark(long resultId, long pathId, string
3737
else {
3838
loginResult.AuthenticationData = loginData;
3939
loginResult.IsSuccesfull = true;
40+
return ProjectScanStatuses.Success;
4041
}
4142

4243
return ProjectScanStatuses.CanceledByUser;

CxViewerAction/Helpers/PerspectiveHelper.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -588,19 +588,17 @@ public static AssignUser[] GetProjectAssignUsers()
588588
return null;
589589
}
590590

591+
CxWSResponseAssignUsers CxWSResponseResults = client.ServiceClient.GetProjectAssignUsersList(loginResult.SessionId, CommonData.ProjectId);
591592
if (CommonData.IsProjectBound)
592593
{
593-
CxWSResponseAssignUsers CxWSResponseResults = client.ServiceClient.GetProjectAssignUsersList(loginResult.SessionId, CommonData.ProjectId);
594594
if (!CxWSResponseResults.IsSuccesfull)
595595
{
596596
// show error message
597597
MessageBox.Show(CxWSResponseResults.ErrorMessage, "Error", MessageBoxButtons.OK);
598598
return null;
599599
}
600-
601-
res = CxWSResponseResults.AssignUsers;
602600
}
603-
601+
res = CxWSResponseResults.AssignUsers;
604602
return res;
605603
}
606604

CxViewerVSIX/CxViewerPackage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace CxViewerVSIX
3434
/// </para>
3535
/// </remarks>
3636
[PackageRegistration(UseManagedResourcesOnly = true)]
37-
[InstalledProductRegistration("#110", "#112", "9.00.4", IconResourceID = 400)] // Info on this package for Help/About
37+
[InstalledProductRegistration("#110", "#112", "9.00.5", IconResourceID = 400)] // Info on this package for Help/About
3838
[ProvideMenuResource("Menus.ctmenu", 1)]
3939
//[ProvideAutoLoad("ADFC4E64-0397-11D1-9F4E-00A0C911004F")]
4040
[Guid(CxViewerPackage.PackageGuidString)]

CxViewerVSIX/source.extension.vsixmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
33
<Metadata>
4-
<Identity Id="ae98c9e5-8e14-4c92-b45a-c4fd24a49123" Publisher="Checkmarx" Version="9.00.4" Language="en-US" />
4+
<Identity Id="ae98c9e5-8e14-4c92-b45a-c4fd24a49123" Publisher="Checkmarx" Version="9.00.5" Language="en-US" />
55
<DisplayName>CxViewer</DisplayName>
66
<Description xml:space="preserve" >Checkmarx Visual Studio Plugin</Description>
77
<MoreInfo>http://www.checkmarx.com</MoreInfo>

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ pipeline {
3838
agent { node { label vmName } }
3939
steps {
4040
script {
41-
fileOperations([folderRenameOperation(source: "${WORKSPACE}\\${JOB_NAME}\\Artifacts\\CxViewerVSIX.vsix", destination: "${WORKSPACE}\\${JOB_NAME}\\Artifacts\\CxViewerVSIX-9.00.4.vsix")])
42-
kit.Upload_To_Artifactory("${WORKSPACE}\\${JOB_NAME}\\Artifacts\\CxViewerVSIX-9.00.4.vsix", "plugins-release-local/com/checkmarx/visual-studio/")
41+
fileOperations([folderRenameOperation(source: "${WORKSPACE}\\${JOB_NAME}\\Artifacts\\CxViewerVSIX.vsix", destination: "${WORKSPACE}\\${JOB_NAME}\\Artifacts\\CxViewerVSIX-9.00.5.vsix")])
42+
kit.Upload_To_Artifactory("${WORKSPACE}\\${JOB_NAME}\\Artifacts\\CxViewerVSIX-9.00.5.vsix", "plugins-release-local/com/checkmarx/visual-studio/")
4343
}
4444
}
4545
}

0 commit comments

Comments
 (0)