Comments (15)
from stashnotifier-plugin.
Yes, it uses built-in jenkins proxy if configured
from stashnotifier-plugin.
from stashnotifier-plugin.
no, it's not possible. you trying to run a job on agent which is cannot access bitbucket with global proxy?
from stashnotifier-plugin.
It is a shared Jenkins. Used for lots of other jobs. The environment cannot access the bitbucket directly, but instead it needs to go through proxy. This is a specific use case for our jobs. We do not want the whole Jenkins to use that proxy. That is the problem
from stashnotifier-plugin.
no, it's not possible. you trying to run a job on agent which is cannot access bitbucket with global proxy?
It can access with global proxy, but we do not want a global proxy, cause it will affect all of our Jenkins. We need a proxy for that pipeline only
from stashnotifier-plugin.
how do you perform checkout on this environment?
from stashnotifier-plugin.
We have a variable gitproxy: proxyaddress
I believe that is being added as a parameter for git to know it uses proxy.
So when it checkouts it does
using GIT_ASKPASS to set credentials Company Bitbucket Service User
Setting http proxy: b2b-http.something.com:8080
from stashnotifier-plugin.
If the slave node is under your control you can try to run agent process with envs like this JAVA_OPTS=-Dhttp.proxyHost=192.168.0.101 -Dhttp.proxyPort=3128 -Dhttps.proxyHost=192.168.0.101 -Dhttps.proxyPort=3128
from stashnotifier-plugin.
No direct access to the agent, but maybe that can be added as an env to the pipeline during runtime?
from stashnotifier-plugin.
If the slave node is under your control you can try to run agent process with envs like this
JAVA_OPTS=-Dhttp.proxyHost=192.168.0.101 -Dhttp.proxyPort=3128 -Dhttps.proxyHost=192.168.0.101 -Dhttps.proxyPort=3128
Will it take JAVA OPTS from master Jenkins or from slave?
from stashnotifier-plugin.
As adviced I changed JAVA OPTS of jenkins agent, but no proxy was used in this case :(
from stashnotifier-plugin.
@scaytrase Do you plan to add that feature to the plugin?
from stashnotifier-plugin.
No, currently not. I'd better suggest to support slave node proxy instead of adding separate proxy settings to each plugin. You can try to fill a PR with it if you want to
from stashnotifier-plugin.
No, currently not. I'd better suggest to support slave node proxy instead of adding separate proxy settings to each plugin. You can try to fill a PR with it if you want to
I want, but I'm not a developer
from stashnotifier-plugin.
Related Issues (20)
- Only notify current repo when multiple repos are in use HOT 4
- Add argument for build name HOT 10
- 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
- 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.