“You don’t have a SNAPSHOT project in the reactor projects list.” when using Jenkins Maven release plugin

You’re trying to release an artifact that’s not a snapshot. That means your artifact’s version number is something like 3.0.3. That version number implies its already been released. You can’t release a release. There would be no changes in between and therefore no point. You’re only supposed to release SNAPSHOT versions. That means your version … Read more

Where does Jenkins store configuration files for the jobs it runs?

Jenkins stores some of the related builds data like the following: The working directory is stored in the directory {JENKINS_HOME}/workspace/. Each job store its related temporal workspace folder in the directory {JENKINS_HOME}/workspace/{JOBNAME} The configuration for all jobs stored in the directory {JENKINS_HOME}/jobs/. Each job store its related builds data in the directory {JENKINS_HOME}/jobs/{JOBNAME} Each job … Read more

“aapt” IOException error=2, No such file or directory” why can’t I build my gradle on jenkins?

I had the following similar error on Ubuntu 13.10: Cannot run program “/usr/local/android-sdk-linux/build-tools/19.0.3/aapt”: error=2, No such file or directory And this answer fixed it for me: To get aapt working (this fixed my issues with the avd as well) just install these two packages: sudo apt-get install lib32stdc++6 lib32z1

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

How to give Jenkins more heap space when it´s started as a service under Windows?

If you used Aptitude (apt-get) to install Jenkins on Ubuntu 12.04, uncomment the JAVA_ARGS line in the top few lines of /etc/default/jenkins: # arguments to pass to java #JAVA_ARGS=”-Xmx256m” # <–default value JAVA_ARGS=”-Xmx2048m” #JAVA_ARGS=”-Djava.net.preferIPv4Stack=true” # make jenkins listen on IPv4 address

Jenkins – how to build a specific branch

Best solution can be: Add a string parameter in the existing job Then in the Source Code Management section update Branches to build to use the string parameter you defined If you see a checkbox labeled Lightweight checkout, make sure it is unchecked. The configuration indicated in the images will tell the jenkins job to … Read more

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