Re: Difference between MSBuild environments, Jenkins - not Jenkins

2019-06-28 Thread Vladimir Zak
Hello,

Could you please share your pipeline code. We are using the pipelines for
C# builds without problems.

Thanks

Vladimir

pá 28. 6. 2019 v 20:02 odesílatel Glenn Jones  napsal:

> Yes, I am runing as thr same user that Jenkins is running as. I think I
> might try to run my MSBuild program without using PowerShell. that would
> take out any of the PowerShell items from the the problem. I'll give that a
> try on Monday Thanks
>
> On Fri, Jun 28, 2019 at 1:21 PM LUrban  wrote:
>
>> 2 things come to mind, one, the Jenkins PowerShell plugin runs the script
>> with a -noprofile, so your profile when running it locally may be adding
>> some modules or something your not getting. two, what user is the Jenkins
>> agent service running as (assuming you set it as a service)? if it is left
>> as the default, it is running as system and thus has limited capabilities;
>> I run it as a local administrative account.
>>
>> On Friday, June 28, 2019 at 10:23:07 AM UTC-6, Glenn Jones wrote:
>>>
>>> I am trying to run a build of a C# solution in a Jenkins pipeline and am
>>> having some trouble. The step that fails is a PowerShell script that runs
>>> my C# program that runs the actual build. When I run the build outside of
>>> Jenkins, or on the Jenkins server it builds just fine. Same with running
>>> the MSBuild anywhere on this server, either just an MSBuild, using the
>>> PowerShell script or running just my build program. The problem comes when
>>> I try to run it in Jenkins.
>>>
>>> I get the following errors when it is run inside Jenkins:
>>>
>>>ResolveAssemblyReference: : Warning
>>> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,
>>> 5)Could not resolve this reference. Could not locate the assembly
>>> "Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral,
>>> PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL".
>>>  Check to make sure the assembly exists on disk. If this reference is
>>> required by your code, you may get compilation errors.
>>> ResolveAssemblyReference: : Warning
>>> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,
>>> 5)Could not resolve this reference.  Could not locate the
>>> assembly "System.Web.Mvc, Version=4.0.0.0, Culture=neutral,
>>> PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check
>>>   to make sure the assembly exists on disk. If this reference is
>>> required by your code, you may get compilation errors.
>>> ResolveAssemblyReference: : Warning
>>> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,
>>> 5)Could not resolve this reference.  Could not locate the
>>> assembly "System.Web.WebPages, Version=2.0.0.0, Culture=neutral,
>>> PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL".
>>> Check to make sure the assembly exists on disk. If this reference is
>>> required by your code, you may get compilation errors.
>>>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(8,22): The
>>> type or namespace name 'Mvc' does not exist in the namespace 'System.Web'
>>> (are   you missing an assembly reference?)
>>>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(11,68): The
>>> type or namespace name 'IClientValidatable' could not be found (are you
>>> missing a using directive or an assembly
>>> reference?)
>>>Csc: : ERROR Models\ReportModel.cs(7,21): The type or namespace
>>> name 'Reporting' does not exist in the namespace 'Microsoft' (are you
>>> missing an   assembly reference?)
>>>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(55,80): The
>>> type or namespace name 'ModelMetadata' could not be found (are you missing
>>> a   using directive or an assembly reference?)
>>>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(55,104):
>>> The type or namespace name 'ControllerContext' could not be found (are you
>>> missing a   using directive or an assembly
>>> reference?)
>>>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(55,28): The
>>> type or namespace name 'ModelClientValidationRule' could not be found (are
>>> you   missing a using directive or an assembly
>>> reference?)
>>>Csc: : ERROR Models\ReportModel.cs(13,21): The type or namespace
>>> name 'ReportParameter' could not be found (are you missing a using
>>> directive or an assembly reference?)
>>>Csc: : ERROR Models\ReportModel.cs(71,22): The type or namespace
>>> name 'ReportParameter' could not be found (are you missing a using
>>> directive or an assembly reference?)
>>>Csc: : ERROR Models\EnrollmentBase.cs(137,23): The type
>>> 'System.Web.Mvc.IClientValidatable' is defined in an assembly that is not
>>> referenced. You must

Re: Difference between MSBuild environments, Jenkins - not Jenkins

2019-06-28 Thread Glenn Jones
Yes, I am runing as thr same user that Jenkins is running as. I think I
might try to run my MSBuild program without using PowerShell. that would
take out any of the PowerShell items from the the problem. I'll give that a
try on Monday Thanks

On Fri, Jun 28, 2019 at 1:21 PM LUrban  wrote:

> 2 things come to mind, one, the Jenkins PowerShell plugin runs the script
> with a -noprofile, so your profile when running it locally may be adding
> some modules or something your not getting. two, what user is the Jenkins
> agent service running as (assuming you set it as a service)? if it is left
> as the default, it is running as system and thus has limited capabilities;
> I run it as a local administrative account.
>
> On Friday, June 28, 2019 at 10:23:07 AM UTC-6, Glenn Jones wrote:
>>
>> I am trying to run a build of a C# solution in a Jenkins pipeline and am
>> having some trouble. The step that fails is a PowerShell script that runs
>> my C# program that runs the actual build. When I run the build outside of
>> Jenkins, or on the Jenkins server it builds just fine. Same with running
>> the MSBuild anywhere on this server, either just an MSBuild, using the
>> PowerShell script or running just my build program. The problem comes when
>> I try to run it in Jenkins.
>>
>> I get the following errors when it is run inside Jenkins:
>>
>>ResolveAssemblyReference: : Warning
>> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,
>> 5)Could not resolve this reference. Could not locate the assembly
>> "Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral,
>> PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL".
>>  Check to make sure the assembly exists on disk. If this reference is
>> required by your code, you may get compilation errors.
>> ResolveAssemblyReference: : Warning
>> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,
>> 5)Could not resolve this reference.  Could not locate the
>> assembly "System.Web.Mvc, Version=4.0.0.0, Culture=neutral,
>> PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check
>>   to make sure the assembly exists on disk. If this reference is
>> required by your code, you may get compilation errors.
>> ResolveAssemblyReference: : Warning
>> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,
>> 5)Could not resolve this reference.  Could not locate the
>> assembly "System.Web.WebPages, Version=2.0.0.0, Culture=neutral,
>> PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL".
>> Check to make sure the assembly exists on disk. If this reference is
>> required by your code, you may get compilation errors.
>>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(8,22): The
>> type or namespace name 'Mvc' does not exist in the namespace 'System.Web'
>> (are   you missing an assembly reference?)
>>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(11,68): The
>> type or namespace name 'IClientValidatable' could not be found (are you
>> missing a using directive or an assembly
>> reference?)
>>Csc: : ERROR Models\ReportModel.cs(7,21): The type or namespace
>> name 'Reporting' does not exist in the namespace 'Microsoft' (are you
>> missing an   assembly reference?)
>>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(55,80): The
>> type or namespace name 'ModelMetadata' could not be found (are you missing
>> a   using directive or an assembly reference?)
>>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(55,104): The
>> type or namespace name 'ControllerContext' could not be found (are you
>> missing a   using directive or an assembly
>> reference?)
>>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(55,28): The
>> type or namespace name 'ModelClientValidationRule' could not be found (are
>> you   missing a using directive or an assembly
>> reference?)
>>Csc: : ERROR Models\ReportModel.cs(13,21): The type or namespace
>> name 'ReportParameter' could not be found (are you missing a using
>> directive or an assembly reference?)
>>Csc: : ERROR Models\ReportModel.cs(71,22): The type or namespace
>> name 'ReportParameter' could not be found (are you missing a using
>> directive or an assembly reference?)
>>Csc: : ERROR Models\EnrollmentBase.cs(137,23): The type
>> 'System.Web.Mvc.IClientValidatable' is defined in an assembly that is not
>> referenced. You must add a reference to assembly
>> 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral,
>> PublicKeyToken=31bf3856ad364e35'.
>>
>> Does anyone have any idea why the build would run correctly outside of
>> Jenkins, but fail when run inside Jenkins?
>>
>> 

Re: Difference between MSBuild environments, Jenkins - not Jenkins

2019-06-28 Thread LUrban
2 things come to mind, one, the Jenkins PowerShell plugin runs the script 
with a -noprofile, so your profile when running it locally may be adding 
some modules or something your not getting. two, what user is the Jenkins 
agent service running as (assuming you set it as a service)? if it is left 
as the default, it is running as system and thus has limited capabilities; 
I run it as a local administrative account.

On Friday, June 28, 2019 at 10:23:07 AM UTC-6, Glenn Jones wrote:
>
> I am trying to run a build of a C# solution in a Jenkins pipeline and am 
> having some trouble. The step that fails is a PowerShell script that runs 
> my C# program that runs the actual build. When I run the build outside of 
> Jenkins, or on the Jenkins server it builds just fine. Same with running 
> the MSBuild anywhere on this server, either just an MSBuild, using the 
> PowerShell script or running just my build program. The problem comes when 
> I try to run it in Jenkins.
>
> I get the following errors when it is run inside Jenkins:
>
>ResolveAssemblyReference: : Warning 
> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605, 
> 5)Could not resolve this reference. Could not locate the assembly 
> "Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, 
> PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL".
>  Check to make sure the assembly exists on disk. If this reference is 
> required by your code, you may get compilation errors.
> ResolveAssemblyReference: : Warning 
> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605, 
> 5)Could not resolve this reference.  Could not locate the 
> assembly "System.Web.Mvc, Version=4.0.0.0, Culture=neutral, 
> PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check
>   to make sure the assembly exists on disk. If this reference is 
> required by your code, you may get compilation errors.
> ResolveAssemblyReference: : Warning 
> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605, 
> 5)Could not resolve this reference.  Could not locate the 
> assembly "System.Web.WebPages, Version=2.0.0.0, Culture=neutral, 
> PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL".  
> Check to make sure the assembly exists on disk. If this reference is 
> required by your code, you may get compilation errors.
>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(8,22): The 
> type or namespace name 'Mvc' does not exist in the namespace 'System.Web' 
> (are   you missing an assembly reference?)
>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(11,68): The 
> type or namespace name 'IClientValidatable' could not be found (are you 
> missing a using directive or an assembly 
> reference?)
>Csc: : ERROR Models\ReportModel.cs(7,21): The type or namespace 
> name 'Reporting' does not exist in the namespace 'Microsoft' (are you 
> missing an   assembly reference?)
>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(55,80): The 
> type or namespace name 'ModelMetadata' could not be found (are you missing 
> a   using directive or an assembly reference?)
>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(55,104): The 
> type or namespace name 'ControllerContext' could not be found (are you 
> missing a   using directive or an assembly 
> reference?)
>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(55,28): The 
> type or namespace name 'ModelClientValidationRule' could not be found (are 
> you   missing a using directive or an assembly 
> reference?)
>Csc: : ERROR Models\ReportModel.cs(13,21): The type or namespace 
> name 'ReportParameter' could not be found (are you missing a using 
> directive or an assembly reference?)
>Csc: : ERROR Models\ReportModel.cs(71,22): The type or namespace 
> name 'ReportParameter' could not be found (are you missing a using 
> directive or an assembly reference?)
>Csc: : ERROR Models\EnrollmentBase.cs(137,23): The type 
> 'System.Web.Mvc.IClientValidatable' is defined in an assembly that is not 
> referenced. You must add a reference to assembly 
> 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, 
> PublicKeyToken=31bf3856ad364e35'.
>
> Does anyone have any idea why the build would run correctly outside of 
> Jenkins, but fail when run inside Jenkins?
>
> Thanks,
>
> Glenn
>

-- 
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 

Re: Terraform State Files

2019-06-28 Thread LUrban
First, this is Jenkins not terraform, but I will answer anyway. Terraform 
will create a state backup file, but this is only one change history, so if 
you do two terraform applys, you only have the current state and the 
previous one (in the state backup file)

On Tuesday, June 25, 2019 at 3:52:51 PM UTC-6, Charlie wrote:
>
> Hi All,
>
> I am trying to create a new Azure Linux Virtual Machine using Terraform.
> But i want to create this linux virtual machine in the existing already 
> created environment.
>
> For this i want to modify the existing Terraform code and create a new 
> module in the terraform code and run it.
>
> Doubts i have:
> When i run the existing terraform code with  adding extra module for 
> creating the linux virtual machine then what happens to the existing state 
> file that is already exists.
>
> will that file remains unchanged and new terraform state file creates or 
> does it get changed.
>
> If there is any change what are the changes can any one explain.
>
> is there any roll back plan if i want to revert the chages (kindly explain)
>
> Note: The state file is stored in the cloud and it is not locked.
>

-- 
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/e15f382d-11ab-4ab8-9ded-b6b427123fc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Difference between MSBuild environments, Jenkins - not Jenkins

2019-06-28 Thread Slide
Are you running as the same user that Jenkins is running as? By default,
both the master and agents will run as local system. It seems like there
might be a library installed under a specific user that might be different
than what Jenkins is running as.

On Fri, Jun 28, 2019, 10:23 Glenn Jones  wrote:

> I am trying to run a build of a C# solution in a Jenkins pipeline and am
> having some trouble. The step that fails is a PowerShell script that runs
> my C# program that runs the actual build. When I run the build outside of
> Jenkins, or on the Jenkins server it builds just fine. Same with running
> the MSBuild anywhere on this server, either just an MSBuild, using the
> PowerShell script or running just my build program. The problem comes when
> I try to run it in Jenkins.
>
> I get the following errors when it is run inside Jenkins:
>
>ResolveAssemblyReference: : Warning
> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,
> 5)Could not resolve this reference. Could not locate the assembly
> "Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral,
> PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL".
>  Check to make sure the assembly exists on disk. If this reference is
> required by your code, you may get compilation errors.
> ResolveAssemblyReference: : Warning
> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,
> 5)Could not resolve this reference.  Could not locate the
> assembly "System.Web.Mvc, Version=4.0.0.0, Culture=neutral,
> PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check
>   to make sure the assembly exists on disk. If this reference is
> required by your code, you may get compilation errors.
> ResolveAssemblyReference: : Warning
> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,
> 5)Could not resolve this reference.  Could not locate the
> assembly "System.Web.WebPages, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL".
> Check to make sure the assembly exists on disk. If this reference is
> required by your code, you may get compilation errors.
>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(8,22): The
> type or namespace name 'Mvc' does not exist in the namespace 'System.Web'
> (are   you missing an assembly reference?)
>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(11,68): The
> type or namespace name 'IClientValidatable' could not be found (are you
> missing a using directive or an assembly
> reference?)
>Csc: : ERROR Models\ReportModel.cs(7,21): The type or namespace
> name 'Reporting' does not exist in the namespace 'Microsoft' (are you
> missing an   assembly reference?)
>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(55,80): The
> type or namespace name 'ModelMetadata' could not be found (are you missing
> a   using directive or an assembly reference?)
>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(55,104): The
> type or namespace name 'ControllerContext' could not be found (are you
> missing a   using directive or an assembly
> reference?)
>Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(55,28): The
> type or namespace name 'ModelClientValidationRule' could not be found (are
> you   missing a using directive or an assembly
> reference?)
>Csc: : ERROR Models\ReportModel.cs(13,21): The type or namespace
> name 'ReportParameter' could not be found (are you missing a using
> directive or an assembly reference?)
>Csc: : ERROR Models\ReportModel.cs(71,22): The type or namespace
> name 'ReportParameter' could not be found (are you missing a using
> directive or an assembly reference?)
>Csc: : ERROR Models\EnrollmentBase.cs(137,23): The type
> 'System.Web.Mvc.IClientValidatable' is defined in an assembly that is not
> referenced. You must add a reference to assembly
> 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral,
> PublicKeyToken=31bf3856ad364e35'.
>
> Does anyone have any idea why the build would run correctly outside of
> Jenkins, but fail when run inside Jenkins?
>
> Thanks,
>
> Glenn
>
> --
> 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/16416fa4-3160-4b77-9403-09a64f8fc07d%40googlegroups.com
> 
> .
> For 

Difference between MSBuild environments, Jenkins - not Jenkins

2019-06-28 Thread Glenn Jones
I am trying to run a build of a C# solution in a Jenkins pipeline and am 
having some trouble. The step that fails is a PowerShell script that runs 
my C# program that runs the actual build. When I run the build outside of 
Jenkins, or on the Jenkins server it builds just fine. Same with running 
the MSBuild anywhere on this server, either just an MSBuild, using the 
PowerShell script or running just my build program. The problem comes when 
I try to run it in Jenkins.

I get the following errors when it is run inside Jenkins:

   ResolveAssemblyReference: : Warning 
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605, 
5)Could not resolve this reference. Could not locate the assembly 
"Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL".
 Check to make sure the assembly exists on disk. If this reference is 
required by your code, you may get compilation errors.
ResolveAssemblyReference: : Warning 
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605, 
5)Could not resolve this reference.  Could not locate the 
assembly "System.Web.Mvc, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check
  to make sure the assembly exists on disk. If this reference is 
required by your code, you may get compilation errors.
ResolveAssemblyReference: : Warning 
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605, 
5)Could not resolve this reference.  Could not locate the 
assembly "System.Web.WebPages, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL".  
Check to make sure the assembly exists on disk. If this reference is 
required by your code, you may get compilation errors.
   Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(8,22): The 
type or namespace name 'Mvc' does not exist in the namespace 'System.Web' 
(are   you missing an assembly reference?)
   Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(11,68): The 
type or namespace name 'IClientValidatable' could not be found (are you 
missing a using directive or an assembly 
reference?)
   Csc: : ERROR Models\ReportModel.cs(7,21): The type or namespace name 
'Reporting' does not exist in the namespace 'Microsoft' (are you missing 
an   assembly reference?)
   Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(55,80): The 
type or namespace name 'ModelMetadata' could not be found (are you missing 
a   using directive or an assembly reference?)
   Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(55,104): The 
type or namespace name 'ControllerContext' could not be found (are you 
missing a   using directive or an assembly 
reference?)
   Csc: : ERROR Attributes\ExtendedMaxLengthAttribute.cs(55,28): The 
type or namespace name 'ModelClientValidationRule' could not be found (are 
you   missing a using directive or an assembly 
reference?)
   Csc: : ERROR Models\ReportModel.cs(13,21): The type or namespace 
name 'ReportParameter' could not be found (are you missing a using 
directive or an assembly reference?)
   Csc: : ERROR Models\ReportModel.cs(71,22): The type or namespace 
name 'ReportParameter' could not be found (are you missing a using 
directive or an assembly reference?)
   Csc: : ERROR Models\EnrollmentBase.cs(137,23): The type 
'System.Web.Mvc.IClientValidatable' is defined in an assembly that is not 
referenced. You must add a reference to assembly 
'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=31bf3856ad364e35'.

Does anyone have any idea why the build would run correctly outside of 
Jenkins, but fail when run inside Jenkins?

Thanks,

Glenn

-- 
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/16416fa4-3160-4b77-9403-09a64f8fc07d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins project configuration for running a maven -gatling application.

2019-06-28 Thread sha
I have posted the same query in Gatling user group (
https://groups.google.com/forum/#!msg/gatling/R9WL3VjisU4/N9LIU6bXBQAJ)as 
i'm not sure if its something related to maven or gatling in integration 
with a jenkins job to automate my application.

I'm trying to find a way to use jenkins job to automate my application but 
running into issue with build failure and not much info in failed job 
console to figure out what is the issue. I have tried executing my project 
multiple times in local however configuring in jenkins to run is causing 
failures. 
Please checkout the link and if not accessible ,posting the same ques here:

How to set up a jenkins project for a maven-gatling application. I have 
tried both ways free-style and maven-based jenkins project but job is 
failing so not sure if its because of my pom.xml file or the configurations 
in jenkins. 
Can someone provide a step-by step instructions in brief to start 
configuring jenkins for this project. My project is similar to 
https://github.com/gatling/gatling-maven-plugin-demo

In a freestyle project I have this cmd in execute shell mvn gatling:test
I see its fetching the maven dependencies but the fails Build step 'Execute 
shell' marked build as failure . 

On the contrary in maven jenkins project I'm just putting clean install as 
Goals and options and root pom as my pom.xml  in Build step.
I'm a beginner so any suggestions very much appreciated.

thanks in advance!

-- 
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/2d2d1806-d3a3-448f-bf32-44f493360df4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Xvfb or Xvnc for GUI tests in jenkins

2019-06-28 Thread Sakshi Arora
Hi everyone,

I see two plugins in jenkins to run GUI tests- xvfb and xvnc. I have
multiple GUI tests running in parallel. Which one is the best to use?

For xvfb, i need to mention a display offset. I am not sure how things work
with xvnc. And what does XAuthority signify?

 wrap([$class: 'Xvfb',screen: '1920x1200x24', displayNameOffset: 100]) {
sh "mvn -U clean install"
}

I am looking for a way where I need not specify the display and it auto
increments a display by 1 if a display is already taken by some other
jenkins job.

Please share how to work it out in case of a declarative pipeline.
Thanks & Regards,
Sakshi Arora

-- 
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/CALD16Fw34X%3Di4meL8vEP-3UTe7pVTSPD%2BkzjyV6EjUo1X6oYvw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.