Re: Need Github pull request number as environment variable

2017-07-18 Thread Paper Arts Calif
It doesn't. :-( Not in the latest version of the plugin.

On Tuesday, May 30, 2017 at 6:46:35 AM UTC-7, Arvind Jayaprakash wrote:
>
> The environment variable CHANGE_ID contains the PR number
>
> On Friday, May 26, 2017 at 6:07:20 AM UTC+5:30, Cody Ebberson wrote:
>>
>> Hello,
>>
>> I'm configuring Github + Jenkins + Sonar.  Almost everything is working, 
>> and I am incredibly pleased (great job!)  I'm now struggling with one 
>> missing piece which seems like it should be simple.
>>
>> The last piece I need is the Github pull request *number* as an 
>> environment variable to pass to Sonar for "preview" mode analysis.
>>
>> Here are the relevant components and versions:
>>
>> Jenkins version 2.46.3
>> Jenkins "GitHub Branch Source Plugin" version 2.0.5
>> Maven version 3.3.9
>> Maven Sonar plugin version 3.3.0.603
>> Sonar version  6.3.1.21392
>> Sonar Github plugin version 1.4.1
>>
>> Per https://stackoverflow.com/a/32095346 it looks like the old "GitHub 
>> Pull Request Builder" plugin added a ${ghprbPullId} environment variable. 
>>  That environment variable is not set by the "GitHub Branch Source Plugin" 
>> (as far as I can tell).
>>
>> A dump of "env" does not show anything about pull requests, change ID's, 
>> etc.  The known pull request number is not anywhere in the logs.
>>
>> Suggestions?
>>
>> If this isn't available through Jenkins, I think we could do some curl + 
>> Github API magic to search for the Pull Request number, but that obviously 
>> seems suboptimal.
>>
>> Thanks in advance!
>>
>> Cody
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/202c9cd6-f995-41b4-9509-69124ac0fefd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Access GitHub Pull Request Number from within Jenkinsfile? (in the refactored Multibranch Pipeline plugin)

2017-07-18 Thread Paper Arts Calif
Hello,
I am trying to access the Pull Request Number from within my Jenkinsfile, 
so that my Multibranch Pipeline build can do interesting stuff with it 
(like post a comment to the PR). Unfortunately, although the documentation 
claims this is available in CHANGE_ID, I have not found this to be the 
case. I am running the newly refactored Multibranch Pipeline plugin.

Jenkins base version: 2.60.1
Pipeline:Multibranch plugin version: 2.16

My Jenkinsfile contains this code:

echo "CHANGE_ID is ${env.CHANGE_ID}"
echo "PULL_REQUEST is ${env.PULL_REQUEST}"

My Multibranch Pipeline project detects when I have created a PR branch, 
and it automatically builds the PR branch.
However, the build output contains this:

[Pipeline] echo
CHANGE_ID is null
[Pipeline] echo
PULL_REQUEST is null

I found this Stack Overflow article 

https://stackoverflow.com/questions/41695530/how-to-get-pull-request-id-from-jenkins-pipeline

which suggests I need to 
- Disable branch builds
- Enable PR builds
- Check a checkbox 'Build origin PRs (unmerged head)

^^ All of which appear to pertain to a January 2017 version (now 
deprecated) of the plugin.

Anyhow, as I said, my PR branch is being detected and built, but even 
dumping out 'env' did not show any env vars containing the PR number.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/bd781dee-fecb-426c-b618-e63a9e4512cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins running unit tests MSTest 10.0

2017-07-18 Thread jerome
Many thing can cause this

   - unreliable tests, where concurrency can occur or uninitialized values
   - Windows permission
   - invalid path inside the machine
   - the user under which the salve run the tests (service under windows 
   don't have access to the GUI part and you need to run the salve under a 
   normal user account, OpenGL, DirectX, Canvas, Qt, etc)
   - Make sure the number you get is valid with MsBuild command line and 
   not Visual Studio (they aren't totally the same when it come to project 
   behavior).
   - Make sure you use the right visual studio/MsBuild version along the 
   right architecture (x86 vs x64).
   - Try to run your tests multiple times into random order if the test 
   suite allow it (help catch some problems).
   - Make sure you development env and jenkins slave have the Fault 
   Tolerent Heap disabled (world worst idea ever was born on the day that damn 
   thing was created)
   https://msdn.microsoft.com/en-us/library/dd744764(VS.85).aspx

