Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3570 commits
Select commit Hold shift + click to select a range
baf95a4
avoid too many return statements
Jul 25, 2023
1d7190c
revert publishOpenTextTestResults to publishMicroFocusTestResults per…
Jul 26, 2023
18d9911
Merge branch 'dev2' into rebranding
Jul 27, 2023
a86c860
improve the Save props file retry mechanism, print more logs
Aug 2, 2023
9231099
Fix codeclimate warning: Extract this nested ternary operation into a…
Aug 2, 2023
21556c3
DEF-1047117 [Jenkins][ALM Lab]Jenkins plugin does not work with ALM 1…
Aug 2, 2023
dc88c8a
Update README.md
jay-hershkowitz Aug 9, 2023
2eb7949
JENKINS-71831 Changed a way to update cookies. Use cookie manager.
Roy-Lu Aug 15, 2023
3bd0e34
Defect #2165116: [CENTER]- Cannot create new pipelines -[Jenkins plug…
bbokhonko-mf Aug 16, 2023
c789c90
Merge pull request #284 from bbokhonko-opentext/octane-dev-latest
nissimshitrit Aug 17, 2023
d08abb9
Merge pull request #607 from MicroFocus/octane-dev-latest
andreibangau99 Aug 17, 2023
f0a6e54
[maven-release-plugin] prepare release opentext-application-automatio…
Aug 17, 2023
43aabaa
[maven-release-plugin] prepare for next development iteration
Aug 17, 2023
16fd672
update doc to use digital-lab instead of uft-mobile, and fix error me…
Aug 21, 2023
3342e33
use URL instead of url
Aug 22, 2023
b112177
Merge pull request #605 from jay-hershkowitz/latest-1
andreibangau99 Aug 23, 2023
91801f1
Merge pull request #601 from dorin7bogdan/rebranding
andreibangau99 Aug 23, 2023
2fcc624
Merge pull request #606 from Roy-Lu/JENKINS-71831
andreibangau99 Aug 24, 2023
6d78fb8
Merge pull request #603 from dorin7bogdan/retrySaveProps
andreibangau99 Aug 24, 2023
fb3a1db
Merge branch 'latest' into dev
Aug 24, 2023
723688e
Merge branch 'latest' into dev
Aug 24, 2023
76da56d
Merge pull request #604 from dorin7bogdan/dev
andreibangau99 Aug 24, 2023
9f90248
JENKINS-71888 Upload attach also for updating test set.
Roy-Lu Aug 25, 2023
124a447
Merge pull request #609 from Roy-Lu/JENKINS-71888
andreibangau99 Aug 28, 2023
77037b8
Merge pull request #597 from mawinter69/forward-compatibility
andreibangau99 Aug 28, 2023
9630acb
US-1082015 [Jenkins][Docker] - Get the plugin of UFT from Jenkins to …
Aug 28, 2023
dbb09df
changes:
danieldanan Aug 29, 2023
c94554c
DEF-1086004 [Jenkins][Mobile]Digital Lab settings in UFTOne is used i…
Aug 29, 2023
2fcce00
fix compile errors in HpToolsLauncherTests
Aug 29, 2023
908ba6b
Merge pull request #611 from dorin7bogdan/docker0
andreibangau99 Aug 29, 2023
e213966
changes:
danieldanan Aug 30, 2023
ec0455f
Change: excluding jackson-databind transitive dependency from plugin-…
danieldanan Aug 30, 2023
6cf29ed
Merge pull request #612 from danieldanan/latest
andreibangau99 Aug 30, 2023
7dab3e1
DEF-1088100 [Jenkins][FS]System.IO.IOException got in Console output
Aug 30, 2023
6f0ab28
Merge pull request #613 from dorin7bogdan/mobile
andreibangau99 Aug 31, 2023
aa41701
Merge pull request #614 from dorin7bogdan/retryMoveRptDir
andreibangau99 Aug 31, 2023
ccd0335
DEF-1047029 [Jenkins][FS] UFT_PRINT_TEST_PARAMS does not work for API…
Aug 31, 2023
2c3b854
fix compile error
Aug 31, 2023
175e5fc
Merge pull request #615 from dorin7bogdan/apiPrintInputParams
andreibangau99 Sep 1, 2023
dc8d18d
DEf-994012 [Jenkins][Parallel]Print all arguments in console output f…
Sep 1, 2023
672ff74
Merge pull request #616 from dorin7bogdan/printParallelArgs
andreibangau99 Sep 1, 2023
060bce4
DEF-924016 [Jenkins][Parallel] UFT Report path is not correct in cons…
Sep 4, 2023
de024be
Merge pull request #617 from dorin7bogdan/dev
andreibangau99 Sep 4, 2023
5b8f540
DEF-924016 [Jenkins][Parallel] UFT Report path is not correct in cons…
Sep 5, 2023
9721a96
Merge pull request #618 from dorin7bogdan/dev
andreibangau99 Sep 5, 2023
fcefe35
DEF-1097018 [Jenkins][ALM Lab] Failed to login ALM SSO server
Sep 6, 2023
8140987
Merge pull request #619 from dorin7bogdan/dev
andreibangau99 Sep 6, 2023
f0fbba5
Update WhatsNewEarlier.md
jay-hershkowitz Sep 11, 2023
e928cc2
Update README.md
jay-hershkowitz Sep 11, 2023
5af69d6
Merge pull request #621 from jay-hershkowitz/patch-76
andreibangau99 Sep 11, 2023
da10a68
Merge pull request #620 from jay-hershkowitz/patch-75
andreibangau99 Sep 11, 2023
fb9001c
Update README.md
jay-hershkowitz Sep 11, 2023
70560de
Merge pull request #622 from jay-hershkowitz/patch-77
andreibangau99 Sep 11, 2023
8606ed9
[maven-release-plugin] prepare release opentext-application-automatio…
Sep 11, 2023
6444e04
[maven-release-plugin] prepare for next development iteration
Sep 11, 2023
6eb86b9
Use a formal way to manage the cookies.
Roy-Lu Oct 9, 2023
6f13f0c
Merge branch 'latest-upstream' into JENKINS-71831
Roy-Lu Oct 9, 2023
ae0d33a
tech: add get job task time to execute
nissimshitrit Aug 17, 2023
c58d1db
tech: update latest SDK version
nissimshitrit Aug 17, 2023
d6ea12c
Merge branch 'latest' into octane-dev-latest
nissimshitrit Oct 10, 2023
a397693
defect #2310022: limit error message too big for Octane's XML parser.
nissimshitrit Oct 29, 2023
2e81d67
tech: remove some job task time to execute
nissimshitrit Oct 29, 2023
b3643a0
avoid duplicate test result file names
vggonz Oct 31, 2023
cada3f7
Merge pull request #624 from Roy-Lu/JENKINS-71831
andreibangau99 Nov 6, 2023
d294a71
Merge pull request #625 from MicroFocus/octane-dev-latest
andreibangau99 Nov 6, 2023
34a3953
Merge pull request #626 from vggonz/latest
andreibangau99 Nov 6, 2023
81f1274
[maven-release-plugin] prepare release opentext-application-automatio…
Nov 9, 2023
275ba38
[maven-release-plugin] prepare for next development iteration
Nov 9, 2023
ed86e4b
US-971023 [Jenkins][DL] - Add support for Cloud Browsers in Jenkins p…
Sep 25, 2023
ff973ae
small fix
Sep 25, 2023
531ff10
add cloud browser validation
Sep 25, 2023
c5d2dff
DRAFT - implement ajax and client-side logic, optimize old code
Oct 6, 2023
38031cc
draft changes, still need to test / fix some issues
Nov 1, 2023
0372a23
bug fixing and optimizations
Nov 9, 2023
c20cd18
small fix
Nov 9, 2023
67cf149
solved codeclimate warning "Identical blocks of code found in 2 locat…
Nov 10, 2023
b88524a
fixing useProxyAuth
Nov 10, 2023
688318e
Internal: add button to get mc workspaces
wenwen12341234 Nov 16, 2023
c2f0eee
increase the timespan to 1 sec before calling startListening4Params
Nov 16, 2023
61b2860
add retry logic
Nov 16, 2023
d0aee28
small fix
Nov 16, 2023
b51d40f
improve the retry mechanism
Nov 16, 2023
d5a8290
Internal: upload app to specific workspace
wenwen12341234 Nov 17, 2023
7a2cc35
add error handling and wait cursor while loading the FS
Nov 17, 2023
d8328a0
Improvement: Allow timeslot duration to be parameterized.
danieldanan Nov 19, 2023
c4652c3
Merge pull request #627 from danieldanan/latest
andreibangau99 Nov 20, 2023
0ec1da0
* US-865003 [ParallelRunner] Support Access Key
Nov 20, 2023
21b7b9f
US-828069 [Jenkins][Parallel][Mobile] Run parallel mobile tests with …
Nov 20, 2023
afa0845
Internal: upload multiple apps to different workspaces
wenwen12341234 Nov 21, 2023
33bd383
fix the button label after loading
Nov 21, 2023
21a052f
temporary revert some Cloud Browser support changes
Nov 22, 2023
c0fa1be
Internal: bug fix during debug
wenwen12341234 Nov 23, 2023
7e0dffb
Internal: check signing service
wenwen12341234 Nov 23, 2023
c6659a8
DEF-1350964 [Jenkins][DL]Nothing happened when clicking Wizard button
Nov 23, 2023
65438a6
Internal: add log
wenwen12341234 Nov 23, 2023
aeb3dbf
Merge branch 'latest' of https://github.com/wenwen12341234/hpe-applic…
wenwen12341234 Nov 23, 2023
e19dd59
Internal: fix for codeclimate
wenwen12341234 Nov 23, 2023
a77a503
Internal: fix for codeclimate
wenwen12341234 Nov 23, 2023
d5f7afe
Internal: fix for codeclimate
wenwen12341234 Nov 24, 2023
5cafb02
Internal: fix for codeclimate
wenwen12341234 Nov 24, 2023
14ac7d4
Merge pull request #629 from wenwen12341234/latest
andreibangau99 Nov 24, 2023
20a9a5e
Merge remote-tracking branch 'upstream/latest' into dev
Nov 24, 2023
bcf3e3f
fix compile errors and use initHeaders on upload method too
Nov 24, 2023
c3bcd7c
Merge pull request #623 from dorin7bogdan/dev
andreibangau99 Nov 24, 2023
639cd29
copyright
Nov 24, 2023
bac2419
Merge pull request #630 from jenkinsci/changeCoppyright
LauraBuzas Nov 24, 2023
e386124
tech: remove visibility on client configuration for disable cache of …
nissimshitrit Nov 26, 2023
3cd4427
tech: update recent SDK version for plugin
nissimshitrit Nov 26, 2023
e2215a4
tech: fixed failed test
nissimshitrit Nov 26, 2023
fcd6fcb
tech: set minimum Jenkins version to 2.346.1
nissimshitrit Nov 26, 2023
8ece171
tech: remove commit by mistake
nissimshitrit Nov 26, 2023
d046278
Internal: get workspaces only one time when page loading
wenwen12341234 Nov 27, 2023
013bd3f
Merge pull request #632 from wenwen12341234/latest
andreibangau99 Nov 27, 2023
0c2d32f
Internal: rename workspace text
wenwen12341234 Nov 28, 2023
280af99
Merge pull request #633 from wenwen12341234/latest
andreibangau99 Nov 28, 2023
f82af5b
Merge pull request #631 from MicroFocus/octane-dev-latest
andreibangau99 Nov 28, 2023
3268bd1
Internal: fix UI element align issue
wenwen12341234 Dec 1, 2023
47fef42
Merge pull request #634 from wenwen12341234/latest
andreibangau99 Dec 4, 2023
234cdd6
Defect#1355061: rename upload descriptor
Dec 6, 2023
a4d136a
Merge pull request #635 from janezhango/new
andreibangau99 Dec 7, 2023
06eece1
Update WhatsNewEarlier.md with 23.3.0
jay-hershkowitz Dec 19, 2023
59eb250
Update README.md CE 23.4
jay-hershkowitz Dec 19, 2023
17a90b8
Merge pull request #636 from jay-hershkowitz/patch-78
LauraBuzas Dec 20, 2023
6079e51
Merge pull request #637 from jay-hershkowitz/patch-79
LauraBuzas Dec 20, 2023
a904f8d
Version change (#638)
LauraBuzas Dec 20, 2023
72ebee3
US 1350888 - [Jenkins][DL] - Add support for Cloud Browsers in Jenkin…
Jan 18, 2024
beec79a
updae toolVersion
Jan 18, 2024
a36bd3b
US#1411194: add Cross-Origin-Opener-Policy header
Jan 22, 2024
49bd710
user story #2397050: [FTE Cloud] Refactor Discovery logic and use new…
mayarfl Feb 1, 2024
6e2c02b
Merge pull request #639 from dorin7bogdan/dev
andreibangau99 Feb 5, 2024
a04dcf2
Merge branch 'latest' of https://github.com/jenkinsci/hpe-application…
Feb 6, 2024
9c38e73
Merge pull request #640 from janezhango/new
andreibangau99 Feb 6, 2024
42bea05
`us#1410016: add cookie in getJobId for opening DL wizard.
Feb 7, 2024
b2139f4
Merge branch 'latest' of https://github.com/gaowmw/hpe-jenkins-plugin…
Feb 7, 2024
9103289
DEF-1096033 [Jenkins]Proxy in DL settings does not work as expected
Feb 12, 2024
415348c
Merge pull request #285 from MicroFocus/mayar-update-sdk
nissimshitrit Feb 15, 2024
ce8a34e
DEF-1096033 [Jenkins]Proxy in DL settings does not work as expected
Feb 19, 2024
09ed1dc
upgarde the mobile details settings to use McConnectionOptions / DLCo…
Feb 21, 2024
e8edaca
code cleanup and get rid of password encryption since the AOM expects…
Feb 22, 2024
92fc721
us#1410016: open DL wizard from jenkins_plugin
Feb 23, 2024
7bba104
`us#1410016: refine.
Feb 23, 2024
190e557
`us#1410016: refine.
Feb 23, 2024
a07677d
Merge pull request #644 from gaowmw/us_1410016_open_DL_wizard_from_Je…
andreibangau99 Feb 23, 2024
2c8580d
Merge pull request #643 from MicroFocus/octane-dev-latest
andreibangau99 Feb 23, 2024
e2ecd92
Merge pull request #642 from dorin7bogdan/dev
andreibangau99 Feb 23, 2024
b7eeff9
user story #2397050: [FTE Cloud] Refactor Discovery logic and use new…
mayarfl Feb 28, 2024
09fd420
revert to use EXTERNAL_Mobile*** keys for UFTo < 24.2, due to some ba…
Feb 28, 2024
af6b445
fix to set ProxyAddress too
Feb 28, 2024
78bedc4
Merge pull request #286 from MicroFocus/mayar-update-sdk1
andreibangau99 Feb 29, 2024
bcb4319
[maven-release-plugin] prepare release opentext-application-automatio…
andreibangau99 Mar 1, 2024
c00475e
[maven-release-plugin] prepare for next development iteration
andreibangau99 Mar 1, 2024
7bcd05f
[maven-release-plugin] prepare release opentext-application-automatio…
andreibangau99 Mar 1, 2024
a4b5b3d
[maven-release-plugin] prepare for next development iteration
andreibangau99 Mar 1, 2024
06eb830
[maven-release-plugin] rollback the release of opentext-application-a…
andreibangau99 Mar 1, 2024
3667d05
[maven-release-plugin] prepare release opentext-application-automatio…
andreibangau99 Mar 1, 2024
00bbc84
[maven-release-plugin] prepare for next development iteration
andreibangau99 Mar 1, 2024
89da546
[maven-release-plugin] rollback the release of opentext-application-a…
andreibangau99 Mar 1, 2024
f9107b4
DEF-1542793 [Jenkins][FS]Failed run test on DL server
Mar 1, 2024
b6dfbeb
DEF-1542793 [Jenkins][FS]Failed run test on DL server
Mar 3, 2024
ebc3933
Merge pull request #646 from dorin7bogdan/dev2
andreibangau99 Mar 4, 2024
6450f2d
Updated copyright
Mar 4, 2024
0a55f6a
Merge pull request #647 from jenkinsci/versionChange24.1.0
andreibangau99 Mar 4, 2024
00f1332
Merge pull request #648 from MicroFocus/octane-dev-latest
andreibangau99 Mar 4, 2024
e4f0120
def#1594461: UFT parallel running env wizard opend for saas env.
Mar 5, 2024
ad5cf1a
Merge pull request #649 from gaowmw/def_1594461_UFT_parallel_running_…
andreibangau99 Mar 5, 2024
65f7a76
user story #2397050: [FTE Cloud] Refactor Discovery logic and use new…
mayarfl Mar 13, 2024
5a7506a
Merge pull request #287 from MicroFocus/mayar-update-sdk2
andreibangau99 Mar 14, 2024
70d6a64
Merge pull request #650 from MicroFocus/octane-dev-latest
andreibangau99 Mar 14, 2024
a8db902
Update WhatsNewEarlier.md
jay-hershkowitz Mar 14, 2024
f47e886
Update README.md
jay-hershkowitz Mar 14, 2024
1a47476
Merge pull request #651 from jay-hershkowitz/patch-81
andreibangau99 Mar 14, 2024
fac0658
Merge pull request #652 from jay-hershkowitz/patch-82
andreibangau99 Mar 14, 2024
5459f7b
[maven-release-plugin] prepare release opentext-application-automatio…
andreibangau99 Mar 19, 2024
f2c6a70
[maven-release-plugin] prepare for next development iteration
andreibangau99 Mar 19, 2024
15f9616
add map of modify files to test
eliaumiller Apr 2, 2024
c728ae2
Merge pull request #288 from MicroFocus/emiller_defect_1111
andreibangau99 Apr 2, 2024
19037fa
Merge pull request #654 from MicroFocus/octane-dev-latest
andreibangau99 Apr 3, 2024
43d104e
JENKINS-72990 Fix the XXE sink of common upload with field mapping
Roy-Lu Apr 10, 2024
337ce10
no message
Roy-Lu Apr 10, 2024
0894496
user story #2397050: [FTE Cloud] Refactor Discovery logic and use new…
mayarfl Apr 15, 2024
a1aecad
Merge pull request #289 from MicroFocus/mayar-update-sdk3
andreibangau99 Apr 15, 2024
054fef9
Merge pull request #656 from MicroFocus/octane-dev-latest
andreibangau99 Apr 15, 2024
d557a26
Merge pull request #655 from Roy-Lu/JENKINS-72990
andreibangau99 Apr 16, 2024
6481de4
Fixing CVEs
Apr 25, 2024
3a625c1
Increased some versions for compatibility with maven-plugin 3.19
Apr 25, 2024
9568e26
Try to remove apparently unnecessary dependency
Apr 25, 2024
222a64f
US-1654874 - [Jenkins][ALM]Security issue check
Apr 26, 2024
e923b26
updated versions for several dependencies for compatibility reasons
andreibangau99 Apr 26, 2024
34b4cc3
Update README.md
jay-hershkowitz May 1, 2024
4d44bea
show clientID / username based on credentials scope
May 8, 2024
70bacdf
move the new method inside com/microfocus/application/automation/tool…
May 8, 2024
b4e4928
update sdk version fir defect 2318019
eliaumiller May 9, 2024
43da521
Merge pull request #290 from MicroFocus/emiller_defect_2318019_2
andreibangau99 May 9, 2024
b750c74
Merge pull request #661 from MicroFocus/octane-dev-latest
andreibangau99 May 9, 2024
57ee163
US-1676256 [Jenkins][ALM Lab]Security issue check
May 9, 2024
070e6e4
defect#2493160
May 10, 2024
439a290
defect#2493160
May 10, 2024
16e18c9
Merge pull request #1 from jenkinsci/latest
andreibangau99 May 10, 2024
fdcedec
defect#2493160
May 10, 2024
5354cf7
defect#2493160
May 10, 2024
920db64
defect#2493160
May 10, 2024
f1b4fd9
defect#2493160
May 10, 2024
d0c999e
defect#2493160
May 10, 2024
54bc28a
Merge pull request #659 from jay-hershkowitz/patch-83
andreibangau99 May 10, 2024
39902a3
US-1676256 [Jenkins][ALM Lab]Security issue check
May 10, 2024
dc3610d
Merge pull request #657 from andreibangau99/latest
andreibangau99 May 13, 2024
fc9fef0
US-1676257 [Jenkins][FS]Security issue check
May 13, 2024
fc6ddc9
bug fixing and optimizations
May 14, 2024
ac06d79
Save current work
SilenceTB May 14, 2024
c262502
The default value of upload to shared assert is true, so only when va…
SilenceTB May 14, 2024
9b823c2
CPE-1674599 Plugin on Jenkins - Test Suites Rerun Behavior
May 14, 2024
ae1ee0c
Merge pull request #663 from SilenceTB/DL-add_upload_app_rules
andreibangau99 May 16, 2024
946bdde
Merge remote-tracking branch 'upstream/latest' into dev
May 16, 2024
b7ce385
DEF-1674848 [Jenkins][FS][ALM]Reference Error got in browser console …
May 16, 2024
3aaf939
DEF-1674848 [Jenkins][FS][ALM] Reference Error got in browser console…
May 16, 2024
8c76cf9
US-1654874 - [Jenkins][ALM]Security issue check
May 16, 2024
27fa061
[SECURITY-3277][SV] Allow server enumeration only to Administer users
alin-iordache-ot Apr 30, 2024
eaaa36f
Merge pull request #664 from dorin7bogdan/rerunPatch
andreibangau99 May 20, 2024
5a8e084
Merge pull request #658 from dorin7bogdan/dev
andreibangau99 May 21, 2024
8b72658
Merge pull request #660 from alin-iordache-ot/sv-3277-security-check
andreibangau99 May 21, 2024
96272c3
Merge pull request #662 from andreibangau99/defect#2493160-CVE-2024-4690
andreibangau99 May 22, 2024
c0c8644
defect #2451038 Octane cannot correctly open test run report
May 22, 2024
a38285e
[maven-release-plugin] prepare release opentext-application-automatio…
andreibangau99 May 23, 2024
c0de40c
[maven-release-plugin] prepare for next development iteration
andreibangau99 May 23, 2024
5bc1e7c
defect #2451038 Octane cannot correctly open test run report
May 23, 2024
0b89fde
Fixing CVEs
May 29, 2024
a9ccf18
Fixing CVEs
May 29, 2024
b3a505d
Merge pull request #665 from jenkinsci/ABangau_Vulnerabilities_pom_ch…
andreibangau99 May 29, 2024
219f05e
Merge pull request #291 from MicroFocus/abangau_cpe_2451038
andreibangau99 Jun 5, 2024
dd9b510
Merge pull request #666 from MicroFocus/octane-dev-latest
andreibangau99 Jun 5, 2024
de8230d
Updated Readme.md and WhatsNewEarlier.md files before release
Jun 5, 2024
c3aab87
Updated Readme.md and WhatsNewEarlier.md files before release
Jun 5, 2024
3ae37d1
added security improvements to the readme file
Jun 5, 2024
6144f7c
Merge pull request #667 from andreibangau99/latest
andreibangau99 Jun 5, 2024
f824b7b
defect #2451038 Octane cannot correctly open test run report
Jun 5, 2024
a23681a
cpe#2481063 automation tools plugin not writing data in nga.log
Jun 6, 2024
240c3e6
cpe#2481063 automation tools plugin not writing data in nga.log
Jun 6, 2024
128d0ab
Merge pull request #292 from MicroFocus/andreibangau-update-sdk-version
andreibangau99 Jun 6, 2024
fea623c
Merge branch 'latest' into octane-dev-latest
andreibangau99 Jun 6, 2024
029f7f5
Merge pull request #668 from MicroFocus/octane-dev-latest
andreibangau99 Jun 6, 2024
babba63
Update plugin version to 24.2 (#669)
andreibangau99 Jun 7, 2024
1e70b2c
[maven-release-plugin] prepare release opentext-application-automatio…
andreibangau99 Jun 17, 2024
b68cb5b
[maven-release-plugin] prepare for next development iteration
andreibangau99 Jun 17, 2024
e976726
added more details to the readme file
Jun 19, 2024
b4e3b48
Merge pull request #671 from andreibangau99/latest
andreibangau99 Jun 19, 2024
2a20410
update sdk version fir defect 2318019
eliaumiller Jul 4, 2024
c33bf6e
Merge pull request #293 from jenkinsci/latest
andreibangau99 Jul 4, 2024
0c599f9
Merge branch 'octane-dev-latest' into emiiler_defect_2332009_2
eliaumiller Jul 4, 2024
1dec4fd
Merge pull request #294 from MicroFocus/emiiler_defect_2332009_2
andreibangau99 Jul 4, 2024
b454138
Defect #2591097: FOD - fix stop injection of vulnerabilities once one…
eliaumiller Aug 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Please Make sure these boxes are checked before submitting your pull request - T
- [ ] Proper Jira ticket - Number, Link in pull request description.
- [ ] The PR can is merged on your machine without any conflicts.
- [ ] The PR can is built on your machine without any (new) warnings.
- [ ] The PR passed sanity tests by you / QA / DevTest / Good Samaritain.
- [ ] The PR passed sanity tests by you / QA / DevTest / Good Samaritan.
- [ ] Add unit tests with new features.
- [ ] If you added any dependency to the POM - Please update @YafimK
- [ ] If you added any dependency to the POM - Please update grount
12 changes: 7 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,9 @@ Ankh.NoLoad
#Tooling
_ReSharper*/
*.resharper
[Tt]est[Rr]esult*
*.sass-cache

#Project files
[Bb]uild/

#Subversion files
.svn
Expand Down Expand Up @@ -74,9 +72,9 @@ local.properties


#Intellij files
/.idea/**
.idea/
hp-application-automation-tools-plugin.iml
*.iml

#Visual studio 14 files
HpToolsLauncher/.vs/
Expand Down Expand Up @@ -112,13 +110,17 @@ src/main/resources/LRAnalysisLauncher.exe
# Intellij specific
.iml
target/
.idea/

# java script
node/
node_modules/
node_modules
/hp-application-automation-tools-plugin.iml
/node/
/node_modules/
.sonarlint/

# jenkins instance folder generated by mvn run:hpi
work
work1
nga/
**/resources/**/*Gherkin*.xml
7 changes: 7 additions & 0 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
<extension>
<groupId>io.jenkins.tools.incrementals</groupId>
<artifactId>git-changelist-maven-extension</artifactId>
<version>1.3</version>
</extension>
</extensions>
2 changes: 2 additions & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
33 changes: 33 additions & 0 deletions .run/Jenkins debug.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Jenkins debug" type="MavenRunConfiguration" factoryName="Maven">
<MavenSettings>
<option name="myGeneralSettings" />
<option name="myRunnerSettings" />
<option name="myRunnerParameters">
<MavenRunnerParameters>
<option name="profiles">
<set />
</option>
<option name="goals">
<list>
<option value="hpi:run" />
<option value="clean" />
<option value="package" />
<option value="-Djetty.port=8083" />
<option value="-Dmaven.javadoc.skip=true" />
<option value="-Dhudson.model.DirectoryBrowserSupport.CSP=" />
<option value="-DskipTests" />
</list>
</option>
<option name="pomFileName" />
<option name="profilesMap">
<map />
</option>
<option name="resolveToWorkspace" value="false" />
<option name="workingDirPath" value="$PROJECT_DIR$" />
</MavenRunnerParameters>
</option>
</MavenSettings>
<method v="2" />
</configuration>
</component>
177 changes: 155 additions & 22 deletions HpToolsAborter/Program.cs
Original file line number Diff line number Diff line change
@@ -1,28 +1,43 @@
//© Copyright 2013 Hewlett-Packard Development Company, L.P.
//Permission is hereby granted, free of charge, to any person obtaining a copy of this software
//and associated documentation files (the "Software"), to deal in the Software without restriction,
//including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
//and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
//subject to the following conditions:

//The above copyright notice and this permission notice shall be included in all copies or
//substantial portions of the Software.

//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
//INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
//PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
//LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
//TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
//OR OTHER DEALINGS IN THE SOFTWARE.
/*
* Certain versions of software accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company.
* This software was acquired by Micro Focus on September 1, 2017, and is now offered by OpenText.
* Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.
* __________________________________________________________________
* MIT License
*
* Copyright 2012-2024 Open Text
*
* The only warranties for products and services of Open Text and
* its affiliates and licensors ("Open Text") are as may be set forth
* in the express warranty statements accompanying such products and services.
* Nothing herein should be construed as constituting an additional warranty.
* Open Text shall not be liable for technical or editorial errors or
* omissions contained herein. The information contained herein is subject
* to change without notice.
*
* Except as specifically indicated otherwise, this document contains
* confidential information and a valid license is required for possession,
* use or copying. If this work is provided to the U.S. Government,
* consistent with FAR 12.211 and 12.212, Commercial Computer Software,
* Computer Software Documentation, and Technical Data for Commercial Items are
* licensed to the U.S. Government under vendor's standard commercial license.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ___________________________________________________________________
*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Management;
using System.Diagnostics;
using System.IO;
using HpToolsLauncher;
using System.Runtime.InteropServices;

namespace HpToolsAborter
{
Expand Down Expand Up @@ -73,6 +88,7 @@ static void Main(string[] args)
{
KillQtpAutomationProcess();
KillLoadRunnerAutomationProcess();
KillParallelRunnerAutomationProcesses();
}

if (runType=="Alm")
Expand Down Expand Up @@ -117,6 +133,49 @@ private static void KillLoadRunnerAutomationProcess()

}

private static void KillParallelRunnerAutomationProcess(Process parallelRunner)
{
if(parallelRunner != null)
{
List<ProcessData> children = new List<ProcessData>();
GetProcessChildren(parallelRunner.Id, children);

foreach(var child in children)
{
var proc = Process.GetProcessById(child.ID);

if(proc != null)
{
KillProcess(proc);
}
}

KillProcess(parallelRunner);
}
}

private static void KillParallelRunnerAutomationProcesses()
{
Process[] paralelRunnerProcesses = Process.GetProcessesByName("ParallelRunner");

// kill every parallel runner process
foreach(var proc in paralelRunnerProcesses)
{
// we are sending SIGINT as ParallelRunner will handle this message
// gracefully and will set the test status to aborted
bool closed = SendSigIntToProcess(proc);

// let's give SIGINT a chance to execute
proc.WaitForExit(500);

// if ctr-c has failed, just kill the process...
if (!closed || !proc.HasExited)
{
KillParallelRunnerAutomationProcess(proc);
}
}
}


private static void KillQtpAutomationProcess()
{
Expand All @@ -135,6 +194,7 @@ private static void KillQtpAutomationProcess()
foreach (var child in children)
{
var proc = Process.GetProcessById(child.ID);

if (proc != null)
{
KillProcess(proc);
Expand All @@ -146,6 +206,14 @@ private static void KillQtpAutomationProcess()
private static void KillQtpAutomationFromAlm()
{
var remoteAgent = Process.GetProcessesByName("AQTRmtAgent").FirstOrDefault();
var almProcesses = Process.GetProcessesByName("HP.ALM.Lab.Agent.RemoteService");
foreach(var almProcess in almProcesses)
{
if(almProcess != null)
{
KillProcess(almProcess);
}
}

if (remoteAgent != null)
{
Expand All @@ -169,11 +237,9 @@ private static void KillQtpAutomationFromAlm()
}
}

private static void KillServiceTestFromAlm()
public static void KillServiceTestFromAlm()
{

var dllHostProcesses = Process.GetProcessesByName("dllhost");

foreach (var dllhostProcess in dllHostProcesses)
{
List<ProcessData> children = new List<ProcessData>();
Expand All @@ -186,7 +252,6 @@ private static void KillServiceTestFromAlm()
{
var process = Process.GetProcessById(internalExecuterData.ID);
KillProcess(process);

KillProcess(dllhostProcess);
break;
}
Expand All @@ -210,7 +275,7 @@ private static void KillProcessAndChildren(int pid)
Process proc = Process.GetProcessById(pid);
proc.Kill();
}
catch (ArgumentException ex)
catch (ArgumentException)
{
// Process already exited.
}
Expand Down Expand Up @@ -247,6 +312,65 @@ private static void KillProcess(Process process)
}
}

private static bool SendSigIntToProcess(Process process)
{
const int waitMs = 500;

// we can only be attached to one console at a time
if (!FreeConsole())
return false;

// try to attach the console to the process
// that we want to send the signal to
if (!AttachConsole((uint)process.Id))
return false;

// disable the ctrl handler for our process
// so we do not close ourselvles
if (!SetConsoleCtrlHandler(null, true))
{
FreeConsole();
AllocConsole();

return false;
}

// Now generate the event and free the console
// that we have attached ourselvles to
if (GenerateConsoleCtrlEvent(CtrlTypes.CTRL_C_EVENT, 0))
{
process.WaitForExit(waitMs);
}

// free the console for the process that we have attached to
FreeConsole();

// alloc a new console for current process
// as we might need to display something
AllocConsole();

SetConsoleCtrlHandler(null, false);

return true;
}

[DllImport("kernel32.dll", SetLastError = true)]
static extern bool AttachConsole(uint dwProcessId);

[DllImport("kernel32.dll", SetLastError = true, ExactSpelling = true)]
static extern bool FreeConsole();

[DllImport("kernel32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
private static extern bool GenerateConsoleCtrlEvent(CtrlTypes dwCtrlEvent, uint dwProcessGroupId);

public delegate bool HandlerRoutine(CtrlTypes CtrlType);

[DllImport("kernel32")]
public static extern bool SetConsoleCtrlHandler(HandlerRoutine Handler, bool Add);

[DllImport("kernel32")]
static extern bool AllocConsole();
}

public class ProcessData
Expand All @@ -261,4 +385,13 @@ public ProcessData(int id, string name)
public string Name { get; private set; }
}

enum CtrlTypes : uint
{
CTRL_C_EVENT = 0,
CTRL_BREAK_EVENT,
CTRL_CLOSE_EVENT,
CTRL_LOGOFF_EVENT = 5,
CTRL_SHUTDOWN_EVENT
}

}
Loading