Giter VIP home page Giter VIP logo

Comments (7)

gabemontero avatar gabemontero commented on July 19, 2024

hey @eliu - this has come up before .... see #22 for the detailed explanation what this plugin will tolerate wrt parameters

if you are still having trouble after adjusting your syntax, reopen, and we'll go from there

from jenkins-client-plugin.

eliu avatar eliu commented on July 19, 2024

@gabemontero I think the reference you provide only works on Jenkins pipelines, not the case for a free-style project. I have tried all of the combining possibilities with no luck at all.

Started by user admin
Building in workspace /var/lib/jenkins/jobs/param_test/workspace
Executing: oc ${env.WORKSPACE}  --server=https://172.30.0.1:443 --namespace=ci --token=XXXXX 
Error: unknown command "${env.WORKSPACE}" for "oc"
Run 'oc --help' for usage.
Client tool terminated with status: 1
Build step 'OpenShift - Generic OC Invocation' marked build as failure
Finished: FAILURE
Started by user admin
Building in workspace /var/lib/jenkins/jobs/param_test/workspace
Executing: oc ${params.MY_PARAM}  --server=https://172.30.0.1:443 --namespace=ci --token=XXXXX 
Error: unknown command "${params.MY_PARAM}" for "oc"
Run 'oc --help' for usage.
Client tool terminated with status: 1
Build step 'OpenShift - Generic OC Invocation' marked build as failure
Finished: FAILURE

from jenkins-client-plugin.

eliu avatar eliu commented on July 19, 2024

@gabemontero and i guess the following link have better instructions about how to use this paramterized build feature. And now i wonder if this feature can be supported by the OpenShift Client plugin itself.

https://wiki.jenkins.io/display/JENKINS/Parameterized+Build

from jenkins-client-plugin.

gabemontero avatar gabemontero commented on July 19, 2024

@eliu yeah after completing your other issue I realized I may have misinterpreted this one. The rules and/or what the plugin has to do can vary with freestyle.

I thought we migrated what was done with openshift pipeline plugin for this one but will take a look and report back.

from jenkins-client-plugin.

gabemontero avatar gabemontero commented on July 19, 2024

Yep we did NOT migrate the param substitution logic. I'll start working a change.

from jenkins-client-plugin.

eliu avatar eliu commented on July 19, 2024

Good to know. I'll be waiting for the next update of the plugin :)

from jenkins-client-plugin.

eliu avatar eliu commented on July 19, 2024

@gabemontero Sorry to interrupt, but i have still not receive an further update of this jenkins client plugin from Jenkins plugin management center. Is there anything else that need to proceed to make the update available?

from jenkins-client-plugin.

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.