In Jenkins, how to checkout a project into a specific directory (using GIT)

In the new Jenkins 2.0 pipeline (previously named the Workflow Plugin), this is done differently for: The main repository Other additional repositories Here I am specifically referring to the Multibranch Pipeline version 2.9. Main repository This is the repository that contains your Jenkinsfile. In the Configure screen for your pipeline project, enter your repository name, … Read more

Jenkins – HTML Publisher Plugin – No CSS is displayed when report is viewed in Jenkins Server

Figured out the issue. Sharing it here for other users. CSS is stripped out because of the Content Security Policy in Jenkins. (https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy) The default rule is set to: sandbox; default-src ‘none’; img-src ‘self’; style-src ‘self’; This rule set results in the following: No JavaScript allowed at all No plugins (object/embed) allowed No inline CSS, … Read more

gpg: no valid OpenPGP data found

This problem might occur if you are behind corporate proxy and corporation uses its own certificate. Just add “–no-check-certificate” in the command. e.g. wget –no-check-certificate -qO – http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add – It works. If you want to see what is going on, you can use verbose command instead of quiet before adding “–no-check-certificate” … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)