Thank you [Bjorn , Khai , Chanda ] for the responses .
I have set different remote root directories for both slaves and also set
different ports for both . Am trying to connect via ssh .
Its still not happening : ie the connection is not maintained . Slave ‘a’
connects and then gets disconne
You can't change it from fetch to clone. The plugin uses a fetch, then
performs a checkout.
Why do you think you need to change it from fetch to clone?
On Mon, Aug 17, 2015 at 9:02 PM moodysma sma wrote:
> Hi, well I have git installed on each slave. One of the questions I have
> is that once
Hi, well I have git installed on each slave. One of the questions I have
is that once I do a git build on a slave or the master, it looks like it is
using a git fetch rather than clone. Why is this and how can I change it?
Subsequent builds still do a fetch.
Example:
Building remotely on NJ
You could enable JGit as a git implementation from the master Jenkins
configuration page, then use JGit as the implementation for your jobs.
That avoids deploying git on each slave.
JGit is not as full featured in the plugin as command line git, but it is
sufficient for many uses.
Alternately, yo
Hi,
I'm new to jenkins. I want to understand what is the proper way to deploy
git to slaves. I have a git repo on a server, I want to build on a master
node which is different from the git repo. Then I want to deploy a clone
repo on all the slaves. Is it better to clone on the slaves or jus
I am developing in using C++ and Qt 5.5. However, the gradle, ant, maven
solutions sound interesting.
I guess I will need to resort to some sed bash or python scripting to do
what I need.
Thank you both for the suggestions,
-Ed
On Monday, August 17, 2015 at 9:24:17 AM UTC-5, walter.kelt wrot
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
Are you sure it's not just your broken proxy config? What's the file content?
On 17.08.2015, at 22:48, btm.1...@gmail.com wrote:
> Hi all,
> I'm hoping to get some clarification. I keep received notice for an update
> to the ssh-agent plugin to 1.8. I tried to update but it failed with the
>
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.
We've done that with both ssh slaves and windows slaves with jnlp; ssh is
definitely easier :)
Both require separate root fs in the slave definition and for windows, had
to modify the jenkins-slave.xml to change the name of the service so that
each one is unique.
On Thu, Aug 13, 2015 at 9:35 AM, K
Hi all,
I'm hoping to get some clarification. I keep received notice for an update
to the ssh-agent plugin to 1.8. I tried to update but it failed with the
following error:
> hudson.util.IOException2: Failed to download from
> http://updates.jenkins-ci.org/download/plugins/ssh-agent/1.8/ssh-
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
Hello,
I have a set of interdependent maven projects and release jobs for each of
them. I'd like to call them in a sequence and have the pom dependency
sections updated intermittently.
To illustrate, lets assume i have three projects A > B > C (A depends on B
depends on C)
I'd like to do the
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
We use promoted builds here due to the fact we don't live having hundreds
of jobs to push the same code to dev/test/prod. However, one side effect
is that we can't utilize the build or delivery pipeline views that would be
very benficial to us.
Has anyone gotten these or somethign similar wor
I see jenkins is going to shutdown mode if a build takes very long time.
Is there a way to stop this behavior, or at least to know when it is going
into that mode.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this gro
Hi Team,
I have a Jenkins server version 1.623 running under WebSphere Liberty
Profile. We are using LDAP for authentication and all authenticated users
from LDAP are in a AimUsers group. You need to log into Jenkins with your
LDAP account and Configure Global Security uses LDAP with Matrix-bas
1.622 is the other side of the Java 7 switch.
As a result there are classes in core that have been compiled with Java 7
bytecode and references to methods / classes that are only available in
Java 7.
While you can get the remoting connection up - as that does not rely on
classes from Jenkins itse
I'm trying to pass an ami_id as an environment variable with:
AmiId=${AMI_ID}
in the parameters field of the plugin.
When I look at the resulting stack, the plugin seems to be passing
literally '${AMI_ID}' as the parameter value instead of ami-0283893 or
whatever.
The documentation says it's
Output from Squish is looking like this ( I used "_" to hide
irrelevant ) :
{
"version": { "major": 1, "minor": 0 },
"tests": [
{
"name": "suite__",
"start": "2015-08-12T16:43:28+02:00",
"type": "testsuite",
"uri": "**
Output from Squish is looking like this ( I used "_" to hide
irrelevant ) :
{
"version": { "major": 1, "minor": 0 },
"tests": [
{
"name": "suite__",
"start": "2015-08-12T16:43:28+02:00",
"type": "testsuite",
"uri": "**
I did Git checkin of one of my projects with the following commit message:
US496500: for task TA1117248 with status: completed; actuals: 2 hours, to
do: 1
and the build failed with this in the console output:
rally update plug-in error: could not update TaskDetails entry: JsonNull
java.
I'm not familiar with how to configure cordova, but if you are able to run
successfully when logged in interactively, then you must have the proper
settings in your user configuration. So yes, I think you are correct that
you should be able to use the node level configurations.
Eric
On Aug 17, 201
Ant and maven have filter functionality that can be used to update text files
that use "properties".
May be handy if you are using ant or maven to create build.
Sent from my iPad
> On Aug 17, 2015, at 10:16 AM, Daniel Beck wrote:
>
> Use sed? https://en.wikipedia.org/wiki/Sed
>
> Gradle also
Use sed? https://en.wikipedia.org/wiki/Sed
Gradle also does this if your build is based on that -- look for filter(…) on
e.g. the copy task.
Of course neither supports your file format out of the box.
On 17.08.2015, at 16:11, Eddie Sutton wrote:
> I am looking for tools to automatically updat
I am looking for tools to automatically update text documents with relevant
build information such as version information, date of build, the new
features included with a milestone.
SubWCRev works well but is limited to Subversion properties:
http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsv
I've got a new Jenkins master (1.622) running on CentOS 6.6 x86_64, tomcat
8, java 1.8. All working ok.
I've just had a request for a build on an old Linux slave - Red Hat 4 with
Java 1.6 (32 bit). Yes, I know it's obsolete, and it ought to be upgraded
to plug all the security holes - but tha
Not without a bug being raised and a some sample output from the tool
showing how to reproduce.
But it may be that the tool is outputting garbage in which case this may
not be fixed and the tool vendor may need to output JSON that is actually
parsable by gherkin.
On Monday, August 17, 2015 at
It was indeed a file permissions issue. I solved it by simply setting all
the jenkins files and folders to be universally readable/writable.
Thx for helping :)
2015-08-17 14:05 GMT+02:00 Walter Kelt :
> To see if it you have a permissions issue, u can use chmod to set read
> permissions on the f
To see if it you have a permissions issue, u can use chmod to set read
permissions on the file for user/group/other.
You could also use chown to set a different
Owner
Sent from my iPhone
> On Aug 17, 2015, at 7:56 AM, Matic Pajnič wrote:
>
> If I run jenkins on user X, then user X has to be
If I run jenkins on user X, then user X has to be the owner of the files?
I'm asking because I also have a user called "jenkins", that's the default
owner of the files Jenkins creates when operating.
The project files (including build.xml) are currently owned by user X.
2015-08-17 13:25 GMT+02:00
Could be a permissions issue. Make sure the user Jenkins runs as is owner of
the workspace and everything in it.
Note that you generally want to check out everything from SCM (Subversion,
Git,…) rather than prepare a workspace manually.
On 17.08.2015, at 13:17, Janez Novak wrote:
> Hi,
>
> I
Does the file have proper permissions so that it is readable by Jenkins ?
Sent from my iPhone
> On Aug 17, 2015, at 7:17 AM, Janez Novak wrote:
>
> Hi,
>
> I'm trying to build a simple example project (available here:
> http://eureka.ykyuen.info/2013/10/03/apache-ant-a-simple-ant-build-projec
Hi,
I'm trying to build a simple example project (available here:
http://eureka.ykyuen.info/2013/10/03/apache-ant-a-simple-ant-build-project/)
just to see how Jenkins works (I'm new to it and Continuous Integration in
general). I tried to do it by following a tutorial (available here:
http://e
Thanks for that input, Eric.
I have the nodejs path set in the PATH variable and I can run the cordova
commands from command line on the slave machine locally. \the problem
occurs only when I run it from Jenkins.
I've installed Envinject plugin. Being a newbie to Jenkins, I'm a bit
confused as
Hi,
I suggest that you turn on more logging as described on the wiki - then
observe the two values priority and weight and how they change with
different settings.
Weight is the value that is used for sorting the queue. In Absolute mode
the priority and the weight will be the same but this is not
Hi, is support for .json results generated by Squish is going to be added
for Cucumber json test reporting plugin ?
[Cucumber Tests] Parsing results.
[Cucumber Tests] parsing results.json
ERROR: Build step failed with exception
gherkin.deps.com.google.gson.JsonSyntaxException:
java.lang.IllegalS
Thanks guys. Initially I was really looking for a comment like "that
doesn't sound right" and that's what you've done, thanks.
I'll try to do a fresh install on another system before filing an issue.
Cheers,
Lars
On Mon, Aug 17, 2015 at 1:46 AM, Mark Waite
wrote:
> Also, please provide steps t
hi,
we didnt try it.
i will try it too
thanks,
Lilach
On Mon, Aug 17, 2015 at 10:34 AM, Richard Bywater wrote:
> So the tests run slow when you don't run with Jenkins too? If they do you
> might be best asking on a webdriver related forum.
>
> Richard.
>
> On Mon, 17 Aug 2015 6:25 pm Lilach A
So the tests run slow when you don't run with Jenkins too? If they do you
might be best asking on a webdriver related forum.
Richard.
On Mon, 17 Aug 2015 6:25 pm Lilach Arviv wrote:
> Hello,
>
>
> we have 3 physical machines in our company and Server machine.
> when we run 50 tests in the physi
53 matches
Mail list logo