- Ubuntu 14.04 LTS x64
- Java 1.7
- Jenkins 1.639
- NodeJS plugin 0.2.1
After setting up a clean Jenkins install and installing the NodeJS plugin no nodejs.org auto-installers are available.
- Install Ubuntu
- Install Jenkins
- Install Jenkins NodeJS plugin
- Go to
http://$JENKINS_HOME/configure
- Select the
NodeJS Installations...
button - Select the
Add NodeJS
button - Check
Install automatically
- Select the
Add installer
button - Select
Install from nodejs.org
- Note the first field
Installation
is a text input, not the expected select
The update center metadata needs updating (ref).
To update the update center metadata:
- Go to
http://$JENKINS_HOME/pluginManager/advanced
- Select the
Check now
button (bottom right)
Updating the metadata can cause this error to appear:
Signature verification failed in downloadable 'hudson.tasks.Maven.MavenInstaller'
WARNING: I donʼt know what the implications are of the below workaround. I'm just summarizing the advice from JENKINS-31089
The workaround to temporarily fix this:
-
Open the
jre/lib/security/java.security
file (on my install this was at/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/security
) -
Find the line
jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024
-
Change
1024
to512
, so the line should end up:jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 512
-
Restart Jenkins:
service jenkins restart
-
Repeat the fix (updating the update center metadata)
nodejs.org installers should now be available in http://$JENKINS_HOME/configure
!