how to provide --from-file parameter via jenkins openshift build plugin -


i want convert below openshift command run jenkins pipeline openshift build plugin.

oc start-build ${appname}-docker --from-file=microservicesdemoapp/target/myapp.jar -n ${project} 

the problem can't find how provide --from-file parameter via plugin.

it passed individual quoted argument similar below:

openshift.startbuild("${applicationname}", "--from-dir=.", "--wait=true", "-n  ${projectname}") 

Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -