trimblesolutionscorporation / teamcitytriggerhook Goto Github PK
View Code? Open in Web Editor NEWBitbucket Plugin to Trigger Builds in Teamcity
License: GNU Lesser General Public License v3.0
Bitbucket Plugin to Trigger Builds in Teamcity
License: GNU Lesser General Public License v3.0
After creating a VCS trigger TeamCity does not pick it up with the following error in the log:
2020-01-10 03:00:05,738 INFO [AtlassianEvent::thread-6] **** @5VOGAFx180x9063772x2 172.17.100.254:12377,192.168.2.55 "POST /scm/****.git/git-receive-pack HTTP/1.1" c.t.tekla.teamcity.TeamcityLogger [TeamcityTriggerHook ->] : [HttpConnector][Post] Hook Request: https://teamcity/app/rest/debug/vcsCheckingForChangesQueue?locator=vcsRoot:****
2020-01-10 03:00:05,744 INFO [AtlassianEvent::thread-6] **** @5VOGAFx180x9063772x2 172.17.100.254:12377,192.168.2.55 "POST /scm/****.git/git-receive-pack HTTP/1.1" c.t.tekla.teamcity.TeamcityLogger [TeamcityTriggerHook ->] : [HttpConnector][Post] Hook Exception: Server returned HTTP response code: 411 for URL: https://teamcity/app/rest/debug/vcsCheckingForChangesQueue?locator=vcsRoot:****
Which means plugin does not send Content-Length header to TeamCity server. I've tried to manually send POST request to the same URL using fiddler with these headers:
Authorization: Basic ****
Host: teamcity
Content-Length: 0
And it worked fine and TeamCity returned 200.
Could you fix this bug, please?
Bitbucket creates a commit for every PR where the PR is already merged. The ref for this commit is refs/pull-requests/<pr-number>/merge
. I have created a rule
"4bba60c1-710a-449e-8481-1704fb4aa0d5": {
"regex": "refs/(pull-requests/.*)/merge",
"target": "eservice_backend_EServiceV3prTest_GradleBuildUnitTest",
"type": "build",
"triggerOnEmptyBranches": true,
"triggerOnPullRequest": false,
"cancelRunningBuilds": false,
"triggerInclusion": "",
"triggerExclusion": "",
"downStreamTriggerType": "build",
"downStreamTriggerDescription": "",
"downStreamTriggerTarget": ""
}
But this seams not to work.
Vulnerabilities
DepShield reports that this application's usage of com.google.guava:guava:18.0 results in the following vulnerability(s):
Occurrences
com.google.guava:guava:18.0 is a transitive dependency introduced by the following direct dependency(s):
• com.atlassian.bitbucket.server:bitbucket-api:5.6.0
└─ com.atlassian.crowd:embedded-crowd-api:2.12.0
└─ com.google.guava:guava:18.0
└─ com.google.guava:guava:18.0
• com.atlassian.bitbucket.server:bitbucket-spi:5.6.0
└─ com.atlassian.plugins:atlassian-plugins-core:4.5.0
└─ com.atlassian.plugins:atlassian-plugins-api:4.5.0
└─ com.google.guava:guava:18.0
└─ com.atlassian.profiling:atlassian-profiling:2.0
└─ com.google.guava:guava:18.0
└─ com.google.guava:guava:18.0
• com.atlassian.bitbucket.server:bitbucket-page-objects:5.6.0
└─ com.atlassian.bitbucket.server:bitbucket-it-common:5.6.0
└─ com.atlassian.bitbucket.server:bitbucket-test-util:5.6.0
└─ com.atlassian.activeobjects:activeobjects-test:1.4.0
└─ com.atlassian.activeobjects:activeobjects-core:1.4.0
└─ net.java.dev.activeobjects:activeobjects:1.4.0
└─ com.google.guava:guava:18.0
└─ net.java.dev.activeobjects:activeobjects-test:1.4.0
└─ com.google.guava:guava:18.0
└─ com.atlassian.sal:sal-test-resources:3.1.0
└─ com.google.guava:guava:18.0
└─ com.google.guava:guava:18.0
└─ com.google.guava:guava:18.0
└─ com.atlassian.bitbucket.server:bitbucket-util:5.6.0
└─ com.atlassian.http:atlassian-http:1.1.8
└─ com.google.guava:guava:18.0
└─ com.atlassian.selenium:atlassian-pageobjects-elements:2.4.0
└─ com.atlassian.selenium:atlassian-webdriver-core:2.4.0
└─ org.seleniumhq.selenium:selenium-java:2.51.0
└─ org.seleniumhq.selenium:selenium-chrome-driver:2.51.0
└─ org.seleniumhq.selenium:selenium-remote-driver:2.51.0
└─ com.google.guava:guava:18.0
└─ com.atlassian.browsers:atlassian-browsers-auto:2.8.1
└─ com.google.guava:guava:18.0
└─ org.seleniumhq.selenium:selenium-api:2.51.0
└─ com.google.guava:guava:18.0
This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.
Hi,
I have tried to compile the source code from master but my maven build failed while executing "mvn clean verify". Including build log. Please let me know if more information is needed.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.trimble.tekla:TeamCityTriggerHook:atlassian-plugin:3.2.0
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 148, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Bitbucket Server Webhook to TeamCity 3.2.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ TeamCityTriggerHook ---
[INFO] Deleting /home/vagrant/workspaces/git/TeamcityTriggerHook/target
[INFO]
[INFO] --- bitbucket-maven-plugin:6.1.0:compress-resources (default-compress-resources) @ TeamCityTriggerHook ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling javascript using YUI
[INFO] 3 Javascript file(s) were minified into target directory /home/vagrant/workspaces/git/TeamcityTriggerHook/target/classes
[INFO] 2 CSS file(s) were minified into target directory /home/vagrant/workspaces/git/TeamcityTriggerHook/target/classes
[INFO] Compressing XML files
[INFO] 1 XML file(s) were minified into target directory /home/vagrant/workspaces/git/TeamcityTriggerHook/target/classes
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ TeamCityTriggerHook ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 11 resources
[INFO]
[INFO] --- bitbucket-maven-plugin:6.1.0:filter-plugin-descriptor (default-filter-plugin-descriptor) @ TeamCityTriggerHook ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ TeamCityTriggerHook ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 12 source files to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/classes
[INFO]
[INFO] --- bitbucket-maven-plugin:6.1.0:generate-rest-docs (default-generate-rest-docs) @ TeamCityTriggerHook ---
[WARNING] Source files encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO]
Loading source file /home/vagrant/workspaces/git/TeamcityTriggerHook/src/main/java/com/trimble/tekla/rest/TeamctiyRest.java...
Constructing Javadoc information...
[WARNING] Javadoc Warnings
[WARNING] Aug 23, 2017 9:09:13 AM com.sun.jersey.wadl.resourcedoc.ResourceDocletJSON start
[WARNING] INFO: Wrote /home/vagrant/workspaces/git/TeamcityTriggerHook/target/classes/resourcedoc.xml
[INFO] Wrote /home/vagrant/workspaces/git/TeamcityTriggerHook/target/classes/application-doc.xml
[INFO] Wrote /home/vagrant/workspaces/git/TeamcityTriggerHook/target/classes/application-grammars.xml
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ TeamCityTriggerHook ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/vagrant/workspaces/git/TeamcityTriggerHook/src/test/resources
[INFO]
[INFO] --- bitbucket-maven-plugin:6.1.0:filter-test-plugin-descriptor (default-filter-test-plugin-descriptor) @ TeamCityTriggerHook ---
[INFO]
[INFO] --- maven-compiler-plugin:3.6.2:testCompile (default-testCompile) @ TeamCityTriggerHook ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 2 source files to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/test-classes
[INFO]
[INFO] --- bitbucket-maven-plugin:6.1.0:unit-test (default-unit-test) @ TeamCityTriggerHook ---
[INFO] Surefire report directory: /home/vagrant/workspaces/git/TeamcityTriggerHook/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running ut.com.trimble.tekla.teamcity.TeamcityConnectorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.808 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- bitbucket-maven-plugin:6.1.0:copy-bundled-dependencies (default-copy-bundled-dependencies) @ TeamCityTriggerHook ---
[INFO] Unpacking /home/vagrant/.m2/repository/com/google/code/gson/gson/2.2.2-atlassian-1/gson-2.2.2-atlassian-1.jar to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/classes with includes "" and excludes "atlassian-plugin.xml,META-INF/MANIFEST.MF,META-INF/*.DSA,META-INF/*.SF"
[INFO] Unpacking /home/vagrant/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/classes with includes "" and excludes "atlassian-plugin.xml,META-INF/MANIFEST.MF,META-INF/*.DSA,META-INF/*.SF"
[INFO] Unpacking /home/vagrant/.m2/repository/com/atlassian/bitbucket/server/bitbucket-ssh-api/4.0.0/bitbucket-ssh-api-4.0.0.jar to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/classes with includes "" and excludes "atlassian-plugin.xml,META-INF/MANIFEST.MF,META-INF/*.DSA,META-INF/*.SF"
[INFO] Unpacking /home/vagrant/.m2/repository/com/atlassian/plugins/atlassian-plugins-webfragment-api/4.0.1/atlassian-plugins-webfragment-api-4.0.1.jar to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/classes with includes "" and excludes "atlassian-plugin.xml,META-INF/MANIFEST.MF,META-INF/*.DSA,META-INF/*.SF"
[INFO] Unpacking /home/vagrant/.m2/repository/org/mockito/mockito-all/1.9.0/mockito-all-1.9.0.jar to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/classes with includes "" and excludes "atlassian-plugin.xml,META-INF/MANIFEST.MF,META-INF/*.DSA,META-INF/*.SF"
[INFO] Unpacking /home/vagrant/.m2/repository/com/atlassian/event/atlassian-event/3.0.0/atlassian-event-3.0.0.jar to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/classes with includes "" and excludes "atlassian-plugin.xml,META-INF/MANIFEST.MF,META-INF/*.DSA,META-INF/*.SF"
[INFO]
[INFO] --- bitbucket-maven-plugin:6.1.0:copy-test-bundled-dependencies (default-copy-test-bundled-dependencies) @ TeamCityTriggerHook ---
[INFO]
[INFO] --- bitbucket-maven-plugin:6.1.0:generate-manifest (default-generate-manifest) @ TeamCityTriggerHook ---
[INFO] No manifest instructions found, adding only non-OSGi manifest attributes
[INFO]
[INFO] --- bitbucket-maven-plugin:6.1.0:generate-test-manifest (default-generate-test-manifest) @ TeamCityTriggerHook ---
[INFO]
[INFO] --- bitbucket-maven-plugin:6.1.0:validate-manifest (default-validate-manifest) @ TeamCityTriggerHook ---
[INFO] Manifest found, validating...
[INFO] Manifest validated
[INFO]
[INFO] --- bitbucket-maven-plugin:6.1.0:jar (default-jar) @ TeamCityTriggerHook ---
[INFO] Building jar: /home/vagrant/workspaces/git/TeamcityTriggerHook/target/TeamCityTriggerHook-3.2.0.jar
[INFO]
[INFO] --- bitbucket-maven-plugin:6.1.0:generate-obr-artifact (default-generate-obr-artifact) @ TeamCityTriggerHook ---
[INFO] Skipping OBR generation... no OSGi bundle manifest instructions found in pom.xml
[INFO]
[INFO] --- bitbucket-maven-plugin:6.1.0:validate-test-manifest (default-validate-test-manifest) @ TeamCityTriggerHook ---
[INFO]
[INFO] --- bitbucket-maven-plugin:6.1.0:test-jar (default-test-jar) @ TeamCityTriggerHook ---
[INFO]
[INFO] --- bitbucket-maven-plugin:6.1.0:prepare-database (default-prepare-database) @ TeamCityTriggerHook ---
[INFO]
[INFO] --- bitbucket-maven-plugin:6.1.0:integration-test (default-integration-test) @ TeamCityTriggerHook ---
[INFO] Configured Artifact: com.atlassian.bitbucket.server:bitbucket-it-resources:4.0.0:zip
[INFO] Copying bitbucket-it-resources-4.0.0.zip to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/bitbucket-it-resources.zip
[INFO] Configured Artifact: com.atlassian.bitbucket.server:bitbucket-webapp:4.0.0:war
[INFO] Copying bitbucket-webapp-4.0.0.war to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/bitbucket-original.war
[INFO] Configured Artifact: com.atlassian.pdkinstall:pdkinstall-plugin:0.6:jar
[INFO] Copying pdkinstall-plugin-0.6.jar to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home/shared/plugins/installed-plugins/pdkinstall-plugin-0.6.jar
[INFO] Configured Artifact: org.apache.felix:org.apache.felix.webconsole:1.2.8:jar
[INFO] Copying org.apache.felix.webconsole-1.2.8.jar to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home/shared/plugins/installed-plugins/org.apache.felix.webconsole-1.2.8.jar
[INFO] Configured Artifact: org.apache.felix:org.osgi.compendium:1.2.0:jar
[INFO] Copying org.osgi.compendium-1.2.0.jar to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home/shared/plugins/installed-plugins/org.osgi.compendium-1.2.0.jar
[INFO] Configured Artifact: com.atlassian.labs.httpservice:httpservice-bridge:0.6.2:jar
[INFO] Copying httpservice-bridge-0.6.2.jar to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home/shared/plugins/installed-plugins/httpservice-bridge-0.6.2.jar
[INFO] Configured Artifact: com.atlassian.labs.plugins:quickreload:1.24:jar
[INFO] Copying quickreload-1.24.jar to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home/shared/plugins/installed-plugins/quickreload-1.24.jar
[INFO] Unpacking container 'tomcat8x' from container artifact: org.apache.tomcat:apache-tomcat:8.0.9:jar
[INFO] Configured Artifact: org.apache.tomcat:apache-tomcat:windows-x64:8.0.9:zip
[INFO] Unpacking /home/vagrant/.m2/repository/org/apache/tomcat/apache-tomcat/8.0.9/apache-tomcat-8.0.9-windows-x64.zip to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/container/tomcat8x with includes "" and excludes ""
[INFO] Starting bitbucket on the tomcat8x container on ports 7990 (http), 40029 (rmi) and 8009 (ajp)
[INFO] using codehaus cargo v1.4.7
[INFO] [2.ContainerStartMojo] Resolved container artifact org.codehaus.cargo:cargo-core-container-tomcat:jar:1.4.7 for container tomcat8x
[INFO] [talledLocalContainer] Tomcat 8.x starting...
[INFO] [stalledLocalDeployer] Deploying [/home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/bitbucket.war] to [/home/vagrant/workspaces/git/TeamcityTriggerHook/target/container/tomcat8x/cargo-bitbucket-home/webapps]...
[INFO] [talledLocalContainer] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[INFO] [talledLocalContainer] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=48m; support was removed in 8.0
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:42 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
[WARNING] [talledLocalContainer] WARNING: Problem with directory [/home/vagrant/workspaces/git/TeamcityTriggerHook/target/container/tomcat8x/cargo-bitbucket-home/common/classes], exists: [false], isDirectory: [false], canRead: [false]
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:42 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
[WARNING] [talledLocalContainer] WARNING: Problem with directory [/home/vagrant/workspaces/git/TeamcityTriggerHook/target/container/tomcat8x/cargo-bitbucket-home/common/lib], exists: [false], isDirectory: [false], canRead: [false]
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:42 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
[WARNING] [talledLocalContainer] WARNING: Problem with directory [/home/vagrant/workspaces/git/TeamcityTriggerHook/target/container/tomcat8x/cargo-bitbucket-home/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:42 AM org.apache.catalina.startup.ClassLoaderFactory validateFile
[WARNING] [talledLocalContainer] WARNING: Problem with directory [/home/vagrant/workspaces/git/TeamcityTriggerHook/target/container/tomcat8x/cargo-bitbucket-home/shared/lib], exists: [false], isDirectory: [false], canRead: [false]
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:42 AM org.apache.catalina.core.AprLifecycleListener init
[INFO] [talledLocalContainer] INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:42 AM org.apache.catalina.startup.SetAllPropertiesRule begin
[WARNING] [talledLocalContainer] WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'emptySessionPath' to 'true' did not find a matching property.
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:42 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
[WARNING] [talledLocalContainer] WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Valve} Setting property 'resolveHosts' to 'false' did not find a matching property.
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:42 AM org.apache.coyote.AbstractProtocol init
[INFO] [talledLocalContainer] INFO: Initializing ProtocolHandler ["http-nio-7990"]
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:42 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
[INFO] [talledLocalContainer] INFO: Using a shared selector for servlet write/read
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:42 AM org.apache.coyote.AbstractProtocol init
[INFO] [talledLocalContainer] INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:42 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
[INFO] [talledLocalContainer] INFO: Using a shared selector for servlet write/read
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:42 AM org.apache.catalina.startup.Catalina load
[INFO] [talledLocalContainer] INFO: Initialization processed in 612 ms
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:42 AM org.apache.catalina.core.StandardService startInternal
[INFO] [talledLocalContainer] INFO: Starting service Catalina
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:42 AM org.apache.catalina.core.StandardEngine startInternal
[INFO] [talledLocalContainer] INFO: Starting Servlet Engine: Apache Tomcat/8.0.9
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:43 AM org.apache.catalina.startup.HostConfig deployWAR
[INFO] [talledLocalContainer] INFO: Deploying web application archive /home/vagrant/workspaces/git/TeamcityTriggerHook/target/container/tomcat8x/cargo-bitbucket-home/webapps/cargocpc.war
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:43 AM org.apache.catalina.startup.HostConfig deployWAR
[INFO] [talledLocalContainer] INFO: Deployment of web application archive /home/vagrant/workspaces/git/TeamcityTriggerHook/target/container/tomcat8x/cargo-bitbucket-home/webapps/cargocpc.war has finished in 273 ms
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:43 AM org.apache.catalina.startup.HostConfig deployWAR
[INFO] [talledLocalContainer] INFO: Deploying web application archive /home/vagrant/workspaces/git/TeamcityTriggerHook/target/container/tomcat8x/cargo-bitbucket-home/webapps/bitbucket.war
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:56 AM org.apache.catalina.core.ApplicationContext log
[INFO] [talledLocalContainer] INFO: Spring WebApplicationInitializers detected on classpath: [com.atlassian.stash.internal.spring.StashWebApplicationInitializer@2a114c75]
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:57 AM org.apache.catalina.core.ApplicationContext log
[INFO] [talledLocalContainer] INFO: Installing JUL to SLF4J bridge
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:57 AM org.apache.catalina.core.ApplicationContext log
[INFO] [talledLocalContainer] INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: conf reload check disabled
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:57 AM org.apache.catalina.core.ApplicationContext log
[INFO] [talledLocalContainer] INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: status display disabled
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:57 AM org.apache.catalina.core.ApplicationContext log
[INFO] [talledLocalContainer] INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
[INFO] [talledLocalContainer] Aug 23, 2017 9:09:58 AM org.apache.catalina.core.ApplicationContext log
[INFO] [talledLocalContainer] INFO: Initializing Spring FrameworkServlet 'springMvc'
[INFO] [talledLocalContainer] 2017-08-23 09:10:01,555 INFO [spring-startup] c.a.s.i.server.BuildInfoLogger Starting Bitbucket 4.0.0 (ac4badf built on Mon Sep 21 11:34:23 CEST 2015)
[INFO] [talledLocalContainer] 2017-08-23 09:10:01,562 INFO [spring-startup] c.a.s.i.server.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_131-b11
[INFO] [talledLocalContainer] 2017-08-23 09:10:01,583 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home
[INFO] [talledLocalContainer] 2017-08-23 09:10:07,202 INFO [spring-startup] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home/shared
[INFO] [talledLocalContainer] 2017-08-23 09:10:11,536 WARN [spring-startup] com.hazelcast.instance.Node [172.17.0.1]:5701 [vagrant] [3.5.0-atlassian-20] No join method is enabled! Starting standalone.
[INFO] [talledLocalContainer] 2017-08-23 09:10:37,058 INFO [hz.hazelcast.event-2] com.atlassian.stash.internal.project Switching to log level [WARN]
[INFO] [talledLocalContainer] 2017-08-23 09:10:37,055 INFO [hz.hazelcast.event-5] c.a.stash.internal.scm.git.command Switching to log level [WARN]
[INFO] [talledLocalContainer] 2017-08-23 09:10:38,291 INFO [spring-startup] c.a.s.i.hook.DefaultHookService Hook callback socket listening on 127.0.0.1:42701
[INFO] [talledLocalContainer] 2017-08-23 09:10:51,736 WARN [spring-startup] c.a.p.o.f.t.s.ScanDescriptorForHostClassesStage The plugin 'atlassian-universal-plugin-manager-plugin-2.20.jar' uses a package 'org.apache.commons.fileupload.servlet' that is also exported by the application. It is highly recommended that the plugin use its own packages.
[INFO] [talledLocalContainer] 2017-08-23 09:10:58,911 WARN [ThreadPoolAsyncTaskExecutor::Thread 38] c.a.p.s.s.util.ProductFilterUtil Couldn't detect product, will use ProductFilter.ALL
[INFO] [talledLocalContainer] 2017-08-23 09:10:58,987 WARN [ThreadPoolAsyncTaskExecutor::Thread 50] c.a.p.s.s.util.ProductFilterUtil Couldn't detect product, will use ProductFilter.ALL
[INFO] [talledLocalContainer] 2017-08-23 09:10:59,081 WARN [ThreadPoolAsyncTaskExecutor::Thread 5] c.a.p.s.s.util.ProductFilterUtil Couldn't detect product, will use ProductFilter.ALL
[INFO] [talledLocalContainer] 2017-08-23 09:10:59,217 WARN [ThreadPoolAsyncTaskExecutor::Thread 2] c.a.p.s.s.util.AnnotationIndexReader Read annotation index file: META-INF/plugin-components/component-all
[INFO] [talledLocalContainer] 2017-08-23 09:10:59,217 WARN [ThreadPoolAsyncTaskExecutor::Thread 2] c.a.p.s.s.util.AnnotationIndexReader Printing out found annotated beans:
[INFO] [talledLocalContainer] 2017-08-23 09:10:59,217 WARN [ThreadPoolAsyncTaskExecutor::Thread 2] c.a.p.s.s.util.AnnotationIndexReader []
[INFO] [talledLocalContainer] 2017-08-23 09:10:59,369 WARN [ThreadPoolAsyncTaskExecutor::Thread 49] c.a.p.s.s.util.ProductFilterUtil Couldn't detect product, will use ProductFilter.ALL
[INFO] [talledLocalContainer] 2017-08-23 09:11:00,903 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=routeServiceImpl, objectType=com.atlassian.prettyurls.internal.route.RouteServiceImpl, level=1]
[INFO] [talledLocalContainer] 2017-08-23 09:11:00,907 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=pluginAccessor, objectType=com.sun.proxy.$Proxy434, level=1]
[INFO] [talledLocalContainer] 2017-08-23 09:11:00,916 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=pluginEventManager, objectType=com.sun.proxy.$Proxy437, level=0]
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,184 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=routeServiceImpl_osgiService, objectType=org.eclipse.gemini.blueprint.service.exporter.support.internal.support.ServiceRegistrationWrapper, level=-1]
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,185 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=routeServiceImpl, objectType=com.atlassian.prettyurls.internal.route.RouteServiceImpl, level=-2]
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,185 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=urlRouterImpl, objectType=com.atlassian.prettyurls.internal.route.UrlRouterImpl, level=-2]
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,216 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=urlRouterImpl, objectType=com.atlassian.prettyurls.internal.route.UrlRouterImpl, level=-2]
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,216 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=siteMeshModuleDescriptorFactory, objectType=com.atlassian.prettyurls.module.SiteMeshModuleDescriptorFactory, level=-2]
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,229 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=springHostContainer, objectType=com.atlassian.plugin.osgi.bridge.external.SpringHostContainer, level=-1]
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,231 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=springHostContainer, objectType=com.atlassian.plugin.osgi.bridge.external.SpringHostContainer, level=-1]
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,264 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.module.SiteMeshModuleDescriptor, objectType=com.atlassian.prettyurls.module.SiteMeshModuleDescriptor, level=-1]
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,270 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=moduleFactory, objectType=com.sun.proxy.$Proxy438, level=-1]
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,319 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.module.SiteMeshModuleDescriptor, objectType=com.atlassian.prettyurls.module.SiteMeshModuleDescriptor, level=-2]
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,352 WARN [ThreadPoolAsyncTaskExecutor::Thread 27] c.a.p.s.s.util.ProductFilterUtil Couldn't detect product, will use ProductFilter.ALL
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,385 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=siteMeshModuleDescriptorFactory_osgiService, objectType=org.eclipse.gemini.blueprint.service.exporter.support.internal.support.ServiceRegistrationWrapper, level=-3]
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,385 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=siteMeshModuleDescriptorFactory, objectType=com.atlassian.prettyurls.module.SiteMeshModuleDescriptorFactory, level=-4]
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,385 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=urlRouteModuleDescriptorFactory, objectType=com.atlassian.prettyurls.module.UrlRouteModuleDescriptorFactory, level=-4]
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,414 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.module.UrlRouteModuleDescriptor, objectType=com.atlassian.prettyurls.module.UrlRouteModuleDescriptor, level=-3]
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,429 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.module.UrlRouteModuleDescriptor, objectType=com.atlassian.prettyurls.module.UrlRouteModuleDescriptor, level=-3]
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,450 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=urlRouteModuleDescriptorFactory_osgiService, objectType=org.eclipse.gemini.blueprint.service.exporter.support.internal.support.ServiceRegistrationWrapper, level=-4]
[INFO] [talledLocalContainer] 2017-08-23 09:11:01,450 WARN [ThreadPoolAsyncTaskExecutor::Thread 45] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=urlRouteModuleDescriptorFactory, objectType=com.atlassian.prettyurls.module.UrlRouteModuleDescriptorFactory, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:02,184 WARN [ThreadPoolAsyncTaskExecutor::Thread 23] c.a.labs.plugins.quickreload.spring
[INFO] [talledLocalContainer] Spring context started for bundle : com.atlassian.labs.plugins.quickreload id(69) v(1.24.0) file:/home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home/shared/plugins/installed-plugins/quickreload-1.24.jar
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] If you want to debug the Spring wiring of your code then set a DEBUG level log level as follows. [ This is a dev.mode only message. ]
[INFO] [talledLocalContainer] log4j.logger.com.atlassian.labs.plugins.quickreload.spring = DEBUG, console, filelog
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] 2017-08-23 09:11:03,340 INFO [ThreadPoolAsyncTaskExecutor::Thread 51] c.a.s.i.s.g.t.DefaultTranscodeServer Callback socket listening at 127.0.0.1:34325
[INFO] [talledLocalContainer] 2017-08-23 09:11:06,074 WARN [ThreadPoolAsyncTaskExecutor::Thread 15] c.a.w.a.spring
[INFO] [talledLocalContainer] Spring context started for bundle : com.atlassian.webhooks.atlassian-webhooks-plugin id(109) v(3.1.1.bbserver-01) reference:file:/home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home/plugins/.bundled-plugins/atlassian-webhooks-plugin-3.1.1-bbserver-01.jar
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] If you want to debug the Spring wiring of your code then set a DEBUG level log level as follows. [ This is a dev.mode only message. ]
[INFO] [talledLocalContainer] log4j.logger.com.atlassian.webhooks.atlassian-webhooks-plugin.spring = DEBUG, console, filelog
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] 2017-08-23 09:11:06,661 WARN [ThreadPoolAsyncTaskExecutor::Thread 9] c.a.p.a.spring
[INFO] [talledLocalContainer] Spring context started for bundle : com.atlassian.plugins.atlassian-remote-event-common-plugin id(86) v(1.0.6.bitbucket-m3) reference:file:/home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home/plugins/.bundled-plugins/atlassian-remote-event-common-plugin-1.0.6-bitbucket-m3.jar
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] If you want to debug the Spring wiring of your code then set a DEBUG level log level as follows. [ This is a dev.mode only message. ]
[INFO] [talledLocalContainer] log4j.logger.com.atlassian.plugins.atlassian-remote-event-common-plugin.spring = DEBUG, console, filelog
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] 2017-08-23 09:11:07,594 WARN [ThreadPoolAsyncTaskExecutor::Thread 48] c.a.p.a.spring
[INFO] [talledLocalContainer] Spring context started for bundle : com.atlassian.plugins.atlassian-remote-event-consumer-plugin id(87) v(1.0.6.bitbucket-m3) reference:file:/home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home/plugins/.bundled-plugins/atlassian-remote-event-consumer-plugin-1.0.6-bitbucket-m3.jar
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] If you want to debug the Spring wiring of your code then set a DEBUG level log level as follows. [ This is a dev.mode only message. ]
[INFO] [talledLocalContainer] log4j.logger.com.atlassian.plugins.atlassian-remote-event-consumer-plugin.spring = DEBUG, console, filelog
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] 2017-08-23 09:11:07,663 WARN [ThreadPoolAsyncTaskExecutor::Thread 28] c.a.p.a.spring
[INFO] [talledLocalContainer] Spring context started for bundle : com.atlassian.plugins.atlassian-remote-event-producer-plugin id(88) v(1.0.6.bitbucket-m3) reference:file:/home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home/plugins/.bundled-plugins/atlassian-remote-event-producer-plugin-1.0.6-bitbucket-m3.jar
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] If you want to debug the Spring wiring of your code then set a DEBUG level log level as follows. [ This is a dev.mode only message. ]
[INFO] [talledLocalContainer] log4j.logger.com.atlassian.plugins.atlassian-remote-event-producer-plugin.spring = DEBUG, console, filelog
[INFO] [talledLocalContainer]
[INFO] [talledLocalContainer] 2017-08-23 09:11:17,782 WARN [spring-startup] c.a.s.i.p.OsgiBundledPathScanner Cannot scan directory /com/atlassian/oauth/shared/servlet/ in bundle com.atlassian.oauth.atlassian-oauth-service-provider-plugin as it does not exist
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,084 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,088 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,089 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,089 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,089 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,090 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,090 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,090 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,090 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,091 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,091 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,091 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,092 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,098 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,098 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,098 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,100 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,104 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,104 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,105 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,106 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,109 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,109 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,109 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,111 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,115 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,115 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:18,116 WARN [spring-startup] c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:19,632 WARN [spring-startup] c.a.stash.internal.home.HomeTracker The shared home directory has been moved from /opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/STASH-BR40RELEASE-PERFORM/target/checkout/func-test/plugin-test-resources/target/bitbucket/home/shared to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home/shared
[INFO] [talledLocalContainer] 2017-08-23 09:11:19,691 INFO [spring-startup] c.a.stash.internal.home.HomeTracker Invoking 1 handler(s) after shared home directory update
[INFO] [talledLocalContainer] 2017-08-23 09:11:19,704 INFO [spring-startup] c.a.stash.internal.home.HomeTracker 1 handler(s) have applied the home directory update successfully
[INFO] [talledLocalContainer] 2017-08-23 09:11:19,705 INFO [spring-startup] c.a.stash.internal.home.HomeTracker Updating benchmark shared home directory: /home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home/shared
[INFO] [talledLocalContainer] 2017-08-23 09:11:20,013 INFO [spring-startup] c.a.s.internal.scm.PluginScmService Bitbucket is using /usr/bin/git version 2.7.4
[INFO] [talledLocalContainer] 2017-08-23 09:11:20,539 INFO [spring-startup] c.a.s.internal.ssh.server.SshServer Starting SSH server on port 7999...
[INFO] [talledLocalContainer] 2017-08-23 09:11:20,675 INFO [spring-startup] c.a.s.internal.ssh.server.SshServer Started SSH server successfully.
[INFO] [talledLocalContainer] 2017-08-23 09:11:21,455 INFO [spring-startup] c.a.s.i.hazelcast.HazelcastLifecycle Updating Hazelcast instance capabilities
[INFO] [talledLocalContainer] Aug 23, 2017 9:11:21 AM org.apache.catalina.startup.HostConfig deployWAR
[INFO] [talledLocalContainer] INFO: Deployment of web application archive /home/vagrant/workspaces/git/TeamcityTriggerHook/target/container/tomcat8x/cargo-bitbucket-home/webapps/bitbucket.war has finished in 98,493 ms
[INFO] [talledLocalContainer] Aug 23, 2017 9:11:21 AM org.apache.catalina.startup.HostConfig deployDirectory
[INFO] [talledLocalContainer] INFO: Deploying web application directory /home/vagrant/workspaces/git/TeamcityTriggerHook/target/container/tomcat8x/cargo-bitbucket-home/webapps/host-manager
[INFO] [talledLocalContainer] Aug 23, 2017 9:11:21 AM org.apache.catalina.startup.HostConfig deployDirectory
[INFO] [talledLocalContainer] INFO: Deployment of web application directory /home/vagrant/workspaces/git/TeamcityTriggerHook/target/container/tomcat8x/cargo-bitbucket-home/webapps/host-manager has finished in 56 ms
[INFO] [talledLocalContainer] Aug 23, 2017 9:11:21 AM org.apache.catalina.startup.HostConfig deployDirectory
[INFO] [talledLocalContainer] INFO: Deploying web application directory /home/vagrant/workspaces/git/TeamcityTriggerHook/target/container/tomcat8x/cargo-bitbucket-home/webapps/manager
[INFO] [talledLocalContainer] Aug 23, 2017 9:11:21 AM org.apache.catalina.startup.HostConfig deployDirectory
[INFO] [talledLocalContainer] INFO: Deployment of web application directory /home/vagrant/workspaces/git/TeamcityTriggerHook/target/container/tomcat8x/cargo-bitbucket-home/webapps/manager has finished in 34 ms
[INFO] [talledLocalContainer] Aug 23, 2017 9:11:21 AM org.apache.coyote.AbstractProtocol start
[INFO] [talledLocalContainer] INFO: Starting ProtocolHandler ["http-nio-7990"]
[INFO] [talledLocalContainer] Aug 23, 2017 9:11:21 AM org.apache.coyote.AbstractProtocol start
[INFO] [talledLocalContainer] INFO: Starting ProtocolHandler ["ajp-nio-8009"]
[INFO] [talledLocalContainer] Aug 23, 2017 9:11:21 AM org.apache.catalina.startup.Catalina start
[INFO] [talledLocalContainer] INFO: Server startup in 98998 ms
[INFO] [talledLocalContainer] Tomcat 8.x started on port [7990]
[INFO] [talledLocalContainer] 2017-08-23 09:11:22,295 WARN [http-nio-7990-exec-4] @1YEYS28x551x1x0 127.0.0.1 "GET / HTTP/1.1" c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:22,298 WARN [http-nio-7990-exec-4] @1YEYS28x551x1x0 127.0.0.1 "GET / HTTP/1.1" c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:22,334 WARN [http-nio-7990-exec-4] @1YEYS28x551x1x0 127.0.0.1 "GET / HTTP/1.1" c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:22,335 WARN [http-nio-7990-exec-4] @1YEYS28x551x1x0 127.0.0.1 "GET / HTTP/1.1" c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:22,490 WARN [http-nio-7990-exec-4] @1YEYS28x551x1x0 127.0.0.1 "GET / HTTP/1.1" c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:22,491 WARN [http-nio-7990-exec-4] @1YEYS28x551x1x0 127.0.0.1 "GET / HTTP/1.1" c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:22,491 WARN [http-nio-7990-exec-4] @1YEYS28x551x1x0 127.0.0.1 "GET / HTTP/1.1" c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:22,491 WARN [http-nio-7990-exec-4] @1YEYS28x551x1x0 127.0.0.1 "GET / HTTP/1.1" c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:22,492 WARN [http-nio-7990-exec-4] @1YEYS28x551x1x0 127.0.0.1 "GET / HTTP/1.1" c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:22,492 WARN [http-nio-7990-exec-4] @1YEYS28x551x1x0 127.0.0.1 "GET / HTTP/1.1" c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:22,534 WARN [http-nio-7990-exec-4] @1YEYS28x551x1x0 127.0.0.1 "GET / HTTP/1.1" c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:22,536 WARN [http-nio-7990-exec-4] @1YEYS28x551x1x0 127.0.0.1 "GET / HTTP/1.1" c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:22,536 WARN [http-nio-7990-exec-4] @1YEYS28x551x1x0 127.0.0.1 "GET / HTTP/1.1" c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor BeforeInstantiation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter, level=-5]
[INFO] [talledLocalContainer] 2017-08-23 09:11:22,537 WARN [http-nio-7990-exec-4] @1YEYS28x551x1x0 127.0.0.1 "GET / HTTP/1.1" c.a.p.s.s.e.DevModeBeanInitialisationLoggerBeanPostProcessor AfterInitialisation [beanName=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter, objectType=com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter, level=-5]
[INFO] adding system property to configuration: http.bitbucket.protocol::http
[INFO] adding system property to configuration: http.port::7990
[INFO] adding system property to configuration: baseurl.bitbucket::http://aem-WKS27912:7990/bitbucket
[INFO] adding system property to configuration: reportsDirectory::/home/vagrant/workspaces/git/TeamcityTriggerHook/target/group-__no_test_group__/tomcat6x/surefire-reports
[INFO] adding system property to configuration: homedir.bitbucket::/home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home
[INFO] adding system property to configuration: http.bitbucket.url::http://aem-WKS27912:7990/bitbucket
[INFO] adding system property to configuration: product.4.0.0.version::4.0.0
[INFO] adding system property to configuration: context.bitbucket.path::/bitbucket
[INFO] adding system property to configuration: homedir::/home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home
[INFO] adding system property to configuration: baseurl::http://aem-WKS27912:7990/bitbucket
[INFO] adding system property to configuration: testGroup::__no_test_group__
[INFO] adding system property to configuration: context.path::/bitbucket
[INFO] adding system property to configuration: http.bitbucket.port::7990
[INFO] adding system property to configuration: plugin.jar::/home/vagrant/workspaces/git/TeamcityTriggerHook/target/TeamCityTriggerHook-3.2.0.jar
[INFO] adding system property to configuration: product.bitbucket.id::bitbucket
[INFO] Failsafe integration-test configuration:
[INFO] <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<includes>
<include>it/**</include>
</includes>
<excludes>
<exclude>**/*$*</exclude>
<exclude>**/Abstract*</exclude>
</excludes>
<systemPropertyVariables>
<http.bitbucket.protocol>http</http.bitbucket.protocol>
<http.port>7990</http.port>
<baseurl.bitbucket>http://aem-WKS27912:7990/bitbucket</baseurl.bitbucket>
<reportsDirectory>/home/vagrant/workspaces/git/TeamcityTriggerHook/target/group-__no_test_group__/tomcat6x/surefire-reports</reportsDirectory>
<homedir.bitbucket>/home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home</homedir.bitbucket>
<http.bitbucket.url>http://aem-WKS27912:7990/bitbucket</http.bitbucket.url>
<product.4.0.0.version>4.0.0</product.4.0.0.version>
<context.bitbucket.path>/bitbucket</context.bitbucket.path>
<homedir>/home/vagrant/workspaces/git/TeamcityTriggerHook/target/bitbucket/home</homedir>
<baseurl>http://aem-WKS27912:7990/bitbucket</baseurl>
<testGroup>__no_test_group__</testGroup>
<context.path>/bitbucket</context.path>
<http.bitbucket.port>7990</http.bitbucket.port>
<plugin.jar>/home/vagrant/workspaces/git/TeamcityTriggerHook/target/TeamCityTriggerHook-3.2.0.jar</plugin.jar>
<product.bitbucket.id>bitbucket</product.bitbucket.id>
</systemPropertyVariables>
<reportsDirectory>/home/vagrant/workspaces/git/TeamcityTriggerHook/target/group-__no_test_group__/tomcat6x/surefire-reports</reportsDirectory>
</configuration>
[INFO] Failsafe report directory: /home/vagrant/workspaces/git/TeamcityTriggerHook/target/group-__no_test_group__/tomcat6x/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
[WARNING] [talledLocalContainer] log4j:WARN No appenders could be found for logger (com.amazonaws.jmx.spi.SdkMBeanRegistry).
[WARNING] [talledLocalContainer] log4j:WARN Please initialize the log4j system properly.
[WARNING] [talledLocalContainer] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Running it.com.trimble.tekla.TeamcityTriggerHookITTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.887 sec <<< FAILURE!
it.com.trimble.tekla.TeamcityTriggerHookITTest Time elapsed: 3.886 sec <<< ERROR!
java.lang.IllegalStateException: Could not find resource for test [http://aem-WKS27912:7990/bitbucket/rest/atlassiantestrunner/1.0/runtest/it.com.trimble.tekla.TeamcityTriggerHookITTest]. Status: 404 - Not Found
at com.atlassian.plugins.osgi.test.AtlassianPluginsTestRunner.runViaRestCall(AtlassianPluginsTestRunner.java:107)
at com.atlassian.plugins.osgi.test.AtlassianPluginsTestRunner.run(AtlassianPluginsTestRunner.java:75)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Results :
Tests in error:
it.com.trimble.tekla.TeamcityTriggerHookITTest: Could not find resource for test [http://aem-WKS27912:7990/bitbucket/rest/atlassiantestrunner/1.0/runtest/it.com.trimble.tekla.TeamcityTriggerHookITTest]. Status: 404 - Not Found
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Failsafe report directory: /home/vagrant/workspaces/git/TeamcityTriggerHook/target/group-__no_test_group__/tomcat6x/surefire-reports
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:30 min
[INFO] Finished at: 2017-08-23T09:11:35+02:00
[INFO] Final Memory: 55M/613M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.atlassian.maven.plugins:bitbucket-maven-plugin:6.1.0:integration-test (default-integration-test) on project TeamCityTriggerHook: Unable to execute mojo: There are test failures.
[ERROR]
[ERROR] Please refer to /home/vagrant/workspaces/git/TeamcityTriggerHook/target/group-__no_test_group__/tomcat6x/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
I have the following triggers:
"<redacted>": {
"regex": "refs/heads/(.*)",
"target": "OnGitPush",
"type": "build",
"triggerOnEmptyBranches": false,
"triggerOnPullRequest": false,
"cancelRunningBuilds": false,
"triggerInclusion": "",
"triggerExclusion": "",
"downStreamTriggerType": "build",
"downStreamTriggerTarget": "",
"triggerWhenNoReviewers": true
},
"<redacted>": {
"regex": "refs/heads/(.*)",
"target": "PullRequest",
"type": "build",
"triggerOnEmptyBranches": false,
"triggerOnPullRequest": true,
"cancelRunningBuilds": false,
"triggerInclusion": "",
"triggerExclusion": "",
"downStreamTriggerType": "build",
"downStreamTriggerTarget": "",
"triggerWhenNoReviewers": true
My team's workflow is:
All fine.
However, if we push another commit to this same branch (as the result of a review, for example), it will trigger BOTH of the jobs.
Is this expected behaviour?
Rather than having to go into each repo and modify the settings, it would be nice if we can somehow mass edit the plugins,
Whether it be via a new GUI or having the settings stored in a editable xml, etc
It would be great if there were a checkbox to trigger a build as a personal build. This would be especially useful for builds that are triggered by unmerged pull requests.
According to Bitbucket Supported Platforms, all Java versions 1.8u65+ are supported in Bitbucket.
We had Java version 1.8u102, and app version 4.5.0, and it worked just fine. However, after updating the app to 4.5.1 or 4.5.2, the app would not enable. Once we upgraded Java to 1.8u191 or 1.8u212, the app enabled just fine.
This suggests that in version 4.5.1, a higher Java version dependency was added to the app.
This dependency does not appear in the Readme.
Either fix the dependency to allow lower versions, or mention the higher java dependency in the readme.
Steps to Reproduce
Vulnerabilities
DepShield reports that this application's usage of org.mortbay.jetty:jetty:6.1.26 results in the following vulnerability(s):
Occurrences
org.mortbay.jetty:jetty:6.1.26 is a transitive dependency introduced by the following direct dependency(s):
• com.atlassian.bitbucket.server:bitbucket-page-objects:5.6.0
└─ com.atlassian.bitbucket.server:bitbucket-it-common:5.6.0
└─ com.confluex:confluex-mock-http:0.4.3
└─ org.mortbay.jetty:jetty:6.1.26
This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.
Vulnerabilities
DepShield reports that this application's usage of org.apache.poi:poi-ooxml:3.11 results in the following vulnerability(s):
Occurrences
org.apache.poi:poi-ooxml:3.11 is a transitive dependency introduced by the following direct dependency(s):
• com.atlassian.bitbucket.server:bitbucket-page-objects:5.6.0
└─ com.atlassian.bitbucket.server:bitbucket-it-common:5.6.0
└─ com.atlassian.bitbucket.server:bitbucket-test-util:5.6.0
└─ org.dbunit:dbunit:2.5.1
└─ org.apache.poi:poi-ooxml:3.11
This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.
Vulnerabilities
DepShield reports that this application's usage of commons-fileupload:commons-fileupload:1.3.2 results in the following vulnerability(s):
Occurrences
commons-fileupload:commons-fileupload:1.3.2 is a transitive dependency introduced by the following direct dependency(s):
• com.atlassian.bitbucket.server:bitbucket-page-objects:5.6.0
└─ com.atlassian.bitbucket.server:bitbucket-it-common:5.6.0
└─ com.atlassian.plugins.rest:atlassian-rest-common:3.4.10
└─ com.atlassian.plugins.rest:com.atlassian.jersey-library:3.4.10
└─ commons-fileupload:commons-fileupload:1.3.2
This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.
Vulnerabilities
DepShield reports that this application's usage of org.apache.poi:poi:3.11 results in the following vulnerability(s):
Occurrences
org.apache.poi:poi:3.11 is a transitive dependency introduced by the following direct dependency(s):
• com.atlassian.bitbucket.server:bitbucket-page-objects:5.6.0
└─ com.atlassian.bitbucket.server:bitbucket-it-common:5.6.0
└─ com.atlassian.bitbucket.server:bitbucket-test-util:5.6.0
└─ org.dbunit:dbunit:2.5.1
└─ org.apache.poi:poi-ooxml:3.11
└─ org.apache.poi:poi:3.11
This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.
Hallo
The https://github.com/TrimbleSolutionsCorporation/TeamcityTriggerHook/blob/master/src/main/java/com/trimble/tekla/TeamcityPullrequestEventListener.java checks where the pull-requests come from, but if developers don't use "feature" or "bugfix" etc a new pull request will not trigger a teamcity build.
Could this also consider the custom-branch pattern?
In our case any new pull-request needs to start a build - but not both /from and /merge branches. We currently only build one of them.
Thanks :)
Hi,
If using the BitBucket branching model with default branch prefixes, the current version of plugin only supports build triggers when TeamCity VCS branch definitions is one of the following or combination of the following:
+:refs/heads/(master)
+:refs/heads/feature/(*)
+:refs/heads/bugfix/(*)
+:refs/heads/hotfix/(*)
+:refs/heads/release/(*)
However our project uses different TeamCity branch definitions (below). And those definitions are the only ones supported by Sonar for Bitbucket Server plugin. And due to the nature of our build server configuration currently using "VCS" trigger does not work in a satisfactory fashion.
+:refs/heads/(master)
+:refs/heads/(feature/*)
+:refs/heads/(bugfix/*)
+:refs/heads/(hotfix/*)
+:refs/heads/(release/*)
Support for above mentioned VCS branch definitions is required while using "build" trigger.
Hallo
I've installed the plugin in out BitBucket 4.8 Server and can Trigger Builds in TeamCity 10 using the build config Id.
We have an issue with the branch names. The default branch name we use is refs/heads/master (which seems to be the default in bitbucket as well).
We have also enabled builds for pull requests by adding this into the branch specification of the VCS root in TeamCity:
+:refs/(pull-requests/*/from)
But the plugin triggers the build on "master" (not refs/heads/master) so the builds in TeamCity look weird (see screenshot):
There are now detected changes on "refs/heads/master" and a build that ran (that was triggered) for "master".
Re-configuring the default branch to "master" somehow did not change this. Maybe that only works for new TeamCity builds.
Is it possible to specify the default branch name on the plugin?
Thanks!
"At least o configuration should be set".
Issue 1: I assume that is a typo and "on" should be "one".
I don't know what this is trying to tell me. I'm using v3.1, which brings up another issue. There is a serious mismatch between versioning on this GitHub and the versioning listed here:
https://marketplace.atlassian.com/plugins/com.trimble.tekla/versions
One last minor typo that doesn't really merit its own issue... "Teamcity" should be "TeamCity" throughout the project to match JetBrains' branding.
Vulnerabilities
DepShield reports that this application's usage of org.springframework:spring-core:4.3.12.RELEASE results in the following vulnerability(s):
Occurrences
org.springframework:spring-core:4.3.12.RELEASE is a transitive dependency introduced by the following direct dependency(s):
• com.atlassian.bitbucket.server:bitbucket-page-objects:5.6.0
└─ org.springframework:spring-web:4.3.12.RELEASE
└─ org.springframework:spring-aop:4.3.12.RELEASE
└─ org.springframework:spring-core:4.3.12.RELEASE
└─ org.springframework:spring-beans:4.3.12.RELEASE
└─ org.springframework:spring-core:4.3.12.RELEASE
└─ org.springframework:spring-context:4.3.12.RELEASE
└─ org.springframework:spring-expression:4.3.12.RELEASE
└─ org.springframework:spring-core:4.3.12.RELEASE
└─ org.springframework:spring-core:4.3.12.RELEASE
└─ org.springframework:spring-core:4.3.12.RELEASE
This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.
@auriusbendikas seems we have aui tabs broken in 6.0, would you have time to look at it?
When trying to use a TeamCity password that ends in "!@#" (exclamation point, at-symbol, number symbol), the password would never be accepted by the "Test and Save Connection" button. I'm not sure which character it fails on, but one of those characters causes a login failure.
Hello guys,
From what can I see custom branch regex in config of the plugin doesn't work. I tried different regex and end up with:
.*refactor.*
So each branch which have refactor
in it should be triggered in TC. Unfortunately this is not the case ...
I took a peek on the code and per my understanding in TeamCityTriggerHook
the regex is correctly processed ...
Could you please take a look.
I've switched some of our builds from Jenkins over to TeamCity and have found that TeamcityTriggerHook is a suitable replacement for the Jenkins hook that we use. The Jenkins hook has a convenient "Trigger Build" menu option available on pull requests, allowing builds to be triggered on demand when necessary. Requesting that similar functionality be added to the TeamcityTriggerHook.
When merging a PR in bitbucket two builds are triggered on the teamcity server. The real strange thing about this is, both are marked as the branch the pr is merged to. But one build is the actual merge commit, the other one is the last commit from the PR branch.
This behavior starts after updating the hook plugin in bitbucket.
As the title says, this does not work for BitBucket 5.x.x
Test and Save works... but as soon as I enable it I get an error saying the url field is blank (when it is not)
prevent merge if builds are running, covering the cases where test is running
I enabled the post recieve hook , but doesn't see any build it test Menu
Vulnerabilities
DepShield reports that this application's usage of io.netty:netty:3.5.2.Final results in the following vulnerability(s):
Occurrences
io.netty:netty:3.5.2.Final is a transitive dependency introduced by the following direct dependency(s):
• com.atlassian.bitbucket.server:bitbucket-page-objects:5.6.0
└─ com.atlassian.selenium:atlassian-pageobjects-elements:2.4.0
└─ com.atlassian.selenium:atlassian-webdriver-core:2.4.0
└─ org.seleniumhq.selenium:selenium-java:2.51.0
└─ org.webbitserver:webbit:0.4.14
└─ io.netty:netty:3.5.2.Final
This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.
Method was removed in v5.
java.lang.RuntimeException: com.atlassian.bitbucket.repository.RefChange.getRefId()Ljava/lang/String;. Listener: com.atlassian.stash.internal.hook.repository.CoreRefChangeEventToRepositoryHookAdapter event: com.atlassian.bitbucket.event.repository.RepositoryPushEvent at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:55) at com.atlassian.stash.internal.event.AsyncBatchingInvokersTransformer$AsyncInvokerBatch.invoke(AsyncBatchingInvokersTransformer.java:109) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:38) at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:34) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.lang.Thread.run(Thread.java:745) ... 1 frame trimmed Caused by: java.lang.NoSuchMethodError: com.atlassian.bitbucket.repository.RefChange.getRefId()Ljava/lang/String; at com.trimble.tekla.TeamcityTriggerHook.postReceive(TeamcityTriggerHook.java:69) at com.atlassian.stash.internal.plugin.legacy.AsyncPostReceiveRepositoryHookAdapter.postUpdate(AsyncPostReceiveRepositoryHookAdapter.java:22) at com.atlassian.stash.internal.plugin.legacy.CompositeRepositoryHook.lambda$postUpdate$1(CompositeRepositoryHook.java:58) at com.atlassian.stash.internal.plugin.legacy.CompositeRepositoryHook$$Lambda$1153/1427667203.apply(Unknown Source) at com.atlassian.stash.internal.plugin.legacy.CompositeRepositoryHook.handlingExceptions(CompositeRepositoryHook.java:86) at com.atlassian.stash.internal.plugin.legacy.CompositeRepositoryHook.postUpdate(CompositeRepositoryHook.java:57) at com.atlassian.stash.internal.hook.repository.DefaultRepositoryHookService.postUpdate(DefaultRepositoryHookService.java:573) at com.atlassian.stash.internal.hook.repository.DefaultRepositoryHookService.doPostUpdate(DefaultRepositoryHookService.java:417) at com.atlassian.stash.internal.hook.repository.DefaultRepositoryHookService.postUpdate(DefaultRepositoryHookService.java:235) at com.atlassian.stash.internal.hook.repository.CoreRefChangeEventToRepositoryHookAdapter.onRefsChanged(CoreRefChangeEventToRepositoryHookAdapter.java:49) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:40) ... 6 common frames omitted
Hallo
I've looked into the atlassian-bitbucket.log and noticed quite a lot of NullPointerExceptions that seem to come from the plugin - although we currently only test it on a handful of builds:
we use RC8
2017-03-07 08:37:08,748 ERROR [http-nio-8443-exec-149] U803943 @1JI9HPHx517x20993387x9 1bkmsyw 10.36.101.84 "GET /rest/teamcity/latest/projects/..../externalbuilds HTTP/1.1" c.a.p.r.c.e.j.ThrowableExceptionMapper Uncaught exception thrown by REST service: null java.lang.NullPointerException: null at com.trimble.tekla.rest.TeamctiyRest.getExternalConfiguration(TeamctiyRest.java:253) ~[plugin_2576699521728206614_TeamcityTriggerHook-3.0.0-RC8_1488295490000.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24) [applinks-plugin-5.2.2_1471837580000.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24) [applinks-plugin-5.2.2_1471837580000.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24) [applinks-plugin-5.2.2_1471837580000.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24) [applinks-plugin-5.2.2_1471837580000.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24) [applinks-plugin-5.2.2_1471837580000.jar:na] at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(ApiScopingFilter.java:81) [atlassian-connect-plugin-1.1.86-bitbucket-04.jar:na] at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:88) [classes/:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:109) [classes/:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75) [classes/:na] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:94) [atlassian-trusted-apps-core-4.2.0.jar:na] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:67) [atlassian-oauth-service-provider-plugin-2.0.3_1471837580000.jar:na] at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) [atlassian-core-4.6.19.jar:na] at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) [atlassian-core-4.6.19.jar:na] at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(ThreeLeggedAuthFilter.java:109) [atlassian-connect-plugin-1.1.86-bitbucket-04.jar:na] at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:32) [jwt-plugin-1.5.11-0002_1471837580000.jar:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:87) [classes/:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:73) [classes/:na] at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:86) ~[bitbucket-service-impl-4.8.5.jar:na] at com.atlassian.stash.internal.hazelcast.ConfigurableWebFilter.doFilter(ConfigurableWebFilter.java:38) ~[classes/:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_66] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_66] ... 226 frames trimmed
then there is a less frequent one:
2017-03-07 08:38:02,234 ERROR [http-nio-8443-exec-90] U112334 @1JI9HPHx518x20994664x10 grhs6f 10.38.68.207 "GET /projects/VVL/repos/..../pull-requests/43/overview HTTP/1.1" c.a.p.web.DefaultWebInterfaceManager Could not evaluate condition 'com.atlassian.plugin.web.conditions.AndCompositeCondition@352e3bff' for descriptor: com.trimble.tekla:stash.teamcity.trigger (null) java.lang.NullPointerException: null at com.trimble.tekla.WebhookIsEnabledCondition.shouldDisplay(WebhookIsEnabledCondition.java:67) ~[na:na]
and also:
2017-03-07 08:38:04,362 ERROR [http-nio-8443-exec-141] U112334 @1JI9HPHx518x20994726x4 grhs6f 10.38.68.207 "GET /rest/teamcity/latest/projects/VVL/repos/.../builds HTTP/1.1" c.a.p.r.c.e.j.ThrowableExceptionMapper Uncaught exception thrown by REST service: null java.lang.NullPointerException: null at com.trimble.tekla.rest.TeamctiyRest.getBuildsConfiguration(TeamctiyRest.java:198) ~[plugin_2576699521728206614_TeamcityTriggerHook-3.0.0-RC8_1488295490000.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24) [applinks-plugin-5.2.2_1471837580000.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24) [applinks-plugin-5.2.2_1471837580000.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24) [applinks-plugin-5.2.2_1471837580000.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24) [applinks-plugin-5.2.2_1471837580000.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24) [applinks-plugin-5.2.2_1471837580000.jar:na] at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(ApiScopingFilter.java:81) [atlassian-connect-plugin-1.1.86-bitbucket-04.jar:na] at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:88) [classes/:na]
and some more:
Caused by: java.lang.NullPointerException: null at com.trimble.tekla.TeamcityPullrequestEventListener.TriggerBuildFromPullRequest(TeamcityPullrequestEventListener.java:77) ~[na:na] at com.trimble.tekla.TeamcityPullrequestEventListener.onPullRequestOpenedEvent(TeamcityPullrequestEventListener.java:39) ~[na:na] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ~[atlassian-event-3.0.0.jar:na] ... 6 common frames omitted
The Trigger Hook is not enabled on those repositories that throw the NPE.
Could you please have a look?
If I merge a pull request of a feature into a target branch via bitbucket, this does not tigger a team city build. It needs a follow up commit in any branch, to trigger team city.
Would be good if the the plugin could also trigger team city in case of a merge into the target branch.
Thanks
Denny
@auriusbendikas it seems if a build contains no branch definitions (the default when you create a vcs root) then the hook is no longer able to trigger the default branch. instead it triggers the captured build.
this is a regression from previous version, do you have a solution for this? or do we need to add another advanced option?
I have created TC configuration with
Build configuration ID = Microservices_BitBucket
and when trying to configure to work with webhook
branch which is present in my repo:
I get error on save:
Must have exactly one capturing group.
I haven't found [TeamCityTriggerHook]
in attlasian-bitbucket.log file so tell me what I'm doing wrong?
If a branch is created locally and pushed to bitbucket it seams not to trigger teamcity. Even with some local commits and pushing to server no trigger fires.
If i do a 'ammend commit' after pushing the new branch (and push this new ammended commit) teamcity starts a new build
Vulnerabilities
DepShield reports that this application's usage of org.codehaus.groovy:groovy-all:2.4.7 results in the following vulnerability(s):
Occurrences
org.codehaus.groovy:groovy-all:2.4.7 is a transitive dependency introduced by the following direct dependency(s):
• com.atlassian.bitbucket.server:bitbucket-page-objects:5.6.0
└─ com.atlassian.bitbucket.server:bitbucket-it-common:5.6.0
└─ org.codehaus.groovy:groovy-all:2.4.7
This is an automated GitHub Issue created by Sonatype DepShield. Details on managing GitHub Apps, including DepShield, are available for personal and organization accounts. Please submit questions or feedback about DepShield to the Sonatype DepShield Community.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.