A new CollabNet Plugin for Jenkins (v2.0) is now available that functionally subsumes
both CollabNet Plugin v1.2.0 and EventQ Jenkins Adapter v2.0. Install this plugin using the
web interface. Existing TeamForge-Jenkins integrations that use either CollabNet Plugin
v1.2.0 (or earlier), or EventQ Jenkins Adapter v2.0 (or earlier), or both, must be migrated
(using migrate_jenkins_plugin.sh script) after installing CollabNet
Plugin.
Features of CollabNet Plugin v2.0 include:
- Notify TeamForge EventQ when builds complete. The CollabNet Plugin must be
installed once on each Jenkins server you wish to connect to TeamForge
EventQ.
- Authenticate users from TeamForge. If setup as the "Build & Test"
application, it can even use Single Sign-On.
- Authorization from TeamForge, including the ability to set permissions in
Jenkins based on roles in your TeamForge project.
- Upload the build log or workspace artifacts to the TeamForge Documents.
- Upload workspace artifacts to the TeamForge File Release System, as a post-build
publishing task or as a build promotion task.
- Open/update/close TeamForge Tracker artifacts based on the Jenkins build
status.
- Upload workspace artifacts to the Lab Management Project Build Library.
(Requires CollabNet Lab Management).
Click
here to know more about the requirements for installing CollabNet
Plugin.
-
If you are integrating TeamForge and Jenkins for the first time:
-
Log on to the Jenkins Server as a privileged Jenkins user, navigate to .
-
Select the CollabNet Plugin v2.0 and install the plugin.
-
Restart your Jenkins server.
-
Existing TeamForge-Jenkins integrations that use CollabNet Plugin v1.2.0 (or
earlier):
-
Log on to the Jenkins Server as a privileged Jenkins user, navigate to .
-
Select the
latest
CollabNet Plugin
and
install the plugin.
-
Download the
migrate_jenkins_plugin.sh script and save it to
<JENKINS_HOME_DIRECTORY>/jobs/.
Tip: Jenkins default home directory is
/var/lib/jenkins/.
-
Change ownership of the migrate_jenkins_plugin.sh
file.
- chmod 755
migrate_jenkins_plugin.sh
-
Run the migrate_jenkins_plugin.sh script.
- ./migrate_jenkins_plugin.sh
-
Existing TeamForge-Jenkins integrations that use either EventQ Jenkins Adapter
v2.0 (or earlier) or both CollabNet Plugin v1.2.0 (or earlier) and EventQ
Jenkins Adapter v2.0 plugins:
-
Log on to the Jenkins Server as a privileged Jenkins user, navigate to .
-
Select the EventQ Jenkins Adapter v2.0 and click
Uninstall.
-
If you have Collabnet Plugin v1.2.0 (or earlier) installed already,
select the Updates tab. Select the
Available tab otherwise.
-
Select the CollabNet Plugin v2.0 and install the plugin.
-
Download the
migrate_jenkins_plugin.sh script and save it to
<JENKINS_HOME_DIRECTORY>/jobs/.
Tip: Jenkins default home directory is
/var/lib/jenkins/.
-
Change ownership of the migrate_jenkins_plugin.sh
file.
- chmod 755
migrate_jenkins_plugin.sh
-
Run the migrate_jenkins_plugin.sh script.
- ./migrate_jenkins_plugin.sh