Re: Heads up! Jenkins is on YouTube, with more videos coming soon!

2018-04-10 Thread Slide
This is great, thanks for doing this!

On Tue, Apr 10, 2018 at 7:01 PM R. Tyler Croy  wrote:

>
> The Jenkins project has been on YouTube for a while, but I recently
> transitioned our channel to a "Brand Account", which means we can share
> permissions to post videos _much_ more easily:
>
> https://www.youtube.com/c/jenkinscicd
>
>
> I am hoping that we can share access, not only for the Jenkins Online
> Meetups
> (https://www.meetup.com/Jenkins-online-meetup/), but also for more project
> meetings and group meetings (see also:
> https://groups.google.com/d/msg/jenkinsci-dev/6-1mZoKp4hM/EHz5NaPRBgAJ).
>
>
> Hope you all find more video content helpful!
>
>
> Cheers
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/20180411020146.GB1836%40grape.lasagna.io
> .
> 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/CAPiUgVfHgLTD97xcU%3DCB0D69F32xi5CjWhRixXEWo-6L12RSog%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Heads up! Jenkins is on YouTube, with more videos coming soon!

2018-04-10 Thread R. Tyler Croy

The Jenkins project has been on YouTube for a while, but I recently
transitioned our channel to a "Brand Account", which means we can share
permissions to post videos _much_ more easily:

https://www.youtube.com/c/jenkinscicd


I am hoping that we can share access, not only for the Jenkins Online Meetups
(https://www.meetup.com/Jenkins-online-meetup/), but also for more project
meetings and group meetings (see also:
https://groups.google.com/d/msg/jenkinsci-dev/6-1mZoKp4hM/EHz5NaPRBgAJ).


Hope you all find more video content helpful!


Cheers

-- 
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/20180411020146.GB1836%40grape.lasagna.io.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: Cannot create cloud using vSphere plugin

2018-04-10 Thread Daniel Beck

> On 10. Apr 2018, at 18:28, john.peterson  wrote:
> 
> Under Configure System I have a section at the bottom that says "Add a new 
> cloud" and if I click the pull-down it says vSphere Cloud.  But when I click 
> that, nothing happens.
> 
> This is the 4th system I have created over the last 3-1/2 years and this is 
> the first time I have run into this.
> 
> Thoughts?  Am I missing some dependency that isn't being flagged?

Make sure the URL you're accessing Jenkins with is the same that's configured 
as its Jenkins URL Location.

Check your browser console for JS or HTTP errors.

Could also be the same bug as JENKINS-47885 just manifested in a different 
plugin.

-- 
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/D9F8ECAC-4249-4B70-AA8C-8E737576448F%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: docker image retention (built via dockerfiles)

2018-04-10 Thread Lukas Winkler
Hi Morten,

sadly that would only move the problem from the local nodes to the nexus 
repository as there is no 'auto purge the oldest x images' option in nexus 
as far as I can tell.

BR
Lukas

Am Samstag, 17. März 2018 01:00:17 UTC+1 schrieb Morten Bjoernsvik:
>
> Hi Lucas
>
> This is exactly the use case of a private docker registry like Nexus3. 
> https://www.sonatype.com/nexus-repository-oss
>
> You can build to what ever layer of readiness you need and then push it to 
> the registry, then clean everything, then next time you need to build/run a 
> container you just pull it from the registry.
> No intermediate layers, no need to cache anything locally. 
>
> If you like to learn about how to optimize you docker workflow, You may 
> look at https://fabric8.io, (which integrates Gogs, Jenkins and nexus).
>
> --
> MortenB
>
> On Thursday, March 15, 2018 at 2:04:35 PM UTC+1, Lukas Winkler wrote:
>>
>> Hi,
>>
>> I want to setup a jenkinsfile building a git project and running tests in 
>> various environments, preferably docker (multiple gcc versions, clang, 
>> ...). My approach was to simply setup agents and connect them via ssh and 
>> install docker on them. The jenkinsfile will have a parallel section 
>> listing all the environments (from differnt dockerfiles) and what commands 
>> to run in them to run the tests). The build images would be cached and 
>> reruns would be decently fast and I would probably be happy with the 
>> results.
>>
>> However now I am looking at the possibility of space issues with all 
>> those docker images beeing generated. The tags for those images are 
>> currently based on the SHA1 hash of the dockerfile and as I understand it 
>> will be based on a hash out of the dockerfile and the full project name in 
>> the future. I could simply delete (docker system prune -a) images 
>> periodically, but that leaves a sour taste in my mouth due to it forcing 
>> rebuilds of actual in use containers on one hand and beeing noticable in 
>> build logs tempering with build statistics.
>>
>> I know that jenkins supports build discarder properties. Can something be 
>> patched in that would extend those properties to docker images beeing build?
>> Or maybe someone has an idea on how I can modify my setup to not run into 
>> those issues?
>>
>> BR
>> Lukas
>>
>

-- 
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/6050e3ee-3b0f-4599-8f92-0e3c6ea41746%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cannot create cloud using vSphere plugin

2018-04-10 Thread john.peterson
New install of Jenkins and I have replicated all plugins from our running 
system.  Tried vSphere plugin 2.16 and 2.17.

Under Configure System I have a section at the bottom that says "Add a new 
cloud" and if I click the pull-down it says vSphere Cloud.  But when I 
click that, nothing happens.

This is the 4th system I have created over the last 3-1/2 years and this is 
the first time I have run into this.

Thoughts?  Am I missing some dependency that isn't being flagged?

-- 
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/f202fc79-95c3-49ec-b719-ed4e361dea9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: pipline create UI

2018-04-10 Thread Mark Waite
On Tue, Apr 10, 2018 at 6:40 AM Sakitha Nawodana <
sakithanawodan...@gmail.com> wrote:

> Dear team,
> Is their any stable UI can used for create pipelines instead of blueocean
> UI, using method like drag and drop?
>

No.


> Thanks
> sakitha
>
> --
> 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/f0c750d9-ea66-44f4-8dd0-fc4d8e62154d%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/CAO49JtHauHe8YuYPwznDromSOXQ%2BeWWPFwZ%2BwJaJEFvs%2BPHn3Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Blue ocean new plugin create

2018-04-10 Thread Mark Waite
On Tue, Apr 10, 2018 at 5:24 AM Sakitha Nawodana <
sakithanawodan...@gmail.com> wrote:

> Dear team,
>
> What is the strategy I have to follow for create new blue ocaen support
> plunging.?
> please advice the main requirements to covered in my plunging for support
> blue ocean?
>
>
Keith Zantow presented a session at Jenkins World 2017 called "Extending
Blue Ocean
".
Start there for guidance and instructions.


> why this error accorded when tried to go for editor ? what is the solution
> for this? (*please find the attached do*)
> what are the stable plugins can used in blue ocean already in jenkin?
> Why some of the jerkin plugins not support in blue ocean?
>
>
Blue Ocean uses ssh based repository access for git repositories which are
not hosted at one of the major providers (GitHub, Bitbucket).

Blue Ocean is an opinionated user interface.  It intentionally works in
specific ways and guides the user to operate through specific paths.  It
does not support every Jenkins capability (1000+ plugins) and is not
planned to ever support every Jenkins capability.


> Is their possibility to get direct support from team member of the
> blueocaen ,It is helpful to resolved serious blockers faced in blueocean
> used.
>

Jenkins is an open source project.  Blue Ocean plugins are open source
components.  Direct support from Blue Ocean team members depends on those
team members giving their time.

The time that Blue Ocean team members give to directly support users is
time that is sacrificed from developing more Blue Ocean capabilities.  It
is usually better that members of the Jenkins community help one another
rather than relying on Blue Ocean team members.

There are companies that sell products based on Jenkins and companies that
sell support for Jenkins.  Those companies are mentioned on the Jenkins
wiki at https://wiki.jenkins.io/display/JENKINS/Commercial+Support
(including my employer, CloudBees).

Mark Waite


> Thanks
> sakitha
>
> --
> 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/9d63d9f3-937c-4b19-b331-a01dc01e31a1%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/CAO49JtHby4ZHv%2BmCn25w4o1-z-GKCU9SOgzJzQOzzw5n2Mp2ww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pipeline: Support for DependencyGraph

2018-04-10 Thread Sverre Moe
Find my self in desperate need of a DependencyGraph class to manage my 
build transitive dependencies, called from my pipeline script.
I really hope JENKINS-29913 
 will be worked on soon.

Is there any project on GitHub which have tried to implement something 
similar to DependencyGraph that would be usable on pipeline builds. I have 
already started to look into creating a DependencyGraph class for my 
shared-library, but was hoping to perhaps save some time if there is some 
code I could reuse.

mandag 7. november 2016 13.26.58 UTC+1 skrev Sverre Moe følgende:
>
> Dependency Graph is very useful to display any upstream and downstream 
> dependencies. However with Pipeline it seems no longer an option.
>
> Is there any plans for *DependencyGraph* pipeline support with 
> *WorkflowMultiBranchProject*? Since *DependencyGraph* can only work with 
> *AbstractProject*, and the closest inherited class between them is 
> *AbstractItem*.
>
> In my Pipeline script I parse the RPM spec files (looking for 
> BuildRequirements) of all Jenkins Multibranch Pipeline jobs in order to 
> create a list of upstream and downstream dependencies. This in order to 
> trigger builds, as the Pipeline equivalent of build triggers (Build other 
> projects).
>
> An ugly hack: Keep duplicate FreestyleProject of all Multibranch projects. 
> Update the build triggers of a FreestyleProject from a running pipeline 
> build.
> The FreeStyleProject does not need to do anything actually. It is just 
> there to support DependencyGraph.
>

-- 
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/31ddb349-c99c-4ac8-b54c-95945f2d2de6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Remote Jenkins Node never brought offline

2018-04-10 Thread Alexandru Băluț
On 5 April 2018 at 15:44, Alexandru Băluț  wrote:

> I'm using Jenkins ver. 2.107.1 and I created a Node. See the screenshot
> below for the configuration details of the Node.
>
>
>
>
The problem I reported seems to be gone. But now there is another. In the
start-worker.sh script I have:

#!/bin/sh


I=$1

P=...

Z=...


# According to `gcloud compute instances start --help` this is sync.

gcloud compute --project $P instances start --zone $Z $I || exit 1


finish() {

  # Shutdown.

  echo 3 >> /tmp/x

  gcloud compute --project $P instances stop --zone $Z $I >> /tmp/x

}

trap finish EXIT


# "What Jenkins expects from your script is that, in the end, it has to
execute

# the agent program like java -jar agent.jar, on the right computer, and
have

# its stdin/stdout connect to your script's stdin/stdout."

#
https://wiki.jenkins.io/display/JENKINS/Distributed+builds#Distributedbuilds-WriteyourownscripttolaunchJenkinsagents

echo 1 >> /tmp/x

gcloud compute --project $P ssh --zone $Z $I --command 'wget "
http://10.132.0.20:8080/jnlpJars/agent.jar; -O agent.jar && java -jar
agent.jar'


echo 2 >> /tmp/x


The agent is started fine, the job being run fails as expected, but then
"echo 2" is never executed. Not even "echo 3" which should be executed when
the scripts exits. It seems as if the script process is killed -9. This is
a problem because the instance I started cannot be brought down using this
nice synchronous mechanism provided by "gcloud compute instances
start/stop".

This is what I see in the node log:

[...]

Connection terminated
channel stopped

[04/10/18 13:13:47] Launching agent
$ /var/lib/jenkins/start-worker.sh instance-eval-worker-template
+ I=instance-eval-worker-template
+ P=...
+ Z=...
+ gcloud compute --project ... instances start --zone ...
instance-eval-worker-template

Starting instance(s) instance-eval-worker-template...

.done.
Updated 
[https://www.googleapis.com/compute/v1/projects/.../instances/instance-eval-worker-template].
+ trap finish EXIT
+ echo 1
+ gcloud compute --project ... ssh --zone ...
instance-eval-worker-template --command wget
"http://10.132.0.20:8080/jnlpJars/agent.jar; -O agent.jar && java -jar
agent.jar

Updating project ssh metadata...

.failed.

--2018-04-10 13:14:14--  http://10.132.0.20:8080/jnlpJars/agent.jar
Connecting to 10.132.0.20:8080... connected.
HTTP request sent, awaiting response... 200 OK
Length: 762466 (745K) [application/java-archive]
Saving to: ‘agent.jar’

 0K .. .. .. .. ..  6%  102M 0s
   700K .. .. .. ..   100%  206M=0.006s

2018-04-10 13:14:14 (131 MB/s) - ‘agent.jar’ saved [762466/762466]

<===[JENKINS REMOTING CAPACITY]===>channel started
Remoting version: 3.17
This is a Unix agent
Evacuated stdout

Agent successfully connected and online

Connection terminated




Any idea what's going on? Should I file a bug or am I using it incorrectly?

-- 
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/CAHAfVU8bPat0rEBax65mbq-mR3AchXMbjLakJkbSUqPiNwt%2B5Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


pipline create UI

2018-04-10 Thread Sakitha Nawodana
Dear team,
Is their any stable UI can used for create pipelines instead of blueocean 
UI, using method like drag and drop? 
Thanks
sakitha

-- 
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/f0c750d9-ea66-44f4-8dd0-fc4d8e62154d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Are you recommend to use blueOcean,when creating pipeline

2018-04-10 Thread Nalakajayaruwan Kulasekara
   - thanks mark




On Tue, Apr 10, 2018 at 5:09 PM, Mark Waite 
wrote:

> Replies are inline.
>
> On Tue, Apr 10, 2018 at 2:20 AM Nalakajayaruwan Kulasekara <
> nalakajayaru...@gmail.com> wrote:
>
>> Dear Team,
>>
>>
>> Currently we used the Jenkins pipeline tool for our CI/CD. First like to
>> thank the effort your team put develop the tool. Because It Is the amazing
>> stable tool in our release team used.
>>
>> Then the we plan to shift the Jenkins next level call blue ocean concept
>> for our next stage of projects. But unfortunately we faced the current
>> issues in first step when go for blue ocean. Please help following blockers.
>>
>>
>> *Pipeline **setup *
>>
>>- Why SSH only used? (*Figure 1*)
>>- Why do not use user name and password for use authentication ? (*Figure
>>1*)
>>
>>
>>
> I assume it is because ssh protocol is easier to handle as a programmatic
> authentication to the repository than username / password.
>
> I recommend against http support.  It sends username and password over the
> wire in clear text or at least in readily reversible text.
>
>
>> *Pipeline **Edit View *
>>
>>- Why the existing Jenkins all plugins not support for blue ocean ,If
>>the not support plugging makes a support puling for blue ocean, what is 
>> the
>>method we have to followed ?(*Figure 2*)
>>- How to add the chilled step?
>>
>>
>>
> Your figure 2 indicates you'd like support for Subversion.  The Blue
> Ocean roadmap  shows that
> Subversion is not planned to ever be supported by Blue Ocean.
>
> I don't recognize the term "chilled step".  Can you explain further what
> you're trying to achieve with a "chilled step"?
>
> If you mean a "child step" (as in extending the components of the Blue
> Ocean UI), then Blue Ocean is extended by pull requests to the appropriate
> Blue Ocean plugin.
>
>
>> *Other Importance areas*
>>
>>- Can I Know the steps to follow, if we create new blue ocean support
>>Jenkins plugin?
>>- Can we use all the functionalities of currently available in
>>Jenkins plugins in blue ocean?
>>- Is the Jenkins team recommended shift to  blue ocean to create
>>critical CD?
>>
>>
>>
> Keith Zantow presented a session at Jenkins World 2017 called "Extending
> Blue Ocean
> ".
> Start there for guidance and instructions.
>
> Blue Ocean is an opinionated user interface.  It intentionally works in
> specific ways and guides the user to operate through specific paths.  It
> does not support every Jenkins capability (1000+ plugins) and is not
> planned to ever support every Jenkins capability.
>
> Blue Ocean is a great user interface.  If there is some reasont that it
> does not meet your specific needs, you can always use the regular user
> interface.
>
> Mark Waite
>
>
>>  we appreciate  to your help to resolved the issues ASAP and quick
>> response .
>>
>>
>>
>> *Figure 1:. Http/https url do not support *
>>
>>
>>
>> 
>>
>>
>>
>>
>>
>> *Figure 2: Why jenkins plugins does not support in blueocean*
>>
>>
>>
>> 
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Thanks,
>> Nalaka
>>
>>
>> --
>> 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/f2ffbf47-90a5-488a-9e13-
>> 69387d058e22%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/CAO49JtEDZOskC8xMN%2B_Fu4NZsp_
> nHtnVud6GVwLgq6-dXv-Wbg%40mail.gmail.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 

Re: what is the statue of blueocean release ? alpha or beta

2018-04-10 Thread Nalakajayaruwan Kulasekara
Thanks Mark,


On Tue, Apr 10, 2018 at 4:56 PM, Mark Waite 
wrote:

> Blue Ocean plugin releases are available in the Jenkins Update Center.
> Blue Ocean is documented on https://jenkins.io/projects/blueocean/ .  As
> far as I can tell, I'd call it "released", not alpha or beta.
>
> The experimental update center often contains an alpha or a beta release
> of Blue Ocean as well.  Refer to https://jenkins.io/doc/
> developer/publishing/releasing-experimental-updates/ for more information
> about the experimental update center if you want to try and alpha or a beta
> release.
>
> Mark Waite
>
> On Tue, Apr 10, 2018 at 3:37 AM Nalakajayaruwan Kulasekara <
> nalakajayaru...@gmail.com> wrote:
>
>> what is the statue of blueocean  release ?  alpha or beta
>>
>> --
>> 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/b54e9de8-241b-41ea-88d3-
>> 4bc4a680bfde%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/CAO49JtEiNSB9SUntpJzxGqmL19bdD
> f%2B%3DhLHHqnOJv4YSbvRkzQ%40mail.gmail.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/CAPeuRjc9Vd4KQ7kU2uqZex73DgdSHUoCa9xxpg-ThNVfp5P30A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Manual Step in Pipeline

2018-04-10 Thread Penugonda chenna reddy
we are using jenkins 2.0 pipeline for the complex project build. We have 
the following stages:
  1) Checkout
  2) Compile
  3) Deliver to Artifactory
  4) System Testing Manual
  5) Release Promotion

