Jenkins Okta auth

2017-04-20 Thread stas
I'm trying to configure okta with saml jenkins plugin 
https://wiki.jenkins-ci.org/display/JENKINS/SAML+Plugin
But getting error Cannot find entity 
https://www.okta.com/saml2/service-provider/spibofbfpairxsdsimgc or role 
{urn:oasis:names:tc:SAML:2.0:metadata}

there is my metadata
https://www.okta.com/saml2/service-provider/spibofbfpairxsdsimgc";>http://www.w3.org/2000/09/xmldsig#";>MIIDpDCCAoygAwIBAgIGAVuJmnDlMA0GCSqGSIb3DQEBCwUAMIGSMQswCQYDVQQGEwJVUzETMBEG
A1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEU
MBIGA1UECwwLU1NPUHJvdmlkZXIxEzARBgNVBAMMCmRldi03ODQxMTkxHDAaBgkqhkiG9w0BCQEW
DWluZm9Ab2t0YS5jb20wHhcNMTcwNDIwMDQyMzExWhcNMjcwNDIwMDQyNDExWjCBkjELMAkGA1UE
BhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNV
BAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRMwEQYDVQQDDApkZXYtNzg0MTE5MRwwGgYJ
KoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
lfVL/XL9lEftDwzL8oSWGzJq8jAWFdZgRRP0ufz7BcNhIQsUXGKnl5cf29Q7FZ5/nqybu5Pg0M3V
Y3tBgDk8L6wDvsujyCxsZLwmek8jgrAb2Kk3HZY5y0yHkQSKQ2ASUBmvvx10MpYF1hsrPaZ2ZXqk
IbWbI/XmzCsdPnWxRcPZ3AtLl1b0dB5G+vJ3TG2hlcoSHH2+MV3Zv/wRSTskBhsrpDwpHtz5BC7l
gsSvtcd4FC5lCspD1SarZ9jguXCPcUgi7JkKWSYZOHRFFLYraG21CQwlNdb6MgulCTNyfM17i9sq
IXbfIrO8YdGi0YCAoFX04p0tHP0lJbcf6KbNiQIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQAONbGS
R/E99tsSARjOJQC2RO03jeyamRrUnNZVqL4S9zw49s7P0n9HakJ4Vb8H0aiOvVqNPwrkXmMuwjP7
9KCHbMDTGogo8CGxSl3bMJ3DNo+A/ecVaI4IgM6y4bCAst6f8EBopj39a7+r69HPU1fzqaPz2Cti
CdZ07QiCt51B52eCU9TzdAdJLB1cCby3GfyAbszyTVS6ZFPoC814XF0K38u6pVz5Ab6dTQ5L1Jho
iD4JTIJFN317io/0UsPwdLak325HjT7ufNxV+cR/zTedIvj8V6GEorfIYtGGUaq8M1xSqmwiJg0o
YUEZhwOmNNHrRoqSWXGjEDzJKgtP1Fznhttp://www.w3.org/2001/04/xmlenc#aes128-cbc"/>http://www.w3.org/2001/04/xmlenc#aes192-cbc"/>http://www.w3.org/2001/04/xmlenc#aes256-cbc"/>http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>http://www.w3.org/2000/09/xmldsig#";>MIIDpDCCAoygAwIBAgIGAVuJmnDlMA0GCSqGSIb3DQEBCwUAMIGSMQswCQYDVQQGEwJVUzETMBEG
A1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEU
MBIGA1UECwwLU1NPUHJvdmlkZXIxEzARBgNVBAMMCmRldi03ODQxMTkxHDAaBgkqhkiG9w0BCQEW
DWluZm9Ab2t0YS5jb20wHhcNMTcwNDIwMDQyMzExWhcNMjcwNDIwMDQyNDExWjCBkjELMAkGA1UE
BhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNV
BAoMBE9rdGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRMwEQYDVQQDDApkZXYtNzg0MTE5MRwwGgYJ
KoZIhvcNAQkBFg1pbmZvQG9rdGEuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
lfVL/XL9lEftDwzL8oSWGzJq8jAWFdZgRRP0ufz7BcNhIQsUXGKnl5cf29Q7FZ5/nqybu5Pg0M3V
Y3tBgDk8L6wDvsujyCxsZLwmek8jgrAb2Kk3HZY5y0yHkQSKQ2ASUBmvvx10MpYF1hsrPaZ2ZXqk
IbWbI/XmzCsdPnWxRcPZ3AtLl1b0dB5G+vJ3TG2hlcoSHH2+MV3Zv/wRSTskBhsrpDwpHtz5BC7l
gsSvtcd4FC5lCspD1SarZ9jguXCPcUgi7JkKWSYZOHRFFLYraG21CQwlNdb6MgulCTNyfM17i9sq
IXbfIrO8YdGi0YCAoFX04p0tHP0lJbcf6KbNiQIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQAONbGS
R/E99tsSARjOJQC2RO03jeyamRrUnNZVqL4S9zw49s7P0n9HakJ4Vb8H0aiOvVqNPwrkXmMuwjP7
9KCHbMDTGogo8CGxSl3bMJ3DNo+A/ecVaI4IgM6y4bCAst6f8EBopj39a7+r69HPU1fzqaPz2Cti
CdZ07QiCt51B52eCU9TzdAdJLB1cCby3GfyAbszyTVS6ZFPoC814XF0K38u6pVz5Ab6dTQ5L1Jho
iD4JTIJFN317io/0UsPwdLak325HjT7ufNxV+cR/zTedIvj8V6GEorfIYtGGUaq8M1xSqmwiJg0o
YUEZhwOmNNHrRoqSWXGjEDzJKgtP1Fznurn:oasis:names:tc:SAML:1.1:nameid-format:unspecifiedurn:oasis:names:tc:SAML:1.1:nameid-format:emailAddressurn:oasis:names:tc:SAML:2.0:nameid-format:persistenturn:oasis:names:tc:SAML:2.0:nameid-format:transienthttps://dev-784119.oktapreview.com/sso/saml2/0oaa7zvi6k6kK4Rm00h7"; 
index="0" isDefault="true"/>http://www.w3.org/XML/1998/namespace"; 
xml:lang="en">dev-784119http://www.w3.org/XML/1998/namespace"; 
xml:lang="en">Flugel.it-dev-784119http://www.w3.org/XML/1998/namespace"; 
xml:lang="en">https://flugel.it

