RE: Installer return 3010, and pipeline failed

2017-11-15 Thread Reinhold Fuereder
Hi Charles,

I guess you are executing the installer in the pipeline via “sh” step: thus, 
you will need to catch the exit/return code (instead of output) from “sh” step 
and script the logic based on the allowed bad exit code; for example:

def exitCode = script.sh(returnStatus: true, script: “...”)
if (exitCode != 0 && exitCode != 3010) {
  error(“...”)
}
// else: continue in pipeline...

HTH Reinhold

P.S.: Maybe, however, you want to double check that his special exit code is 
really okay/acceptable…

-- 
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/C3D41C0B1D5991438F1A43F586F4B47F91713F83%40TIGER2010.xortex.local.
For more options, visit https://groups.google.com/d/optout.


AW: jobs modified via script console do not take effect

2017-10-24 Thread Reinhold Fuereder
Hi Arturo,

maybe this answer by Andrew on Saturday, 23 September 2017 03:01:26 UTC+5:30 
explains it:
Yeah, the job has to run at least once after you've added the triggers 
directive for it to register, and then it'll be fine.

Please see 
https://groups.google.com/forum/?utm_medium=email_source=footer#!msg/jenkinsci-users/wI0lzVSjmFg/dUPberPmAQAJ
 for more details...

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/C3D41C0B1D5991438F1A43F586F4B47F8169C0DF%40TIGER2010.xortex.local.
For more options, visit https://groups.google.com/d/optout.


AW: ALPN callback dropped: SPDY and HTTP/2 are disabled. Is alpn-boot on the boot class path?

2017-10-18 Thread Reinhold Fuereder
Hi Thor,

The stacktrace ("java.net.UnknownHostException: .slack.com: Name or service not 
known ") seems to indicate a bad host name or url?

HTH Reinhold


Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] 
Im Auftrag von Thor Waway
Gesendet: Donnerstag, 19. Oktober 2017 01:00
An: Jenkins Users
Betreff: ALPN callback dropped: SPDY and HTTP/2 are disabled. Is alpn-boot on 
the boot class path?

Hello,

While attempting to integrate the Slack Plugin, I keep the above error. Checked 
issues for this plugin on Github and JIRA but haven't found any open issues. 
Decided to try posting here first before reporting.


Here is the full output of Jenkins Log:

Oct 18, 2017 10:40:30 PM INFO org.eclipse.jetty.server.handler.ContextHandler 
doStart

