Tuleap API

Version: 2.1.1Minimum Jenkins requirement: 2.176.4ID: tuleap-api
Installs: 53
Last released:
Maintainers
Martin GOYOT
Clarck Robinson

tuleap-api-plugin

Jenkins Plugin GitHub release Jenkins Plugin Installs

This jenkins plugin provides a client for the Tuleap API. It is the result of the extraction of the client and server configuration of tuleap-gitbranch-source for separation concerns and reuse in future Jenkins plugins for Tuleap.

Works with any recent version of Jenkins >= 2.164.1 (latest LTS preferred).

How to use

  • Install the plugin
  • In Jenkins global configuration you should reference your Tuleap instance (There is a limitation of 1 Tuleap server per Jenkins instance)

Report issues

Issues must be reported in Request tracker of the Tuleap project under the category "Jenkins Tuleap API plugin".

Development

On jenkins, connect to Tuleap

Configure Jenkins to accept a tuleap dev environment certificate

echo -n | openssl s_client -connect tuleap-web.tuleap-aio-dev.docker:443 |    sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p'  >> /usr/local/share/ca-certificates/tuleap-web.tuleap-aio-dev.docker.crt
keytool -keystore $JAVA_HOME/jre/lib/security/cacerts   -import -trustcacerts -storepass changeit -noprompt -alias tuleap-web-dev -file /usr/local/share/ca-certificates/tuleap-web.tuleap-aio-dev.docker.crt
update-ca-certificates --fresh

Build

You have a local java / maven env

Tested with OpenJDK 8

$> mvn clean install
$> cp target/tuleap-branch-source.hpi onto jenkins

Features

Tuleap API also provides pipelines commands to communicate with your Tuleap instance.

tuleapNotifyCommitStatus command will send the build result to a Pull Request in Tuleap.

tuleapSendTTMResults command will send the test result to Test Management.

Pull request notification configuration

To configure the tuleapNotifyCommitStatus command, you can find the documentation here: https://docs.tuleap.org/user-guide/ci.html?#pull-request-notification-configuration

Test automation

To configure tuleapSendTTMResults command, you can find the documentation here: https://docs.tuleap.org/user-guide/ci.html?#jenkins-configuration-for-test-automation

Authors

  • GOYOT Martin
  • ROBINSON Clarck
ArchivesGet past versions
Links
Labels
This plugin has no labels