in 4 th step we want to upload the test artifacts such as System Test Cases 
Results in an .csv or .xml format and the release promotion also needs 
manager permissions to promote the binaries to Release in Artifactory.
We got stuck how to implement to upload a file in 4th step using "input" in 
pipeline.  In 4th step. it should have a provision to upload system testing 
output to jenkins.

We seek your help in understanding how to do the above.

-- 
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/04286350-69a5-452a-a1aa-c90e5244eda7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Are you recommend to use blueOcean,when creating pipeline

2018-04-10 Thread Mark Waite
Replies are inline.

On Tue, Apr 10, 2018 at 2:20 AM Nalakajayaruwan Kulasekara <
nalakajayaru...@gmail.com> wrote:

> Dear Team,
>
>
> Currently we used the Jenkins pipeline tool for our CI/CD. First like to
> thank the effort your team put develop the tool. Because It Is the amazing
> stable tool in our release team used.
>
> Then the we plan to shift the Jenkins next level call blue ocean concept
> for our next stage of projects. But unfortunately we faced the current
> issues in first step when go for blue ocean. Please help following blockers.
>
>
> *Pipeline **setup *
>
>- Why SSH only used? (*Figure 1*)
>- Why do not use user name and password for use authentication ? (*Figure
>1*)
>
>
>
I assume it is because ssh protocol is easier to handle as a programmatic
authentication to the repository than username / password.

I recommend against http support.  It sends username and password over the
wire in clear text or at least in readily reversible text.


> *Pipeline **Edit View *
>
>- Why the existing Jenkins all plugins not support for blue ocean ,If
>the not support plugging makes a support puling for blue ocean, what is the
>method we have to followed ?(*Figure 2*)
>- How to add the chilled step?
>
>
>
Your figure 2 indicates you'd like support for Subversion.  The Blue Ocean
roadmap  shows that
Subversion is not planned to ever be supported by Blue Ocean.

I don't recognize the term "chilled step".  Can you explain further what
you're trying to achieve with a "chilled step"?

If you mean a "child step" (as in extending the components of the Blue
Ocean UI), then Blue Ocean is extended by pull requests to the appropriate
Blue Ocean plugin.


> *Other Importance areas*
>
>- Can I Know the steps to follow, if we create new blue ocean support
>Jenkins plugin?
>- Can we use all the functionalities of currently available in Jenkins
>plugins in blue ocean?
>- Is the Jenkins team recommended shift to  blue ocean to create
>critical CD?
>
>
>
Keith Zantow presented a session at Jenkins World 2017 called "Extending
Blue Ocean
".
Start there for guidance and instructions.

Blue Ocean is an opinionated user interface.  It intentionally works in
specific ways and guides the user to operate through specific paths.  It
does not support every Jenkins capability (1000+ plugins) and is not
planned to ever support every Jenkins capability.