Started 
w.@68c9d179{/,file:///var/cache/jenkins/war/,AVAILABLE}{/var/cache/jenkins/war}

Oct 18, 2017 10:40:30 PM INFO org.eclipse.jetty.util.ssl.SslContextFactory load

x509=X509@5884a914(jester.gashiandkinks.com,h=[jester.gashiandkinks.com],w=[])
 for SslContextFactory@50378a4(null,null)

Oct 18, 2017 10:40:31 PM INFO org.eclipse.jetty.server.AbstractConnector doStart

Started ServerConnector@660acfb{SSL,[ssl, http/1.1]}{0.0.0.0:8443}

Oct 18, 2017 10:40:31 PM INFO org.eclipse.jetty.server.Server doStart

Started @2639ms

Oct 18, 2017 10:40:31 PM INFO winstone.Logger logInternal

Winstone Servlet Engine v4.0 running: controlPort=disabled

Oct 18, 2017 10:40:31 PM INFO jenkins.InitReactorRunner$1 onAttained

Started initialization

Oct 18, 2017 10:40:32 PM INFO jenkins.InitReactorRunner$1 onAttained

Listed all plugins

Oct 18, 2017 10:40:39 PM INFO jenkins.InitReactorRunner$1 onAttained

Prepared all plugins

Oct 18, 2017 10:40:39 PM INFO jenkins.InitReactorRunner$1 onAttained

Started all plugins

Oct 18, 2017 10:40:41 PM INFO 
hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error

Failed to instantiate optional component 
hudson.plugins.build_timeout.operations.AbortAndRestartOperation$DescriptorImpl;
 skipping

Oct 18, 2017 10:40:42 PM INFO jenkins.InitReactorRunner$1 onAttained

Augmented all extensions

Oct 18, 2017 10:40:42 PM INFO hudson.slaves.SlaveComputer tryReconnect

Attempting to reconnect node-00

Oct 18, 2017 10:40:43 PM INFO jenkins.InitReactorRunner$1 onAttained

Loaded all jobs

Oct 18, 2017 10:40:43 PM INFO hudson.model.AsyncPeriodicWork$1 run

Started Download metadata

Oct 18, 2017 10:40:43 PM INFO hudson.model.AsyncPeriodicWork$1 run

Finished Download metadata. 13 ms

Oct 18, 2017 10:40:43 PM INFO jenkins.InitReactorRunner$1 onAttained

Completed initialization

Oct 18, 2017 10:40:44 PM INFO 
org.springframework.context.support.AbstractApplicationContext prepareRefresh

Refreshing 
org.springframework.web.context.support.StaticWebApplicationContext@420407ea:
 display name [Root WebApplicationContext]; startup date [Wed Oct 18 22:40:44 
UTC 2017]; root of context hierarchy

Oct 18, 2017 10:40:44 PM INFO 
org.springframework.context.support.AbstractApplicationContext 
obtainFreshBeanFactory

Bean factory for application context 
[org.springframework.web.context.support.StaticWebApplicationContext@420407ea]: 
org.springframework.beans.factory.support.DefaultListableBeanFactory@5552a174

Oct 18, 2017 10:40:44 PM INFO 
org.springframework.beans.factory.support.DefaultListableBeanFactory 
preInstantiateSingletons

Pre-instantiating singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@5552a174:
 defining beans [filter,legacy]; root of factory hierarchy

Oct 18, 2017 10:40:44 PM INFO jenkins.plugins.slack.SlackNotifier$Migrator 
onLoaded

Starting Settings Migration Process

Oct 18, 2017 10:40:44 PM INFO jenkins.plugins.slack.SlackNotifier$Migrator 
onLoaded

Skipping job "GashiandKinks" with type jenkins.branch.OrganizationFolder

Oct 18, 2017 10:40:44 PM INFO jenkins.plugins.slack.SlackNotifier$Migrator 
onLoaded

Skipping job "GK-Front" with type 
org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject

Oct 18, 2017 10:40:44 PM INFO jenkins.plugins.slack.config.JobConfigMigrator 
migrate

Migrating job "feature-jenkinsfile" with type 
org.jenkinsci.plugins.workflow.job.WorkflowJob

Oct 18, 2017 10:40:44 PM INFO jenkins.plugins.slack.SlackNotifier$Migrator 
onLoaded

Completed Settings Migration Process

Oct 18, 2017 10:40:44 PM INFO hudson.WebAppMain$3 run

Jenkins is fully up and running

Oct 18, 2017 10:42:57 PM INFO 
com.squareup.okhttp.internal.Platform$JdkWithJettyBootPlatform 
getSelectedProtocol

ALPN callback dropped: SPDY and 

AW: Help with NotSerializableException in pipeline

2017-10-18 Thread Reinhold Fuereder
Hi

I think it is the usage of the (default?) map in pipeline code, e.g. "def 
enviroments = [:]" which according to the StackTrace results in a LinkedHashMap?

According to 
https://jenkins.io/blog/2017/02/01/pipeline-scalability-best-practice/#appendix-serializable-vs.-non-serializable-types
 "Maps: normal Groovy Map, HashMap, TreeMap" are said to be okay though -- not 
sure if this is still up-to-date…

But maybe you wanted to use a List, or re-structure your pipeline code 
completely? Or moved some of the logic into a shared pipeline library instead?

Cu 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/C3D41C0B1D5991438F1A43F586F4B47F7F8731D5%40TIGER2010.xortex.local.
For more options, visit https://groups.google.com/d/optout.


AW: Display last artifacts, not only last successful artifacts?

2017-10-13 Thread Reinhold Fuereder
Hello Anna,

IMHO that does not sound right -- and presumably therefore Jenkins behaves as 
it behaves? As a kind of self-protection for users: the last available 
artifacts of the project are known to be good ones…

I think you can always access artifacts from failing builds as well, but you 
need to go into the specific failing build…

cu Reinhold


Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] 
Im Auftrag von Anna Freiholtz
Gesendet: Freitag, 13. Oktober 2017 14:08
An: Jenkins Users
Betreff: Display last artifacts, not only last successful artifacts?



