Hi All
Not sure if someone here could Help me with this one...
Currently I have a Remote Build within my Flask Web Application.. That
Triggers the Job: I would like to display the results as a Flash Message
within my Webpage. Is it possible to display the Results of the Job (
Failed or
015 at 1:30:03 PM UTC-4, John Marks wrote:
>
> I'm using the following linux command line to do a remote build
> using Jenkins version 1.613
>
> curl -X POST
>
> http://gmastst-app2.cadm.harvard.edu:8915/jenkins/job/build-gmas-entity-service/build
&g
don't get a warning in the Jenkins console anymore.)
Something else is wrong. Should I try running with a different container or
installing the latest version?
On Tuesday, September 15, 2015 at 1:30:03 PM UTC-4, John Marks wrote:
>
> I'm using the following linux command line to do
AM, John Marks wrote:
> I'm using the following linux command line to do a remote build using
> Jenkins version 1.613
>
> curl -X POST
> http://gmastst-app2.cadm.harvard.edu:8915/jenkins/job/build-gmas-entity-service/build
> --data token=gmasbuild
>
> What I get lo
I'm using the following linux command line to do a remote build using
Jenkins version 1.613
curl -X POST
http://gmastst-app2.cadm.harvard.edu:8915/jenkins/job/build-gmas-entity-service/build
--data token=gmasbuild
What I get looks like a long HTML response that's expectin
Or given that assuming you really want to use curl, presumably you could
reference the code base of those projects to try and see how to do it :)
Richard.
On Sat, 22 Aug 2015 6:33 am Khai Do wrote:
> If you don't mind using Python, both the python-jenkins and jenkinsapi
> packages can do this f
If you don't mind using Python, both the python-jenkins and jenkinsapi
packages can do this for you pretty easily. Both are wrappers around the
Jenkins REST api so basically exactly what you are trying to do with curl.
On Thursday, August 20, 2015 at 9:28:57 AM UTC-7, Greg Nifor wrote:
>
> Cau
Update: Still doesn't work
json='{"parameter": [{"name": "text", "value": "AA"}, {"name": "file",
"value": "file0"}]}'
url=
curl $url -F file0=@ -F json="$json" -u :
On Monday, August 17, 2015 at 2:42:58 PM UTC-7, Daniel Beck wrote:
>
> How to trigger a build with parameters is explained on the
Caused by: java.lang.NullPointerException
at hudson.model.FileParameterValue.(FileParameterValue.java:78)
On Thursday, August 20, 2015 at 9:23:53 AM UTC-7, Greg Nifor wrote:
>
> Update: Still doesn't work
>
> json='{"parameter": [{"name": "text", "value": "AA"}, {"name": "file",
> "val
How to trigger a build with parameters is explained on the /job/JOBNAME/api URL
in Jenkins -- the wiki page on the topic is a bit weird.
On 17.08.2015, at 22:39, Walter Kelt wrote:
> Just looked at the Jenkins remote access api. Looks like file and parameters
> need to be passed into curl in a
Will do, thank you!
On Monday, August 17, 2015 at 1:39:26 PM UTC-7, walter.kelt wrote:
>
> Just looked at the Jenkins remote access api. Looks like file and
> parameters need to be passed into curl in a json format. Not sure what
> Jenkins version you are using, but you may want to check it out.
Just looked at the Jenkins remote access api. Looks like file and parameters
need to be passed into curl in a json format. Not sure what Jenkins version you
are using, but you may want to check it out.
If you are doing a parametrized build it looks to be a little more complicated
and I don't s
The job I'm triggering has two parameters, git and root. The curl sets
those and I'm able to use those in my execute shell step.
On Monday, August 17, 2015 at 12:57:38 PM UTC-7, walter.kelt wrote:
>
> Hmmm..when issuing a multipart form submission, i wouldn't expect the
> multipart parameters t
Hmmm..when issuing a multipart form submission, i wouldn't expect the
multipart parameters to become Linux shell variables unless the code receiving
the http request took the parameters and made them so. Does your http endpoint
do so ? Seems I am missing something.
Sent from my iPad
> On Aug
Linux, there's no errors. The command goes through, but Jenkins doesn't
pick up on the variables when I echo them out this is the output:
*12:31:06* + echo *12:31:06* *12:31:06* + echo root*12:31:06* root
Top one echos git and the second one echoes root (it's default value is
root)
echo $git
What was the error message ? paste the most current command. Also, windows or
Linux ?
Sent from my iPad
> On Aug 17, 2015, at 3:27 PM, Greg Nifor wrote:
>
> That didn't work.
>
>> On Monday, August 17, 2015 at 12:19:24 PM UTC-7, walter.kelt wrote:
>> I think you need quote signs around each
No dice.
On Monday, August 17, 2015 at 12:28:20 PM UTC-7, walter.kelt wrote:
>
> Also, the url is usually after all the switches. Not sure how strictly the
> format is checked.
>
> Sent from my iPad
>
> On Aug 17, 2015, at 3:19 PM, Walter Kelt >
> wrote:
>
> I think you need quote signs around
That didn't work.
On Monday, August 17, 2015 at 12:19:24 PM UTC-7, walter.kelt wrote:
>
> I think you need quote signs around each of the -F itemssuch as -F
> "git=test"
>
> Sent from my iPad
>
> On Aug 17, 2015, at 3:15 PM, Greg Nifor > wrote:
>
> curl -X POST localhost/job/Test/buildWithP
Also, the url is usually after all the switches. Not sure how strictly the
format is checked.
Sent from my iPad
> On Aug 17, 2015, at 3:19 PM, Walter Kelt wrote:
>
> I think you need quote signs around each of the -F itemssuch as -F
> "git=test"
>
> Sent from my iPad
>
>> On Aug 17, 20
I think you need quote signs around each of the -F itemssuch as -F
"git=test"
Sent from my iPad
> On Aug 17, 2015, at 3:15 PM, Greg Nifor wrote:
>
> curl -X POST localhost/job/Test/buildWithParameters -u user:pass -F git=test
> -F root=root1
>
>
>
>
>> On Monday, August 17, 2015 at 1
curl -X POST localhost/job/Test/buildWithParameters -u user:pass -F
git=test -F root=root1
On Monday, August 17, 2015 at 12:11:08 PM UTC-7, walter.kelt wrote:
>
> Please paste your full curl command
>
> Sent from my iPad
>
> On Aug 17, 2015, at 3:06 PM, Greg Nifor > wrote:
>
> When I try that
Please paste your full curl command
Sent from my iPad
> On Aug 17, 2015, at 3:06 PM, Greg Nifor wrote:
>
> When I try that the variables are empty.
>
>> On Monday, August 17, 2015 at 11:49:09 AM UTC-7, walter.kelt wrote:
>> You need to use -F for file and -F for data.
>>
>> Sent from my iPad
When I try that the variables are empty.
On Monday, August 17, 2015 at 11:49:09 AM UTC-7, walter.kelt wrote:
>
> You need to use -F for file and -F for data.
>
> Sent from my iPad
>
> On Aug 17, 2015, at 2:41 PM, Greg Nifor > wrote:
>
> Is there a way to use curl to send both a file and string pa
You need to use -F for file and -F for data.
Sent from my iPad
> On Aug 17, 2015, at 2:41 PM, Greg Nifor wrote:
>
> Is there a way to use curl to send both a file and string parameter. I can do
> each individually, but not together.
>
> Works:
>
> curl -X POST /job//buildWithParameters -u :
You need to use the curl -F switch to make it a multipart http submission. This
will allow a file and parameter to be included with a single http post
submission. Plenty of online examples available.
Sent from my iPad
> On Aug 17, 2015, at 2:41 PM, Greg Nifor wrote:
>
> Is there a way to use
Is there a way to use curl to send both a file and string parameter. I can
do each individually, but not together.
Works:
curl -X POST /job//buildWithParameters -u
: -F file=@/path/to
curl -X POST /job//buildWithParameters -u
: --data string0=foo --data string1=bar
Doesn't Work:
curl -X POS
You need to curl -X POST
On Thursday, March 19, 2015 at 11:06:34 AM UTC-7, Vinoth raj wrote:
>
> I need to use curl to remotely trigger build for a project.
>
> Jenkins ver. 1.580.3
> Following setting is done:
> In Configure Global Security section:
> - Jenkins' own user database set is enabled
I need to use curl to remotely trigger build for a project.
Jenkins ver. 1.580.3
Following setting is done:
In Configure Global Security section:
- Jenkins' own user database set is enabled
- Project based matrix authorization strategy is enabled
There is one user who has all rights enabled here.
On Thu, Aug 14, 2014 at 5:03 AM, GS wrote:
>
> I'm trying to setup a build wall display for the office and have been
> evaluating the Wall Display and Build Monitor plugins. My use case is that I
> have a TV monitor (not connected to the Jenkins server) which runs a web
> browser pointing to my ch
That would be a Chromecast Killer App :)
--
-- Aldrin Leal,
Master your EC2-fu! Get the latest ekaterminal public beta
http://www.ingenieux.com.br/products/ekaterminal/
On Thu, Aug 14, 2014 at 1:25 PM, Eric Smalling
wrote:
> A while back, due to some special project chaining, we wrote our own
A while back, due to some special project chaining, we wrote our own Django
based radiator - not the most elegant code but it does provide a server
that hosts the display, it uses the JSON API's to gather the build info and
then renders the page. It would probably be trivial to make it
authent
On 14 August 2014 12:03, GS wrote:
> Hi,
>
> I'm trying to setup a build wall display for the office and have been
> evaluating the Wall Display and Build Monitor plugins. My use case is that I
> have a TV monitor (not connected to the Jenkins server) which runs a web
> browser pointing to my choi
Hi,
I'm trying to setup a build wall display for the office and have been
evaluating the Wall Display and Build Monitor plugins. My use case is that
I have a TV monitor (not connected to the Jenkins server) which runs a web
browser pointing to my choice of URLs.
The thing is, my Jenkins server
Hi All
Could someone share a simple example on how one could use curl command and
passing in the SVN_REVISION parameter value to the remote job so that the
SCM could use it as part of its repository URL and kick off the build ?
Thanks
Hi
I have set parameter in my Jenkins. In earlier my Jenkins job was triggered
using remote token that time i have not set any parameter in my job. After
i set parameter, how to trigger my Jenkins job using remote build token?
Please anyone suggest me?
gt;
>
>
> --Rob
>
>
>
> *From:* jenkinsci-users@googlegroups.com [mailto:
> jenkinsci-users@googlegroups.com] *On Behalf Of *zw
> *Sent:* Monday, July 02, 2012 2:07 PM
> *To:* jenkinsci-users@googlegroups.com
> *Subject:* Hudson remote build job kick off
>
>
&g
tput to the server), so the TestNG
> plugin should work on your server on A even if you’re building on B.
>
>
>
> --Rob
>
>
>
> From: jenkinsci-users@googlegroups.com
> [mailto:jenkinsci-users@googlegroups.com] On Behalf Of zw
> Sent: Monday, July 02, 2012 2:0
: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of zw
Sent: Monday, July 02, 2012 2:07 PM
To: jenkinsci-users@googlegroups.com
Subject: Hudson remote build job kick off
Hi All
I have host A running the Hudson server.
I have another host B with its Ant
You'd probably want to use host B as a slave and tie the job to that slave.
You can check the wiki for information on the master/slave setup.
Sent from my Windows Phone
--
From: zw
Sent: 7/2/2012 12:07 PM
To: jenkinsci-users@googlegroups.com
Subject: Hudson r
Hi All
I have host A running the Hudson server.
I have another host B with its Ant build.xml there in host B.
How do I configure Hudson on host A to kick off the build.xml in host B.
If this is not possible, what are the workarounds, possible solutions
to this problem.
If this is possible, how do
40 matches
Mail list logo