Comments (9)
You're welcome @sravan-bala! I'll try to look into it in the next few days.
from hubot-jenkins-enhanced.
@sravan-bala In the meantime, do you mind sharing what all environment variables you have set? (of course, replacing the values with "fake" data)
If you only have 1 server, you can just use HUBOT_JENKINS_URL
and HUBOT_JENKINS_AUTH
.
If you peak at #_LoadConfiguration you'll see what I mean.
from hubot-jenkins-enhanced.
Thanks @wintondeshong for the reply. I have given variables as below
export HUBOT_JENKINS_URL="<server1>"
export HUBOT_JENKINS_1_URL="<server2>"
export HUBOT_JENKINS_AUTH="username:password"
export HUBOT_JENKINS_1_AUTH="username:password"
And also I tried to set aliases. Setting alias is working, but when I run the job using alias/running with jobname itself causing the botuser/hipchat stuck. May be its nothing to do with variable name, only with jenkins job trigger. Not sure though! More than multi-server thing, I would be looking forward for aliases. I totally love the concept of aliasing, as we need not remember whole jenkins name with spacing, everytime.
from hubot-jenkins-enhanced.
Just letting you know I haven't forgotten you @sravan-bala. I've been slammed with my full-time gig lately. I hope to get to it this week. I'll keep you posted.
from hubot-jenkins-enhanced.
@wintondeshong No probs! Take your time!
from hubot-jenkins-enhanced.
@sravan-bala Sorry for the delay. Did you ever resolve your issue above?
from hubot-jenkins-enhanced.
Bringing this back from the dead but was this ever resolved? The plugin works when building a project by name but when trying to build by number i get an exception..
[Wed Jun 28 2017 08:03:44 GMT+0000 (UTC)] ERROR TypeError: Cannot read property 'url' of null
at HubotJenkinsPlugin._requestFactorySingle (/opt/bot/node_modules/hubot-jenkins-enhanced/src/jenkins-enhanced.coffee:337:5, :527:25)
at HubotJenkinsPlugin._requestFactorySingle (/opt/bot/node_modules/hubot-jenkins-enhanced/src/jenkins-enhanced.coffee:31:1, :3:61)
at HubotJenkinsPlugin.build (/opt/bot/node_modules/hubot-jenkins-enhanced/src/jenkins-enhanced.coffee:197:5, :316:19)
at HubotJenkinsPlugin.build (/opt/bot/node_modules/hubot-jenkins-enhanced/src/jenkins-enhanced.coffee:31:1, :3:61)
at TextListener.callback (/opt/bot/node_modules/hubot-jenkins-enhanced/src/jenkins-enhanced.coffee:457:5, :688:33)
at executeListener (/opt/bot/node_modules/hubot/src/listener.coffee:65:11, :53:19)
at allDone (/opt/bot/node_modules/hubot/src/middleware.coffee:44:37, :34:16)
at /opt/bot/node_modules/async/lib/async.js:274:13
at Object.async.eachSeries (/opt/bot/node_modules/async/lib/async.js:142:20)
at Object.async.reduce (/opt/bot/node_modules/async/lib/async.js:268:15)
at /opt/bot/node_modules/hubot/src/middleware.coffee:49:7, :37:22
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
from hubot-jenkins-enhanced.
Hey folks!
did someone get around the above issue??
@wintondeshong @sravan-bala
from hubot-jenkins-enhanced.
you need to enter the job name instead of the jobNumber
from hubot-jenkins-enhanced.
Related Issues (20)
- Job with spaces in name HOT 14
- Support for multi-branch pipelines? HOT 2
- HTTP 400 - Bad request. HOT 4
- Failure with message ERROR TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object HOT 1
- Jenkins certificate ? HOT 5
- Hubot - Call jenkis job return error 404 HOT 2
- How to remove an alias HOT 2
- how to support multiple jenkins server with same job name? HOT 2
- HUBOT_JENKINS_{1-N}_URL HOT 2
- build with parameters not work HOT 2
- jenkins crumb support in 1.2.2 HOT 4
- Using aliases with folders
- Rename default branch from master to main.
- When jenkinsJOB exceeds 500, jenkins list cannot be used normally
- Update NPM package? HOT 1
- No Hubot output with this module and Hipchat
- correct parsing of ampersand in @_params used when constructing jenkins url HOT 2
- Parameters are not passed to the job HOT 1
- building jobs in nested folders HOT 7
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 hubot-jenkins-enhanced.