Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » Not able to trigger build from eclipse team commit option(Goal: To trigger Jenkins Build when change is committed to file using eclipse->team->commit option. )
Not able to trigger build from eclipse team commit option [message #1808470] Tue, 25 June 2019 10:21
Shailendra Dubey is currently offline Shailendra DubeyFriend
Messages: 1
Registered: June 2019
Junior Member
Hi All,

We are trying to trigger Jenkins build using Eclipse -> Team -> Commit.

We have system architecture as following:
Physical Server 1: Visual SVN Server is installed
Physical Server 2: Jenkins is installed (in Jenkins, I can read SVN Server files using https)
Physical machine 1,..n: Eclipse and tortoise SVN Browser is installed.

We have following tools used:
Jenkins version 2.164, Tortoise SVN version 1.7, Eclipse Kepler IDE with Subversion plugin, Windows 8(64 bit)

We have implemented SVN-Server side hook as follow:
1) Following changes made in file named post-commit.tmpl on SVN Server

REPOS="$1"
REV="$2"
UUID=`svnlook uuid $REPOS`
/usr/bin/wget \
--header "Content-Type:text/plain;charset=UTF-8" \
--post-data "`svnlook changed --revision $REV $REPOS`" \
--output-document "-" \
--timeout=2 \
http://ServerIP:PortNo/subversion/${UUID}/notifyCommit?rev=$REV

What is working:
If we edit file and commit directly to server using tortoise SVN Browser then Jenkins Build gets triggered.

What is not working:
1) Eclipse -> Team -> Commit: Changes posted to SVN successfully
2) Jenkins build did not get trigger.

Kindly assist.

Regards,
Shailendra
Previous Topic:Subversive no longer available in Marketplace or Photon repositories
Next Topic:Subversive - SVN Team Provider svn team provider 4.0.5 not available
Goto Forum:
  


Current Time: Wed Sep 25 01:45:40 GMT 2024

Powered by FUDForum. Page generated in 0.03694 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top