Comments (10)
I'm not really sure how it should behave in terms of generating links, etc.
from stashnotifier-plugin.
I'd expect the plugin to link like before. I'm not sure how the links are generated right now, but all of those entries should generally link to the same build. If possible it could link to the exact build step (which is possible as far as i know for the Blue Ocean Pipeline UI).
from stashnotifier-plugin.
If you don't care about links you can do this kind of setup by yourself by manipulating project key and description while performing notification. different project key will result in different build records
from stashnotifier-plugin.
Thank you for the advice. I think this will work as a workaround. But in the long term i would look forward to a direct parameter without the need to change build parameters back and forth.
Edit: Actually only the displayName
can be overwritten. So it is not possible to fully customize the build name this way.
from stashnotifier-plugin.
Also it is not possible to overwrite currentBuild.result
multiple times:
currentBuild.result = 'SUCCESS'
echo currentBuild.result
currentBuild.result = 'NOT_BUILD'
echo currentBuild.result
currentBuild.result = 'SUCCESS'
echo currentBuild.result
currentBuild.result = 'NOT_BUILD'
echo currentBuild.result
currentBuild.result = 'FAILURE'
echo currentBuild.result
currentBuild.result = 'UNSTABLE'
echo currentBuild.result
currentBuild.result = 'FAILURE'
echo currentBuild.result
will produce:
[Pipeline] echo
SUCCESS
[Pipeline] echo
FAILURE
[Pipeline] echo
FAILURE
[Pipeline] echo
FAILURE
[Pipeline] echo
FAILURE
[Pipeline] echo
FAILURE
[Pipeline] echo
FAILURE
This is part of the #209 issue.
from stashnotifier-plugin.
@geralvin @westarne I would appreciate a PR for (buildName+buildKey) and\or buildState management with a BC keep. Why not if it solves user problems
from stashnotifier-plugin.
what is BC ?
Anyway I'll try make some changes.
from stashnotifier-plugin.
Backward compatibility
from stashnotifier-plugin.
I've added a merge request #243
from stashnotifier-plugin.
Fixed in #243
from stashnotifier-plugin.
Related Issues (20)
- Only notify current repo when multiple repos are in use HOT 4
- More control over bitbucket bit failure popup HOT 3
- Missing required parameter: "buildName" HOT 12
- Status in case of multiple commits only returned for newest HOT 2
- Pipeline flow get stuck at “Notifying stash” after finishing all stages HOT 3
- Exception while Notifying Build status to Bitbucket HOT 1
- captcha error HOT 2
- Working with Proxy HOT 15
- Add Support for notifying Build Logs and Artifacts for Bitbucket Server >7.5 HOT 2
- java.lang.ClassCastException: expects class java.lang.String HOT 11
- INPROGRESS status missing HOT 2
- Duplicate status notifications HOT 2
- Job continues to run on password expiration exception HOT 2
- Swappable Client Implementation? HOT 1
- Options to handle exception when notifying bitbucket HOT 4
- Bitbucket 7.15 RestAPI update HOT 6
- Allow overriding the build url used for the build
- How to enable logs for this Plugin HOT 1
- Inquiry about Dynamic Credential Support in StashNotifier Plugin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stashnotifier-plugin.