Stage View for Freestyle Job

2018-03-16 Thread StickSto
Hello All,

Is it possible to get Stage View kind of Result Window to Jenkins's 
Freestyle Job?

Or what kind of Result Windows it's possible to get into Freestyle Job?

I would like to use Freestyle Job in my case but it's normal basic Result 
Window should contain information 
of it's Builds and Post Build Actions.

Can anyone help how to get them, thanks

Best Regards,

JH

-- 
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/8c5df05a-91aa-4956-a899-883a2a4f8d6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Stage View for Freestyle Job

2018-03-16 Thread Ullrich Hafner
Which information is missing? A freestyle job already has a page for each build 
with all important post steps.

> Am 16.03.2018 um 14:36 schrieb StickSto :
> 
> Hello All,
> 
> Is it possible to get Stage View kind of Result Window to Jenkins's Freestyle 
> Job?
> 
> Or what kind of Result Windows it's possible to get into Freestyle Job?
> 
> I would like to use Freestyle Job in my case but it's normal basic Result 
> Window should contain information
> of it's Builds and Post Build Actions.
> 
> Can anyone help how to get them, thanks
> 
> Best Regards,
> 
> JH
> 
> 
> --
> 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/8c5df05a-91aa-4956-a899-883a2a4f8d6a%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/5A0510B9-E1E8-4977-BCA1-8EEC37637D5B%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Message signed with OpenPGP


Re: Controlling the build button

2018-03-16 Thread Juri Lelli
Hi,

I have exactly the same need, and Validating String Parameter Plugin 
doesn't seem to play nice with Pipelines (user can trigger a build even if 
validation didn't succeed).

Any help?

Thanks!

Juri

On Monday, July 18, 2016 at 7:17:06 PM UTC+2, Alex Brodov wrote:
>
> I have complex jobs with a lot of parameters, is there any way to validate 
> those parameters using JavaScript form validation or with some other 
> methods, and if the user's input isn't not correct, i'll show an error 
> message and also disable the *build button.*
> I've tried installing the Validating String Parameter Plugin 
> 
>  , 
> it seems like that it's only displaying errors
>

-- 
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/9d7a836e-9f44-47e8-ad98-6ac3293b7a46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Serving LetsEncrypt challenge from Jenkins

2018-03-16 Thread Simon Richter
Hi,

I'm trying to set up a Jenkins instance that uses LetsEncrypt to get an
SSL certificate. This instance should run inside a VM with no external
dependencies.

So, I'd like to start up Jenkins with a self-signed certificate
initially, then an external script comes along and puts a static file
into the web tree, which is then requested externally, the file is
subsequently deleted and then Jenkins is restarted to load the new
certificate.

How would I make a file with a random name visible in the web tree (the
file is not below /userContent/)?

Also, I'd like to bind Jenkins to port 443 — is there a sane way to make
it bind the port and drop privileges, or do I need to create an ugly
workaround?

   Simon

-- 
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/24b066b8-e453-a64b-10ba-572df88b6c2d%40hogyros.de.
For more options, visit https://groups.google.com/d/optout.


Re: Serving LetsEncrypt challenge from Jenkins

2018-03-16 Thread Daniel Beck

> On 16. Mar 2018, at 22:46, Simon Richter  wrote:
> 
> How would I make a file with a random name visible in the web tree (the
> file is not below /userContent/)?
> 
> Also, I'd like to bind Jenkins to port 443 — is there a sane way to make
> it bind the port and drop privileges, or do I need to create an ugly
> workaround?

The answer for both is the same: Use a reverse proxy.

(Or you can use e.g. iptables to forward 443 to 8080 for the second question.)

-- 
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/5A849777-D0F2-4D31-85A8-1D7A0C12DA39%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


How to avoid truncated labels in the Blue Ocean Pipeline view?

2018-03-16 Thread Sébastien Doeraene


Hello,

I have recently migrated to Jenkins 2, and its Pipeline-as-code and Blue 
Ocean features. Overall, I am very happy about the improvements.

One thing significantly bothers me: in the graphical Pipeline view of Blue 
Ocean, all my job labels are truncated (they're too long), as can be seen 
on the following image: 




It's all the more frustrating because I have so much white space on both 
sides of the image, and Blue Ocean won't use it to display my long labels.

This is a productivity issue for me, because my labels encode the specific 
configuration (you can see the version of Scala there, but I also have the 
version of Java and some more exotic parameters that cannot be seen). 
Because of it, I cannot see at-a-glance which configurations have failed, 
and what common denominator they have (e.g., all the "main" jobs on Java 6 
fail, but not the other ones).

*tl;dr* How could I configure Blue Ocean for it not to truncate my job 
labels? Increasing the usage of horizontal real estate would be ideal, but 
I'll be happy with a solution that takes up more vertical space instead.

Cheers,
Sébastien

-- 
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/c2ec3394-3e43-4a59-9cfc-ac5acde01955%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: docker image retention (built via dockerfiles)

2018-03-16 Thread 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/d5e5c911-3db1-416b-beaf-ca5bf9b1c68f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.