A failed tests even if not always happening (once in a blue moon also 
apply) is always a bug somewhere.

On Tuesday, July 18, 2017 at 9:05:34 AM UTC-4, Simon Whale wrote:
>
> Hi, 
>
> I am wondering if someone can help.  I have setup Jenkins to run Unit 
> Tests.  Our application currently has 289 tests.   
>
> If I run it through Jenkins only 89 pass.  But If I run it through VS 2010 
> 247 pass. 
>
> Is there something that I should be doing in Jenkins? 
>
> This is how I have configured the Execute Windows batch command in the 
> build settings for the project. 
>
> "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\mstest.exe" 
> /resultsfile:"%WORKSPACE%\Brian\Results.trx" /testcontainer:"C:\Program 
> Files\Jenkins\workspace\Brian - 
> Freestyle\Brian\trunk\BrianTestProject\bin\x86\Debug\BrianTestProject.dll" 
> /nologo
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0ea27d79-eef9-4cff-9277-f8ec9d9e1c45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins running unit tests MSTest 10.0

2017-07-18 Thread Mark Waite
If your Jenkins agent is running as a service, then that may cause
different behaviors if your tests depend on interacting with a user
interface (like Selenium tests, or web browser driven tests).

If your Jenkins agent is running as a different user, and your tests depend
on a specific user, that could cause different behavior in Jenkins than in
the user environment.

If your Jenkins agent is running on a different Windows version and your
tests have Windows version requirements, that could cause failures.

Mark Waite

On Tue, Jul 18, 2017 at 5:05 AM Simon Whale  wrote:

> Hi,
>
> I am wondering if someone can help.  I have setup Jenkins to run Unit
> Tests.  Our application currently has 289 tests.
>
> If I run it through Jenkins only 89 pass.  But If I run it through VS 2010
> 247 pass.
>
> Is there something that I should be doing in Jenkins?
>
> This is how I have configured the Execute Windows batch command in the
> build settings for the project.
>
> "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\mstest.exe"
> /resultsfile:"%WORKSPACE%\Brian\Results.trx" /testcontainer:"C:\Program
> Files\Jenkins\workspace\Brian -
> Freestyle\Brian\trunk\BrianTestProject\bin\x86\Debug\BrianTestProject.dll"
> /nologo
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/c5fc26e9-a2d7-48d2-a8e3-b561e2524547%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtG0cUfRgOO%2BBOYN2XZ9z6AMtWQdtp_cbi2Bi-KJk5h%3D0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins shell behaves differently than terminal

2017-07-18 Thread Mark Waite
I suspect the problem is in your deployment script or program, rather than
in Jenkins.  You could check that by attempting to perform the same
deployment from a cron job.  When a job is run from cron (or from Jenkins),
there is no controlling terminal which can prompt the user for
information.  The ENOTTY message is often a result of programs that
incorrectly expect to communicate with a TTY.

There is also a hint on stackoverflow that a 32 bit program trying to
communicate with a 64 bit kernel might cause a similar error message.

Mark Waite

On Tue, Jul 18, 2017 at 5:05 AM Rūdolfs Sviklis 
wrote:

> Hello,
>
>
>
> I'm trying to deploy ruby webpage from jenkins shell with command "cap
> production deploy", but it throws an error (works if I do it manually from
> terminal):
>
>
>
>> deploy@10.105.27.132's password:(Backtrace restricted to imported tasks)
>> cap aborted!
>> SSHKit::Runner::ExecuteError: Exception while executing as
>> deploy@10.105.27.132: Inappropriate ioctl for device
>> Errno::ENOTTY: Inappropriate ioctl for device
>
>
>
> If I perform the command manually from the terminal it executes without a
> problem. I have set up public keys so that I can execute the command
> without any need to enter password and I also added deploy keys to project
> in GitLab. So if I do an ssh connection from the terminal to the production
> server, it doesn’t ask for a password.
>
>
>
> As I searched for an answer I saw that in most cases the problem is with
> the deploy keys, but I have added it to the project and I can execute the
> command manually from the terminal, so the problem must be in Jenkins
> shell. It seems that it probably uses some interpretation of the terminal
> and not the real thing.
>
>
>
> Is there a way I can fix this, so I can execute the command from Jenkins
> shell?
>
>
>
> Best Regards,
>
> Rudolfs Sviklis
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/40238b71-b867-4236-b6b0-e47889c1dd5d%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFsoZjfL8G87aM3aFcQjrhRNpFQveYKE1pSYT7Sy4mdig%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins shell behaves differently than terminal

2017-07-18 Thread Rūdolfs Sviklis


Hello,

 

I'm trying to deploy ruby webpage from jenkins shell with command "cap 
production deploy", but it throws an error (works if I do it manually from 
terminal):

 

> deploy@10.105.27.132's password:(Backtrace restricted to imported tasks) 
> cap aborted!
> SSHKit::Runner::ExecuteError: Exception while executing as 
> deploy@10.105.27.132: Inappropriate ioctl for device
> Errno::ENOTTY: Inappropriate ioctl for device

 

If I perform the command manually from the terminal it executes without a 
problem. I have set up public keys so that I can execute the command 
without any need to enter password and I also added deploy keys to project 
in GitLab. So if I do an ssh connection from the terminal to the production 
server, it doesn’t ask for a password.

 

As I searched for an answer I saw that in most cases the problem is with 
the deploy keys, but I have added it to the project and I can execute the 
command manually from the terminal, so the problem must be in Jenkins 
shell. It seems that it probably uses some interpretation of the terminal 
and not the real thing.

 

Is there a way I can fix this, so I can execute the command from Jenkins 
shell?

 

Best Regards,

Rudolfs Sviklis

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/40238b71-b867-4236-b6b0-e47889c1dd5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins running unit tests MSTest 10.0

2017-07-18 Thread Simon Whale
Hi, 

I am wondering if someone can help.  I have setup Jenkins to run Unit Tests. 
 Our application currently has 289 tests.   

If I run it through Jenkins only 89 pass.  But If I run it through VS 2010 
247 pass. 

Is there something that I should be doing in Jenkins? 

This is how I have configured the Execute Windows batch command in the 
build settings for the project. 

"C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\mstest.exe" 
/resultsfile:"%WORKSPACE%\Brian\Results.trx" /testcontainer:"C:\Program 
Files\Jenkins\workspace\Brian - 
Freestyle\Brian\trunk\BrianTestProject\bin\x86\Debug\BrianTestProject.dll" 
/nologo

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c5fc26e9-a2d7-48d2-a8e3-b561e2524547%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins Slave and Windows Service - Connection Problem

2017-07-18 Thread Sharbell Mouess
Hi,

I'm running Jenkins ver. 1.617.

I setup a Jenkins Slave Service on Windows machines.
I noticed that the Service on Windows keeps stopping and restarting again
(see log below). Sometimes it stops and never restarts (looking at slave
log files - for example jenkins-slave.wrapper.log), hence it's disconnected
from Jenkins master.

Is there a reason for that? How can I detect what's causing this? Does
upgrading to Jenkins 2 solve the problem?

Here's few lines from the log:

Jul 12, 2017 11:43:27 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Terminated
Jul 12, 2017 11:43:37 AM jenkins.slaves.restarter.
JnlpSlaveRestarterInstaller$2$1 onReconnect
INFO: Restarting slave via jenkins.slaves.restarter.
WinswSlaveRestarter@7f87c7d2
Jul 12, 2017 11:43:39 AM hudson.remoting.jnlp.Main createEngine
INFO: Setting up slave: ci-win10-snuc03
Jul 12, 2017 11:43:39 AM hudson.remoting.jnlp.Main$CuiListener 
INFO: Jenkins agent is running in headless mode.
Jul 12, 2017 11:43:39 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://cpd-ci-jenkins.iil.mysite.com:8080/]
Jul 12, 2017 11:43:39 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
Jul 12, 2017 11:43:39 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to cpd-ci-jenkins.iil.mysite.com:60397
Jul 12, 2017 11:43:39 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Trying protocol: JNLP2-connect
Jul 12, 2017 11:43:39 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connected
Jul 12, 2017 5:40:45 PM hudson.remoting.jnlp.Main createEngine
INFO: Setting up slave: ci-win10-snuc03
Jul 12, 2017 5:40:45 PM hudson.remoting.jnlp.Main$CuiListener 
INFO: Jenkins agent is running in headless mode.
Jul 12, 2017 5:40:45 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://cpd-ci-jenkins.iil.mysite.com:8080/]
Jul 12, 2017 5:40:45 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
Jul 12, 2017 5:40:45 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to cpd-ci-jenkins.iil.mysite.com:60397
Jul 12, 2017 5:40:45 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Trying protocol: JNLP2-connect
Jul 12, 2017 5:40:45 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connected
Jul 12, 2017 5:41:27 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Terminated
Jul 12, 2017 5:41:38 PM jenkins.slaves.restarter.
JnlpSlaveRestarterInstaller$2$1 onReconnect
INFO: Restarting slave via jenkins.slaves.restarter.
WinswSlaveRestarter@4df3ff24
Jul 16, 2017 10:25:05 AM hudson.remoting.jnlp.Main createEngine
INFO: Setting up slave: ci-win10-snuc03
Jul 16, 2017 10:25:05 AM hudson.remoting.jnlp.Main$CuiListener 
INFO: Jenkins agent is running in headless mode.
Jul 16, 2017 10:25:05 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://cpd-ci-jenkins.iil.mysite.com:8080/]
Jul 16, 2017 10:25:05 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
Jul 16, 2017 10:25:05 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to cpd-ci-jenkins.iil.mysite.com:60397
Jul 16, 2017 10:25:05 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Trying protocol: JNLP2-connect
Jul 16, 2017 10:25:05 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connected
Jul 16, 2017 12:52:27 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Terminated
Jul 16, 2017 12:52:37 PM jenkins.slaves.restarter.
JnlpSlaveRestarterInstaller$2$1 onReconnect
INFO: Restarting slave via jenkins.slaves.restarter.
WinswSlaveRestarter@7c9a44b1
Jul 16, 2017 3:43:24 PM hudson.remoting.jnlp.Main createEngine
INFO: Setting up slave: ci-win10-snuc03
Jul 16, 2017 3:43:24 PM hudson.remoting.jnlp.Main$CuiListener 
INFO: Jenkins agent is running in headless mode.
Jul 16, 2017 3:43:24 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://cpd-ci-jenkins.iil.mysite.com:8080/]
Jul 16, 2017 3:43:24 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
Jul 16, 2017 3:43:24 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to cpd-ci-jenkins.iil.mysite.com:60397
Jul 16, 2017 3:43:24 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Trying protocol: JNLP2-connect
Jul 16, 2017 3:43:24 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connected

Thank you,
Sharbell

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CABS5AFww6YNx%2BtF%2B_4GdJG7-3EAJzsLYDpec4XyPkSSHZamuTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins Distributed Builds: Project-Based Matrix Authorization Strategy

2017-07-18 Thread Daniel Beck

> On 17. Jul 2017, at 21:04, Thiago Carvalho Davila 
>  wrote:
> 
> Is it planned for Blue Ocean 1.2?

Blue Ocean can show folders already, see https://ci.jenkins.io/blue/

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3F4BE153-A845-4460-8C9A-38AC5D7DCD73%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins REST API endpoint for project build time stamp

2017-07-18 Thread LnT
Alright. Got it. Here it is

http://{*JenkinsMaster*}/job/{*JobName*}/{*BuildNumer*
}/buildTimestamp?format=/MM/dd 


Each  Jenkins page has a *REST API* hyperlink at the bottom, this is 
because each page has its own endpoint.


Regards,
LnT


On Tuesday, July 18, 2017 at 1:02:48 PM UTC+5:30, LnT wrote:

> Hi,
>
> could someone please get me Jenkins REST API endpoint for project build 
> time stamp
> I have below information
>
> Jenkins master url
> project name
> build Number
>
> please help
>
> Regards,
> LnT
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2a16aa7c-df75-4372-b7c6-0b28f218228e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Ovirt Plugin

2017-07-18 Thread Joaquin Henriquez
Hi

Recently install the ovirt plugin.
https://github.com/thescouser89/ovirt-slaves-plugin
Jenkins: 2.60.1
Java 1.8.0_131

The test connection is correctly setup, and I can get the Slave node configure.
At the time I try to launch I get:

Connecting to ovirt server...
java.lang.NullPointerException
ERROR: Launching agent process aborted.
java.lang.NullPointerException
at 
org.jenkinsci.plugins.ovirt.OVirtVMLauncher.isVMDown(OVirtVMLauncher.java:122)
at 
org.jenkinsci.plugins.ovirt.OVirtVMLauncher.putVMDown(OVirtVMLauncher.java:224)
at 
org.jenkinsci.plugins.ovirt.OVirtVMLauncher.launch(OVirtVMLauncher.java:339)
Caused: java.lang.InterruptedException
at 
org.jenkinsci.plugins.ovirt.OVirtVMLauncher.handleLaunchFailure(OVirtVMLauncher.java:375)
at 
org.jenkinsci.plugins.ovirt.OVirtVMLauncher.launch(OVirtVMLauncher.java:347)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:262)
at 
jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)

BR

Jo

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/311574d82ac549fd99f00ca17e32f587%40BSKEXCH2013HYPV.mwrinfosecurity.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multiple Jenkinsfiles in a single repo - Clarification

2017-07-18 Thread Stephen Connolly
Correct, and you should create a separate Multibranch project or org folder
for each distinct script path that you want

On 18 July 2017 at 08:53, David Aldrich  wrote:

> I haven’t tried it, but I expect that:
>
>
>
> Build configuration > Script Path
>
>
>
> allows you to specify the specific Jenkinsfile that you want to run.
>
>
>
> *From:* jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@
> googlegroups.com] *On Behalf Of *Simon Cowie
> *Sent:* 18 July 2017 00:40
> *To:* Jenkins Users 
> *Subject:* Multiple Jenkinsfiles in a single repo - Clarification
>
>
>
> Hello, according to this comment
> 
>  by
> Patrick Wolf, Multiple Jenkinsfiles in a single repo are now supported. I
> am wondering if there is documentation on how to do this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/aa1fe5aa-c158-4a99-b5c1-6adfb76344d1%40googlegroups.
> com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
> Click here
> 
> to report this email as spam.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/f446aad51dae4adc95853c1ae6e0d4
> 5b%40EUX13SRV1.EU.NEC.COM
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMze1Mc0DVsiYK5N-2qwCsyYcmEHumavDrLPBOu9365MAw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Multiple Jenkinsfiles in a single repo - Clarification

2017-07-18 Thread David Aldrich
I haven’t tried it, but I expect that:

Build configuration > Script Path

allows you to specify the specific Jenkinsfile that you want to run.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Simon Cowie
Sent: 18 July 2017 00:40
To: Jenkins Users 
Subject: Multiple Jenkinsfiles in a single repo - Clarification

Hello, according to this 
comment
 by Patrick Wolf, Multiple Jenkinsfiles in a single repo are now supported. I 
am wondering if there is documentation on how to do this?
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/aa1fe5aa-c158-4a99-b5c1-6adfb76344d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Click 
here
 to report this email as spam.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f446aad51dae4adc95853c1ae6e0d45b%40EUX13SRV1.EU.NEC.COM.
For more options, visit https://groups.google.com/d/optout.


Jenkins REST API endpoint for project build time stamp

2017-07-18 Thread LnT
Hi,

could someone please get me Jenkins REST API endpoint for project build 
time stamp
I have below information

Jenkins master url
project name
build Number

please help

Regards,
LnT

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/58f23c4d-b281-4957-b6e9-00512a2ae855%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.