Giter Club home page Giter Club logo

Comments (9)

wintondeshong avatar wintondeshong commented on August 25, 2024

You're welcome @sravan-bala! I'll try to look into it in the next few days.

from hubot-jenkins-enhanced.

wintondeshong avatar wintondeshong commented on August 25, 2024

@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.

sravan-bala avatar sravan-bala commented on August 25, 2024

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.

wintondeshong avatar wintondeshong commented on August 25, 2024

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.

sravan-bala avatar sravan-bala commented on August 25, 2024

@wintondeshong No probs! Take your time!

from hubot-jenkins-enhanced.

wintondeshong avatar wintondeshong commented on August 25, 2024

@sravan-bala Sorry for the delay. Did you ever resolve your issue above?

from hubot-jenkins-enhanced.

potchin avatar potchin commented on August 25, 2024

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.

jairaman12 avatar jairaman12 commented on August 25, 2024

Hey folks!
did someone get around the above issue??
@wintondeshong @sravan-bala

from hubot-jenkins-enhanced.

soelu avatar soelu commented on August 25, 2024

you need to enter the job name instead of the jobNumber

from hubot-jenkins-enhanced.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.