Blue Ocean is a great user interface.  If there is some reasont that it
does not meet your specific needs, you can always use the regular user
interface.

Mark Waite


>  we appreciate  to your help to resolved the issues ASAP and quick
> response .
>
>
>
> *Figure 1:. Http/https url do not support *
>
>
>
> 
>
>
>
>
>
> *Figure 2: Why jenkins plugins does not support in blueocean*
>
>
>
> 
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Thanks,
> Nalaka
>
>
> --
> 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/f2ffbf47-90a5-488a-9e13-69387d058e22%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/CAO49JtEDZOskC8xMN%2B_Fu4NZsp_nHtnVud6GVwLgq6-dXv-Wbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: what is the statue of blueocean release ? alpha or beta

2018-04-10 Thread Mark Waite
Blue Ocean plugin releases are available in the Jenkins Update Center.
Blue Ocean is documented on https://jenkins.io/projects/blueocean/ .  As
far as I can tell, I'd call it "released", not alpha or beta.

The experimental update center often contains an alpha or a beta release of
Blue Ocean as well.  Refer to
https://jenkins.io/doc/developer/publishing/releasing-experimental-updates/ for
more information about the experimental update center if you want to try
and alpha or a beta release.

Mark Waite

On Tue, Apr 10, 2018 at 3:37 AM Nalakajayaruwan Kulasekara <
nalakajayaru...@gmail.com> wrote:

