Skip to content

Octane dev latest 24 1 prep #284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3,455 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3455 commits
Select commit Hold shift + click to select a range
cb31daa
[maven-release-plugin] prepare for next development iteration
Dec 13, 2022
3ca269a
[maven-release-plugin] rollback the release of micro-focus-applicatio…
Dec 13, 2022
ee55c34
[maven-release-plugin] prepare release micro-focus-application-automa…
Dec 13, 2022
5374e43
[maven-release-plugin] prepare for next development iteration
Dec 13, 2022
d14c061
[maven-release-plugin] rollback the release of micro-focus-applicatio…
Dec 13, 2022
4fa76cd
[maven-release-plugin] prepare release micro-focus-application-automa…
Dec 13, 2022
8f9e659
[maven-release-plugin] prepare for next development iteration
Dec 13, 2022
4fd57e4
DEF-934060 [Jenkins] Overall job status will show a failure or instab…
Dec 9, 2022
c4715fd
small fix
Dec 9, 2022
800b360
fix rerun logic
Dec 12, 2022
932fbe2
skip marking build status as unstable from RunResultsRecorder
Dec 13, 2022
1aa72a4
DEF-931112 [Jenkins][FS] Parameter values are not passed to the test …
Dec 15, 2022
e201e6e
JENKINS-70170: error recovery on error 1310
danieldanan Nov 29, 2022
6f6266a
DEF-932138 [Jenkins]Test will rerun even when there is no failed test
Dec 21, 2022
df62bb8
JENKINS-68498 - JAXB error during job run with HPE ALI plugin on Java 11
jakubvondrak Dec 22, 2022
4d6c697
US-931157 LaunchAsUser method in AOM for launching UFT process from a…
Jan 10, 2023
bfeacc6
rename Password property
Jan 10, 2023
c73974b
resolve codeclimate warnings
Jan 11, 2023
c04bc79
small fix
Jan 11, 2023
109a087
improve / optimize / fix the cancel functionality
Nov 15, 2022
daf5a31
fix inconsistent line endings
Nov 16, 2022
b5bfe6b
US-924004 [Jenkins] - Plugin should safely release the UFT license an…
Dec 8, 2022
3e7a3ab
DEF-924084 [Jenkins]Exception got when FIPS is enabled in slave machine
Nov 17, 2022
9f78556
small fix
Nov 17, 2022
e157ff8
fix the config
Nov 17, 2022
4b17b71
ALM fix
Nov 18, 2022
9d67704
fixes and optimizations
Jan 11, 2023
bc56125
US-941004 [Jenkins] - Jenkins Open UFT Run as Different User for Para…
Jan 13, 2023
771abcc
code format & small optimizations
Jan 13, 2023
48e67c9
Updated the LICENSE.txt file
andreibangau99 Jan 17, 2023
5c703f2
DEF-946028 [Jenkins]Give clear message when run test on UFT 2022 and …
Jan 30, 2023
0eedd10
Update WhatsNewEarlier.md
jay-hershkowitz Feb 6, 2023
36abde1
Update README.md
jay-hershkowitz Feb 6, 2023
096b336
[maven-release-plugin] prepare release micro-focus-application-automa…
andreibangau99 Feb 6, 2023
5df90cc
[maven-release-plugin] prepare for next development iteration
andreibangau99 Feb 6, 2023
4d74258
Merge branch 'latest' into octane-dev-latest
nissimshitrit Feb 9, 2023
463ad4f
tech: fixes for code climate
nissimshitrit Feb 9, 2023
9ecd4ff
US: #2029018 Send custom properties to ALM Octane on Job completion (…
bbokhonko-mf Feb 9, 2023
5577bd5
Merge pull request #281 from bbokhonko-mf/octane-dev-latest
nissimshitrit Feb 9, 2023
5033ab7
Merge pull request #573 from MicroFocus/octane-dev-latest
andreibangau99 Feb 10, 2023
c5ef5b5
[maven-release-plugin] prepare release micro-focus-application-automa…
andreibangau99 Feb 10, 2023
fb2d19a
[maven-release-plugin] prepare for next development iteration
andreibangau99 Feb 10, 2023
4e4acc8
Defect: #2064100 If at least once you do not save the COP in the glob…
bbokhonko-mf Feb 15, 2023
c58f8dc
US: #2065171 [Jenkins] Store list of Custom Properties as user format…
bbokhonko-mf Feb 15, 2023
33de227
Use proxy configuration to open connection
Roy-Lu Feb 23, 2023
adc2013
US: #2074006 Verify Custom Output Properties labels
bbokhonko-mf Feb 24, 2023
5d2c616
US#931016: renaming from "UFT Mobile" to "Digital Lab"
wenwen12341234 Mar 15, 2023
b3e2453
Revert "US#931016: renaming from "UFT Mobile" to "Digital Lab""
wenwen12341234 Mar 16, 2023
5defe27
Revert "Revert "US#931016: renaming from "UFT Mobile" to "Digital Lab"""
wenwen12341234 Mar 16, 2023
df4c0b7
Merge pull request #576 from wenwen12341234/US_931016_rename_for_UFT_…
andreibangau99 Mar 17, 2023
4f76b3f
Merge pull request #574 from Roy-Lu/use-jenkins-proxy-to-open-conn
andreibangau99 Mar 17, 2023
cb5ab17
Merge pull request #572 from jenkinsci/dependabot/maven/src/test/reso…
andreibangau99 Mar 17, 2023
ca8604a
Merge pull request #571 from jenkinsci/dependabot/maven/src/test/reso…
andreibangau99 Mar 17, 2023
d098447
Merge pull request #570 from jenkinsci/dependabot/maven/src/test/reso…
andreibangau99 Mar 17, 2023
f59c7f5
Revert "Merge pull request #572 from jenkinsci/dependabot/maven/src/t…
andreibangau99 Mar 17, 2023
b1617e0
Revert "Merge pull request #571 from jenkinsci/dependabot/maven/src/t…
andreibangau99 Mar 17, 2023
7760e2f
Revert "Merge pull request #570 from jenkinsci/dependabot/maven/src/t…
andreibangau99 Mar 17, 2023
aead194
Merge pull request #282 from bbokhonko-mf/octane-dev-latest
nissimshitrit Mar 20, 2023
02f7940
tech: change error message to jenkins user name
nissimshitrit Mar 20, 2023
da159e1
tech: upgrade minimum jenkins version require
nissimshitrit Mar 20, 2023
b4ee780
tech: fix commit mistake
nissimshitrit Mar 20, 2023
1a821a2
tech: revert minimum version upgrade
nissimshitrit Mar 20, 2023
1dfcd96
tech: upgrade minimum jenkins version require with test fail fix
nissimshitrit Mar 20, 2023
9e80c9b
Merge pull request #577 from MicroFocus/octane-dev-latest
andreibangau99 Mar 24, 2023
889af44
Revert "US#931016: rename for uft mobile"
wenwen12341234 Mar 27, 2023
2ea9a0a
Merge pull request #578 from wenwen12341234/revert-576-US_931016_rena…
andreibangau99 Mar 27, 2023
1c15436
DEF-979037 [Jenkins][FS]Failed to run UFT test on cloud browser when …
Mar 27, 2023
109bb4d
Merge pull request #579 from dorin7bogdan/dev
andreibangau99 Mar 28, 2023
8b69bfd
Update README.md
jay-hershkowitz Apr 3, 2023
b6ed1ad
Update WhatsNewEarlier.md
jay-hershkowitz Apr 3, 2023
c9c47c4
Merge pull request #580 from jay-hershkowitz/patch-65
andreibangau99 Apr 3, 2023
3349102
Merge pull request #581 from jay-hershkowitz/patch-66
andreibangau99 Apr 3, 2023
7cd47a3
Update README.md
jay-hershkowitz Apr 4, 2023
77c8df3
Merge pull request #582 from jay-hershkowitz/patch-67
andreibangau99 Apr 4, 2023
75806b6
[maven-release-plugin] prepare release micro-focus-application-automa…
andreibangau99 Apr 4, 2023
4dd1ef2
[maven-release-plugin] prepare for next development iteration
andreibangau99 Apr 4, 2023
1335f94
US #2165116: Add support of Active choice parameters to Jenkins
bbokhonko-mf May 18, 2023
b3551bc
Merge pull request #283 from bbokhonko-mf/octane-dev-latest
nissimshitrit May 21, 2023
6716968
changed Micro Focus to OpenText in pom.xml
andreibangau99 May 24, 2023
aaec8f2
Update README.md
jay-hershkowitz May 24, 2023
16798d8
Update WhatsNewEarlier.md
jay-hershkowitz May 24, 2023
84d112f
Merge pull request #583 from jenkinsci/andreibangau/OpenText_rebranding
andreibangau99 May 25, 2023
e5d5ccc
Merge pull request #584 from jay-hershkowitz/patch-68
andreibangau99 May 25, 2023
fb9cc30
Merge pull request #585 from jay-hershkowitz/patch-69
andreibangau99 May 25, 2023
a03d3fa
tech: update latest SDK version
nissimshitrit May 28, 2023
abf0256
Merge pull request #587 from MicroFocus/octane-dev-latest
andreibangau99 May 30, 2023
1f84fba
Rebranding github readme
andreibangau99 May 30, 2023
8598cd7
Merge pull request #588 from jenkinsci/andreibangau/OpenText_github_r…
andreibangau99 May 31, 2023
066ca6b
Update WhatsNewEarlier.md
jay-hershkowitz Jun 8, 2023
2fa3389
Update README.md
jay-hershkowitz Jun 8, 2023
63d7f25
Merge pull request #590 from jay-hershkowitz/patch-70
andreibangau99 Jun 9, 2023
01c723e
Merge pull request #591 from jay-hershkowitz/patch-71
andreibangau99 Jun 9, 2023
c4a4d4d
[maven-release-plugin] prepare release opentext-application-automatio…
andreibangau99 Jun 12, 2023
ece205f
[maven-release-plugin] prepare for next development iteration
andreibangau99 Jun 12, 2023
fa64b90
US#931016: rename "UFT mobile" to "Digital Lab"
wenwen12341234 Jun 12, 2023
d56afb5
US#931016: rename "UFT mobile" to "Digital Lab"
wenwen12341234 Jun 12, 2023
2295965
Update README.md
jay-hershkowitz Jun 12, 2023
3e4808e
Merge pull request #594 from jay-hershkowitz/patch-73
andreibangau99 Jun 12, 2023
76d0a9d
Merge pull request #592 from wenwen12341234/US_931016_renameDigitalLab
andreibangau99 Jun 13, 2023
9a1e3ae
Update README.md
jay-hershkowitz Jun 20, 2023
425f167
Merge pull request #595 from jay-hershkowitz/patch-74
andreibangau99 Jun 20, 2023
46e9a0c
forward compatibility for button changes
mawinter69 Jun 26, 2023
7d9a35e
DEF-1058011 - UFT report path in Jenkins is different from the actual…
Jun 23, 2023
47c2547
https://community.microfocus.com/adtd/uft/f/sws-fun_test_sf/522878/je…
Jul 5, 2023
6ed4999
handle "Stopped" status
Jul 7, 2023
88f3ffd
US-1034006 [Rebranding][Jenkins] - Change company name
Jul 20, 2023
53c97fc
US-937064 [2023][Jenkins] - Digital Lab renaming
Jul 20, 2023
3d7cc9a
few optimizations
Jul 20, 2023
a802f37
update links too
Jul 20, 2023
a684635
small fix
Jul 20, 2023
eb0832c
small fix
Jul 21, 2023
0454532
add retry mechanism for rename path
Jul 21, 2023
2a8f35d
fix the retry logic
Jul 21, 2023
8f7f163
fix and optimize the streams disposing
Jul 25, 2023
195a1a5
add retry mechanism for props file creation + other related optimizat…
Jul 25, 2023
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
415348c
Merge pull request #285 from MicroFocus/mayar-update-sdk
nissimshitrit Feb 15, 2024
43a6249
tech: set Jenkins minimum version to 2.375.1
nissimshitrit Feb 19, 2024
b67bd04
tech: set Jenkins minimum version to 2.375.1, increase BOM dependency…
nissimshitrit Feb 20, 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-2023 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