Hi,

I am wondering if it is possible to display artifacts on the project page 
independently of build status? Not just last successful artifacts.


[https://lh3.googleusercontent.com/-w_3cCA0I9hE/WeCr7jxrsOI/AEA/bR08IGsVOkEODLnET6cZiE9PQ40FkzGegCLcBGAs/s320/lastsuccessful.jpg]









I have files I would like to have a quick access to when the build fails.

/Anna
--
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/c3e6ac71-f5d5-433c-b6c1-8195f5894798%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/C3D41C0B1D5991438F1A43F586F4B47F7BF52E2C%40TIGER2010.xortex.local.
For more options, visit https://groups.google.com/d/optout.


AW: In a shared library, what is the "vars/foo.txt" file USED for?

2017-10-05 Thread Reinhold Fuereder
Please note the PipelineSyntax/Global Variables Reference page is ONLY updated 
when the pipelines run is successful. And therefore ONLY for this pipeline (and 
not any others).

I think even if for "vars/file.groovy" there is no corresponding 
"vars/file.txt", then the PipelineSyntax/Global Variables Reference page shows 
an "empty" entry for global var "file".

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/C3D41C0B1D5991438F1A43F586F4B47F73F8D7C2%40TIGER2010.xortex.local.
For more options, visit https://groups.google.com/d/optout.


AW: jenkins not showing viewvc link for CVS

2017-09-12 Thread Reinhold Fuereder
Hi Terry,

this sounds related or like https://issues.jenkins-ci.org/browse/JENKINS-36451 
and/or https://issues.jenkins-ci.org/browse/JENKINS-44956.
Would you mind checking that and ideally also commenting and/or up-voting the 
respective issues?

Frankly, I am not sure though, whether or not these are the root causes of the 
problem…

cu Reinhold


Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] 
Im Auftrag von Terry O'Leary
Gesendet: Mittwoch, 13. September 2017 00:14
An: Jenkins Users
Betreff: jenkins not showing viewvc link for CVS

Hey Folks,

I have been looking into this issue for a while now. Basically the problem is 
that when I look on the changes view of a job particularly using a project with 
the CVS repository, the code changes no longer show as a link using the ViewVC 
plugin. I can see the changes in a job, but they don't appear as a link to 
ViewVC.

I ran an older version of Jenkins (version 1.534) and used the ViewVC plugin 
(version 1.6) and I was able to see the link in any jobs that has changes from 
the previous build.

I recently built up a new Jenkins (version 2.65) with the ViewVC plugin 
(version 1.7) and while I see the changes, they are not linking to ViewVC.

The version of ViewVC I used with the old Jenkins was 1.1.20 and it works. 
However the new setup does not work. I actually upgraded to the most recent 
version 1.1.26 of ViewVC and it still works with the old version of Jenkins, 
but not the new version. I don't see any errors in the jenkins logs either.

I don't see any option to rollback the ViewVC plugin to 1.6 via the plugin 
manager. If anyone has encountered this before any input would be great!

Also on a side note, we also use Git and I am able to setup jobs that use Git 
repository to link their changes just fine.

Thanks in advance!
Terry
--
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/524c4bcf-cc91-4b8c-9b01-009aabbe7fdb%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/C3D41C0B1D5991438F1A43F586F4B47F692AF2D4%40TIGER2010.xortex.local.
For more options, visit https://groups.google.com/d/optout.


AW: Using CSS in html published on Jenkins build

2017-08-29 Thread Reinhold Fuereder
Hi Hung,

You can use so-called Jenkins User Content: see 
https://wiki.jenkins-ci.org/display/JENKINS/User+Content for details.

E.g. I am using that for web resources in HTML Emails sent from Jenkins: I am 
provisioning/deploying "file.png" via Ansible to "/userContent". It is then accessible via: 
https:///userContent/diff.png