> what is the statue of blueocean  release ?  alpha or beta
>
> --
> 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/b54e9de8-241b-41ea-88d3-4bc4a680bfde%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/CAO49JtEiNSB9SUntpJzxGqmL19bdDf%2B%3DhLHHqnOJv4YSbvRkzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Blue ocean new plugin create

2018-04-10 Thread Sakitha Nawodana
Dear team,

What is the strategy I have to follow for create new blue ocaen support 
plunging.?
please advice the main requirements to covered in my plunging for support 
blue ocean? 

why this error accorded when tried to go for editor ? what is the solution 
for this? (*please find the attached do*)
what are the stable plugins can used in blue ocean already in jenkin?
Why some of the jerkin plugins not support in blue ocean?

Is their possibility to get direct support from team member of the 
blueocaen ,It is helpful to resolved serious blockers faced in blueocean 
used.
Thanks
sakitha

-- 
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/9d63d9f3-937c-4b19-b331-a01dc01e31a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: jenkins pipeline with groovy and use of “Withcredentials”

2018-04-10 Thread Victor Martinez
IIUC, you are missing the body of the withCredentials step, so something 
like the below should work

...

stage ('Upload war to Artifactory') {
withCredentials([usernamePassword(credentialsId: 'artifactory', 
usernameVariable: 'user', passwordVariable: 'password')]) {
sh "sudo curl -u $user:$password -T $warPath 
'https://artifactory.xx.com:443/artifactory/form/$warFile'"
}
}
...