in Okta:
SAML PROTOCOL SETTINGS

IdP Issuer URI 
https://ip:8080/securityRealm/finishLogin

IdP Single Sign-On URL 
https://ip:8080/securityRealm/finishLogin

IdP Signature Certificate 
Pub cer for SSL

Request Binding 
HTTP POST

Request Signature

Sign SAML Authentication Requests
Request Signature Algorithm 
SHA-256

Response Signature Verification 
Response or Assertion

Response Signature Algorithm 
SHA-256

Destination 
https://ip:8080/securityRealm/finishLogin
Okta Assertion Consumer Service URL

Trust-specific

Organization (shared)
Max Clock Skew 
2
Minutes

Jenkins running from official docker image with options:
--httpPort=-1 --httpsPort=8080 
--httpsCertificate=/var/lib/jenkins/jenkins.crt 
--httpsPrivateKey=/var/lib/jenkins/jenkins.key

-- 
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/76f577db-634b-4b2b-8c49-6f37cba3bb51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Run same pipeline on all nodes (and with different params)

2017-04-11 Thread Stas Kelvich
Hi there.

I'm now using declarative Jenkinsfile to build C project and run bunch of 
tests and observe results in blue ocean interface. However also I want to 
be able to run whole pipeline on different OSes and different 
compilers/buildoptions. I tried to write Jenkinsfile that runs nodes in 
parallel, but in that case blue ocean view is quite useless (it just shows 
vertical pile of circles with all OSes) and Jenkinsfile itself is 
quite clumsy. I'm thinking about something that can trigger parallel 
pipelines with same commit and  different params, so that 
OS/compiler/buildoption can be selected based on that variable; probably in 
that case blue ocean view will just render each combination as a separate 
build with proper build graph inside. Is there any easy way to achieve 
that? 

Thanks,
Stas.

-- 
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/6fb3c4ac-6a3f-482b-8cf6-2ff63af4442b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Exception in thread "main" java.lang.ClassNotFoundException: hudson.remoting.Launcher

2017-03-12 Thread Stas Roshkolets
Hello,
Sometimes we get an error while running maven jobs:

Exception in thread "main" java.lang.ClassNotFoundException: 
hudson.remoting.Launcher*15:50:38* at 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)*15:50:38*
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)*15:50:38*
  at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)*15:50:38*
at 
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)*15:50:38*
at jenkins.maven3.agent.Maven32Main.main(Maven32Main.java:143)*15:50:38*
at jenkins.maven3.agent.Maven32Main.main(Maven32Main.java:74)*15:50:38* 
ERROR: Failed to parse POMs*15:50:38* java.io.EOFException 
: 
unexpected stream termination*15:50:38*at 
hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:365) 
*15:50:38*
  at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:310) 
*15:50:38*
  at hudson.slaves.Channels.forProcess(Channels.java:115) 
*15:50:38*
  at 
hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:297)
 
*15:50:38*
   at hudson.maven.ProcessCache.get(ProcessCache.java:236) 
*15:50:38*
  at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:778)
 
*15:50:38*
   at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) 
*15:50:38*
 at hudson.model.Run.execute(Run.java:1738) 
*15:50:38*
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) 
*15:50:38*
 at hudson.model.ResourceController.execute(ResourceController.java:98) 
*15:50:38*
 at hudson.model.Executor.run(Executor.java:410) 



Error appear after this line:

java -Xms512m -Xmx4096m -XX:+UseConcMarkSweepGC -cp 
/jphome/jp/ccjp/mb_ccjp/maven32-agent.jar:/amdocs/external/maven-3.3.9/boot/plexus-classworlds-2.5.2.jar:/amdocs/external/maven-3.3.9/conf/logging
 jenkins.maven3.agent.Maven32Main /amdocs/external/maven-3.3.9 
/jphome/jp/ccjp/mb_ccjp/slave.jar 
/jphome/jp/ccjp/mb_ccjp/maven32-interceptor.jar 
/jphome/jp/ccjp/mb_ccjp/maven3-interceptor-commons.jar 57547


After Node relaunched, issue is solved bit is there any permanent solution for 
this?
Do you know what is a root cause for this?

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


Jenkins maven plugin alters manifest

2013-10-16 Thread Stas Fedotov


Hi all,

I am using Jenkins ver. 1.521 and standard maven plugin (ver 1.519) to 
build maven2 projects.

In manifest I can see entries I didn't configure in any of pom files:

Built-By: jenkinsHudson-Build-Number: ...Hudson-Project: ...Hudson-Version: 
...Jenkins-Build-Number: ..Jenkins-Project: ...Jenkins-Version: ...

I can see they are added right in maven plugin code here: 
https://github.com/jenkinsci/maven-plugin/blob/master/src/main/java/hudson/maven/reporters/BuildInfoRecorder.java#L69.

Is there a way I can get rid of them?

Thanks,

Stas

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.