Not able to trigger build from eclipse team commit option [message #1808470] |
Tue, 25 June 2019 10:21 |
Shailendra Dubey 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
|
|
|
Powered by
FUDForum. Page generated in 0.03694 seconds