Besides of that, the Snippet Generator 
(https://jenkins.io/doc/book/pipeline/getting-started/#snippet-generator) 
might help you too

Cheers

-- 
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/e5b20f73-1211-4fb0-bcbf-1a432685dc25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


what is the statue of blueocean release ? alpha or beta

2018-04-10 Thread Nalakajayaruwan Kulasekara
what is the statue of blueocean  release ?  alpha or beta 

-- 
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/b54e9de8-241b-41ea-88d3-4bc4a680bfde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Deleting a Node Agent creates Exception (Jenkins ver. 2.107.1)

2018-04-10 Thread Joaquin Henriquez
Hi Guys

When trying to delete a Node Agent I get the following exception.
Has somebody come across it? I do it through the GUI.

A problem occurred while processing the request. Please check our bug tracker 
to see if a similar problem has already been reported. If it is already 
reported, please vote and put a comment on it to let us gauge the impact of the 
problem. If you think this is a new issue, please file a new issue. When you 
file an issue, make sure to add the entire stack trace, along with the version 
of Jenkins and relevant plugins. The users list might be also useful in 
understanding what has happened.

Stack trace
java.lang.NullPointerException
at 
com.nirima.jenkins.plugins.docker.DockerCloud.getTemplates(DockerCloud.java:445)
at 
com.nirima.jenkins.plugins.docker.DockerCloud.getTemplate(DockerCloud.java:397)
at 
com.nirima.jenkins.plugins.docker.DockerCloud.canProvision(DockerCloud.java:379)
at hudson.model.Label.getClouds(Label.java:227)
at hudson.model.Label.isEmpty(Label.java:436)
at jenkins.model.Jenkins.trimLabels(Jenkins.java:2100)
at jenkins.model.Nodes$5.run(Nodes.java:247)
at hudson.model.Queue._withLock(Queue.java:1370)
at hudson.model.Queue.withLock(Queue.java:1247)
at jenkins.model.Nodes.removeNode(Nodes.java:237)
at jenkins.model.Jenkins.removeNode(Jenkins.java:2061)
at 
hudson.slaves.AbstractCloudSlave.terminate(AbstractCloudSlave.java:70)
at 
hudson.slaves.AbstractCloudComputer.doDoDelete(AbstractCloudComputer.java:63)
at 
java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
at 
org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
at 
org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:77)
at 
org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)
at 
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117)
at 
org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
Caused: javax.servlet.ServletException
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:765)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
at 
org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:209)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
at 
org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:225)
at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at 
io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at 
io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61)
at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at 
com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:47)
at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at 
hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59)
at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
at 
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
   

