Install google chrome in Fedora for the first time

When you install google chrome in fedora, you probably must have seen this error: $ sudo rpm -i google-chrome-stable_current_x86_64.rpm warning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY error: Failed dependencies: /usr/bin/lsb_release is needed by google-chrome-stable-68.0.3440.106-1.x86_64 [muffat@localhost Downloads]$ sudo rpm -i google-chrome-stable_current_x86_64.rpm warning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY error: Failed … Read more

How to move your old repo to github

Before you begin, you might want to add your ssh key into your github account. // push master branch $ cd /repo-directory $ git remote rename origin bitbucket $ git remote add origin https://github.com/username/awesome-new-repo.git $ git push origin master $ git remote rm bitbucket // push another branch $ git checkout develop $ git push … Read more

How to fetching Username-Password credentials in Jenkinsfile

withCredentials([usernamePassword(credentialsId: ‘my-creds’, usernameVariable: ‘USERNAME’, passwordVariable: ‘PASSWORD’)]) { // available as an env variable, but will be masked if you try to print it out any which way // note: single quotes prevent Groovy interpolation; expansion is by Bourne Shell, which is what you want sh ‘echo $PASSWORD > tmp’ // also available as a Groovy … Read more