Skip to content

Instantly share code, notes, and snippets.

View jeevan-p-gowda's full-sized avatar
:octocat:
--continue

Jeevan Gowda jeevan-p-gowda

:octocat:
--continue
View GitHub Profile
@jeevan-p-gowda
jeevan-p-gowda / jenkins_env_vars.sh
Last active June 19, 2025 10:19
Jenkins environment variables
[Pipeline] echo
BRANCH_NAME=feature #Git branch name
[Pipeline] echo
BRANCH_IS_PRIMARY=false #Is Git branch is main ?
[Pipeline] echo
BRANCH_NAME=PR-27 #Pull request serial no
[Pipeline] echo
CHANGE_ID=27 #Pull request id no
[Pipeline] echo
CHANGE_URL=https://github.com/jeevan-p-gowda/python-automation/pull/27 #Pull request URL
@jeevan-p-gowda
jeevan-p-gowda / MIGRATE_NPM_TO_YARN.md
Created May 23, 2025 13:40
Migrate from npm to yarn

Migrate from npm to yarn

  1. Remove node_modules and package-lock.json from repo.
  2. In package.json, add
{ 
"packageManager": "yarn@4.6.0"
}
  1. Execute corepack enable
@jeevan-p-gowda
jeevan-p-gowda / PW_TS_REPO_SETUP.md
Last active June 6, 2025 10:31
Setup a playwright with typescript repo🗂️🎭

Setup a playwright with typescript repo

  1. Install NodeJS >=18.
  2. Install VS Code for code editing.
  3. Make a dir in a desired location and open it through VS Code.
  4. Execute npm init --yes command to initialize nodeJS project.
  5. Execute npm init playwright@latest to begin the Playwright installation process.
    1. Select Typescript when prompted.
    2. Enter name of folder to place your tests, else leave it for default name i.e tests.
    3. Opt for false if not setting up Github actions workflow.
  6. Press Enter key to install playwright browsers.