Jenkinsci/BlueOcean in Docker using Docker Agent

2018-04-10 Thread Theo W
Hi all,

I'm running Jenkinsci/Blueocean official image in Docker, and wanted to try
using Docker agent in the Declarative Pipeline to start up a gradle
container to build the project.

Simple Jenkinsfile as follows:

pipeline {
  agent none
  stages {
stage('Gradle Build') {
  agent {
  docker {
  image 'gradle:latest'
  args '--rm -v "$PWD":/home/gradle/project -w
/home/gradle/project gradle gradle build'
  }
  }
  steps {
echo 'Hello World'
echo 'List contents of build directory'
sh 'ls build'
  }
}
  }
}

However when executing the pipeline, I see the following log:

[Pipeline] sh
[axpertws-pipe_master-VTRKBPYSKQ2MHDGNJKOHZQ5MPD647OIFZT2MTGW5LI77EO6KMC5A]
Running shell script
+ docker inspect -f . gradle:latest

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the
docker daemon running?
[Pipeline] sh
[axpertws-pipe_master-VTRKBPYSKQ2MHDGNJKOHZQ5MPD647OIFZT2MTGW5LI77EO6KMC5A]
Running shell script
+ docker pull gradle:latest
Warning: failed to get default registry endpoint from daemon (Cannot
connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker
daemon running?). Using system default: https://index.docker.io/v1/
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the
docker daemon running?

My question is is the jenkinsci/blueocean image supposed to support Docker
agents out of the box or do we need to use it as a base image to come up
with customized solution such as bind mounting the host docker socket, etc ?

Thanks

-- 
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/CAEihVNaeTd9UcvFmoFVPWNuP%3DjTE4S1BrmCxZJ-zy59xVN_iYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Are you recommend to use blueOcean,when creating pipeline

2018-04-10 Thread Nalakajayaruwan Kulasekara


Dear Team,


Currently we used the Jenkins pipeline tool for our CI/CD. First like to 
thank the effort your team put develop the tool. Because It Is the amazing 
stable tool in our release team used.

Then the we plan to shift the Jenkins next level call blue ocean concept 
for our next stage of projects. But unfortunately we faced the current 
issues in first step when go for blue ocean. Please help following blockers.


*Pipeline **setup *

   - Why SSH only used? (*Figure 1*)
   - Why do not use user name and password for use authentication ? (*Figure 
   1*)


*Pipeline **Edit View *

   - Why the existing Jenkins all plugins not support for blue ocean ,If 
   the not support plugging makes a support puling for blue ocean, what is the 
   method we have to followed ?(*Figure 2*)
   - How to add the chilled step?


*Other Importance areas*

   - Can I Know the steps to follow, if we create new blue ocean support 
   Jenkins plugin? 
   - Can we use all the functionalities of currently available in Jenkins 
   plugins in blue ocean?
   - Is the Jenkins team recommended shift to  blue ocean to create 
   critical CD?
   

 we appreciate  to your help to resolved the issues ASAP and quick response
 .



*Figure 1:. Http/https url do not support *








*Figure 2: Why jenkins plugins does not support in blueocean*

















Thanks,
Nalaka
 

-- 
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/f2ffbf47-90a5-488a-9e13-69387d058e22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Blue Ocean and Git connectivity issue

2018-04-10 Thread Theo W
Hi Vivek,

I was able to get past that screen and get to the pipeline editor
interface, but did notice the following exception trace being output from
the jenkinsci/blueocean official image:

