Code Monkey home page Code Monkey logo

Comments (6)

kevinburke avatar kevinburke commented on August 17, 2024

When you have parameters Jenkins expects you to POST at the build endpoint with data (your parameters). Currently we POST with no data and Jenkins rejects this with a 400.

The API exposes this - the "properties" array is nonempty for parameterized builds.

Maybe we should fetch data from Jenkins once when the page loads and set variables in the environment.

This will require a bit of work to refactor the existing code, I imagine.

from doony.

rushi avatar rushi commented on August 17, 2024

Yes, that is my understanding as well. How would you 'set variables in the environment' ? Cookies?

from doony.

kevinburke avatar kevinburke commented on August 17, 2024

No, just javascript

var isParameterized = false;


Kevin Burke | 415-723-4116 | www.twilio.com

On Wed, Oct 2, 2013 at 10:49 AM, Rushi Vishavadia
[email protected]:

Yes, that is my understanding as well. How would you 'set variables in the
environment' ? Cookies?


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-25560640
.

from doony.

kevinburke avatar kevinburke commented on August 17, 2024

I'd still show the button, it would just go to the builds page instead of
to the console output, or failing


Kevin Burke | 415-723-4116 | www.twilio.com

On Wed, Oct 2, 2013 at 10:56 AM, Rushi Vishavadia
[email protected]:

Only problem is then you have to wait till the JSON call is completed
before deciding to show the build now button. It looks odd for a button to
just appear next to the h1 after the page loads.


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-25561325
.

from doony.

rushi avatar rushi commented on August 17, 2024

Yep, I realized that, so deleted my post. I had confused myself with
another issue when I wrote that.

On Wed, Oct 2, 2013 at 11:27 PM, Kevin Burke [email protected]:

I'd still show the button, it would just go to the builds page instead of
to the console output, or failing


Kevin Burke | 415-723-4116 | www.twilio.com

On Wed, Oct 2, 2013 at 10:56 AM, Rushi Vishavadia
[email protected]:

Only problem is then you have to wait till the JSON call is completed
before deciding to show the build now button. It looks odd for a button
to
just appear next to the h1 after the page loads.


Reply to this email directly or view it on GitHub<
https://github.com/kevinburke/doony/issues/5#issuecomment-25561325>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-25561438
.

from doony.

wilmoore avatar wilmoore commented on August 17, 2024

I'd still show the button, it would just go to the builds page instead of to the console output, or failing.

FYI, #53 takes care of this.

from doony.

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.