HTH Reinhold


Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] 
Im Auftrag von Hung L.
Gesendet: Dienstag, 29. August 2017 15:54
An: Jenkins Users
Betreff: Using CSS in html published on Jenkins build

Hi,
I have a question on using CSS styles in html file that is being published on 
Jenkins build.  After each build, we publish a summary html file on Jenkins 
dashboard using the "Publish HTML Reports" plugin.  Our HTML has reference to 
some CSS.  Right now, we're using inline CSS but Jenkins does not allow inline 
CSS by default, see 
https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy.  I 
am able to override the default settings to allow the inline CSS, but I'm not 
sure if that's the right thing to do.

Right now, I'm looking for an alternative.  I know Jenkins has some built-in 
CSS files which I hope to make a reference from our html.  However, I don't 
know how to do it as they are referenced by a random link (I think), for 
example:
  where xx is random.

An another alternative is to publish my own CSS file somewhere on Jenkins 
server and make a reference to that.  However, I'm not sure how to do that.

Any suggestions?  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/2b892ec2-9f0f-4866-855c-d6fc546a8ad4%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/C3D41C0B1D5991438F1A43F586F4B47F5C727FC0%40TIGER2010.xortex.local.
For more options, visit https://groups.google.com/d/optout.


AW: AW: Blue Ocean Pipeline Activity View: empty column 'COMMIT'

2017-08-29 Thread Reinhold Fuereder
Thanks for your response, Baptiste!

That sounds reasonably.

=> https://issues.jenkins-ci.org/browse/JENKINS-46521

Regards,
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/C3D41C0B1D5991438F1A43F586F4B47F5C727F8C%40TIGER2010.xortex.local.
For more options, visit https://groups.google.com/d/optout.


AW: Blue Ocean Pipeline Activity View: empty column 'COMMIT'

2017-08-25 Thread Reinhold Fuereder
Does anyone mind if I file a Jenkins bug issue for that?

(As I tried to convey, I would have expected that it shows the SVN Commit ID in 
this column; but as I was not sure on that, I first posted this question in the 
mailing list here; however due to the lack of any response/explanation I think 
a bug issue might be fair)

Regards,
Reinhold


Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] 
Im Auftrag von Reinhold Fuereder
Gesendet: Mittwoch, 23. August 2017 17:02
An: jenkinsci-users@googlegroups.com
Betreff: Blue Ocean Pipeline Activity View: empty column 'COMMIT'

Hi all,

I dared to post this to the mailing list, as it unfortunatel got ignored/lost 
in the IRC channel…

In BlueOcean (v1.2.0) pipeline activity view: the column 'COMMIT' shows a '-' 
(dash); is that okay or what should be shown there? (it is a pipeline from SCM 
using SVN)
Please note that in the 'Changes' tab the SVN commit is nicely listed with SVN 
commit ID and message though.

Thanks,
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<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/C3D41C0B1D5991438F1A43F586F4B47F5C725A03%40TIGER2010.xortex.local<https://groups.google.com/d/msgid/jenkinsci-users/C3D41C0B1D5991438F1A43F586F4B47F5C725A03%40TIGER2010.xortex.local?utm_medium=email_source=footer>.
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/C3D41C0B1D5991438F1A43F586F4B47F5C727C57%40TIGER2010.xortex.local.
For more options, visit https://groups.google.com/d/optout.


Blue Ocean Pipeline Activity View: empty column 'COMMIT'

2017-08-23 Thread Reinhold Fuereder
Hi all,

I dared to post this to the mailing list, as it unfortunatel got ignored/lost 
in the IRC channel...

In BlueOcean (v1.2.0) pipeline activity view: the column 'COMMIT' shows a '-' 
(dash); is that okay or what should be shown there? (it is a pipeline from SCM 
using SVN)
Please note that in the 'Changes' tab the SVN commit is nicely listed with SVN 
commit ID and message though.

Thanks,
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/C3D41C0B1D5991438F1A43F586F4B47F5C725A03%40TIGER2010.xortex.local.
For more options, visit https://groups.google.com/d/optout.