jenkins_1  | Apr 10, 2018 8:00:27 AM
org.eclipse.jetty.server.handler.ContextHandler$Context log
jenkins_1  | WARNING: Error while serving
http://localhost:8080/blue/rest/pipeline-metadata/agentMetadata
jenkins_1  | java.lang.reflect.InvocationTargetException
jenkins_1  | at
org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:347)
jenkins_1  | at
org.kohsuke.stapler.ForwardingFunction.invoke(ForwardingFunction.java:63)
jenkins_1  | at
io.jenkins.blueocean.commons.stapler.TreeResponse$Processor.invoke(TreeResponse.java:43)
jenkins_1  | at
org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
jenkins_1  | at
org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)
jenkins_1  | at
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117)
jenkins_1  | at
org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129)
jenkins_1  | at
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
jenkins_1  | at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
jenkins_1  | at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
jenkins_1  | at
org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374)
jenkins_1  | at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
jenkins_1  | at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
jenkins_1  | at
org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374)
jenkins_1  | at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
jenkins_1  | at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
jenkins_1  | at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:686)
jenkins_1  | at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
jenkins_1  | at
org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374)
jenkins_1  | at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
jenkins_1  | at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
jenkins_1  | at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
jenkins_1  | at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
jenkins_1  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
jenkins_1  | at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)
jenkins_1  | at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
jenkins_1  | at
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
jenkins_1  | at
org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:225)
jenkins_1  | at
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
jenkins_1  | at
io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
jenkins_1  | at
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
jenkins_1  | at
io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61)
jenkins_1  | at
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
jenkins_1  | at
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)
jenkins_1  | at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
jenkins_1  | at
hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:105)
jenkins_1  | at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
jenkins_1  | at
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
jenkins_1  | at
hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
jenkins_1  | at
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
jenkins_1  | at
jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
jenkins_1  | at
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
jenkins_1  | at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
jenkins_1  | at
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
jenkins_1  | at
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
jenkins_1  | at
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
jenkins_1  | at
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
jenkins_1  | at
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
jenkins_1  | at
jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
jenkins_1  | at
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
jenkins_1  | at

Obscure error running msbuild

2018-04-10 Thread Cyrille Claustre
Hello,

I'm using Jenkins to build VS2017 projects (C#), with msbuild 15. My job 
produces compile errors (on a partial class), but running exactly the same 
command on the master (from Jenkins log) just goes fine.
The command (from job's log) is just an msbuild on the .sln file.

When I run a command shell on my master (Windows Server) and start the same 
command from the same path, msbuild compiles OK. I tried to copy the 
environment variables to my Jenkins configuration but it changed nothing.

I just can't figure out how the same command on the same computer can 
produce different results, especially weird compilation errors (the code 
compiles perfectly, even from a command line).

Thanks for helping.

-- 
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/47d15113-c208-4a80-a0b6-b9222b83f253%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


BUG REQUEST QUALITY GATES PLUGIN

2018-04-10 Thread Virginia Mesa
Hi,

It takes a while for me to get the Sonar QG plugin. I do not know if 
someone else will happen, install the new version (2.73) to see if it was 
solved, but nothing. I have debugged, and I see that I fail to do the 
requestPOST and GET. I returned a 401, and I thought it would be because I 
was not sending the credentials well, but I've seen that it sends them 
well. 

Up to point 1, where I put the parameters (user and pass) I take it well, 
add the header and proceed to the call RequestPOST, but I get an error in 
point 2.


Do you know why it could be?

PD :: I also put the error in the page of the plugin, but in case someone 
from the forum had happened.



Thanks!!

-- 
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/9ad7a07f-473e-4eb9-be42-82826a2ccbe0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Extension points for declarative pipeline in shared library

2018-04-10 Thread Reinhold Füreder
@Francois: Thanks for sharing your approach (that did not come to my mind to be 
honest).

Just for the sake of completeness and kind of praising Jenkins development 
listening to the needs of us users, please have a look at some of the new 
features for declarative pipelines just published/announced yesterday: 
https://jenkins.io/blog/2018/04/09/whats-in-declarative/ might make such 
(real-world) ideas easier or more straight forward to implement, I think.

HTH Reinhold

-- 
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/VI1P190MB0255613D73931F028A0E795FF7BE0%40VI1P190MB0255.EURP190.PROD.OUTLOOK.COM.
For more options, visit https://groups.google.com/d/optout.