Skip to content

Instantly share code, notes, and snippets.

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running CoreJellyTest
Running hudson.bugs.DateConversionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.518 sec - in hudson.bugs.DateConversionTest
Running hudson.bugs.JnlpAccessWithSecuredHudsonTest
Tests run: 536, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.081 sec - in CoreJellyTest
Running hudson.bugs.LoginRedirectTest
Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 28.207 sec <<< FAILURE! - in hudson.bugs.JnlpAccessWithSecuredHudsonTest
[INFO] Console reloading is ENABLED. Hit ENTER on the console to restart the context.
Jun 15, 2014 10:22:43 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Jun 15, 2014 10:22:43 PM hudson.PluginManager$1$3$1 isDuplicate
INFO: Ignoring /Users/tfennelly/projects/jenkins/war/work/plugins/credentials.jpi because /Users/tfennelly/projects/jenkins/war/target/jenkins/WEB-INF/plugins/credentials.hpi is already loaded
Jun 15, 2014 10:22:43 PM hudson.PluginManager$1$3$1 isDuplicate
INFO: Ignoring /Users/tfennelly/projects/jenkins/war/work/plugins/ssh-credentials.jpi because /Users/tfennelly/projects/jenkins/war/target/jenkins/WEB-INF/plugins/ssh-credentials.hpi is already loaded
Jun 15, 2014 10:22:43 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Jun 15, 2014 10:22:43 PM jenkins.InitReactorRunner$1 onAttained
@tfennelly
tfennelly / icons.css
Created June 20, 2014 22:01
icons.css
/*
* The MIT License
*
* Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, Daniel Dyer, Stephen Connolly
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
Building in workspace /Users/tfennelly/projects/jenkins/war/work/workspace/maven
Unpacking http://archive.apache.org/dist/maven/binaries/apache-maven-3.0.5-bin.zip to /Users/tfennelly/projects/jenkins/war/work/tools/hudson.tasks.Maven_MavenInstallation/maven305 on Jenkins
ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com
java.lang.NullPointerException
at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:69)
at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:205)
at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:609)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:625)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:535)
// From CopyArtifact plugin - CopyArtifact.java line 271: http://goo.gl/ob2HAo
if (job != null && !expandedProject.equals(project)
// If projectName is parameterized, need to do permission check on source project.
&& !canReadFrom(job, build)) {
job = null; // Disallow access
}
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:switchyard-config:switchyard:1.0"
xmlns:swyd="urn:switchyard-config:switchyard:1.0"
xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
elementFormDefault="qualified">
<import namespace="http://docs.oasis-open.org/ns/opencsa/sca/200912"
schemaLocation="sca-1.1-cd06.xsd"/>
<element name="switchyard" type="swyd:SwitchYardType"/>
public class CDIBeanManagerJNDIDeployer extends AbstractRealDeployer {
private static Logger _logger = Logger.getLogger(CDIBeanManagerJNDIDeployer.class);
private static final String SWITCHYARD_SUB_CONTEXT = "switchyard";
private NameSpaces _nameSpaces;
private Context _beanManagerContext;
/**
* Public default constructor.
*/
<env:unEdifact xmlns:env="urn:org.milyn.edi.unedifact.v41">
<env:UNB xmlns:env="urn:org.milyn.edi.unedifact.v41">
<env:syntaxIdentifier>
<env:id>UNOA</env:id>
<env:versionNum>4</env:versionNum>
</env:syntaxIdentifier>
<env:sender>
<env:id>LOCK</env:id>
<env:codeQualifier>02</env:codeQualifier>
</env:sender>
<xxx>replace this Bard</xxx>
public static void testModel(String ediMappingModelFile, String ediMessageFile, String factoryClassName, boolean dump) throws EDIConfigurationException, IOException, SAXException, IllegalNameException {
StackTraceElement[] thisStack = Thread.currentThread().getStackTrace();
Class callerClass = null;
for(int i = 0; i < thisStack.length; i++) {
if(thisStack[i].getClassName().equals(EJCTestUtil.class.getName())) {
try {
callerClass = Class.forName(thisStack[i + 1].getClassName());
} catch (ClassNotFoundException e) {
e.printStackTrace();