This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pom.xml b/pom.xml | |
index 72e8f76..3dbca1f 100644 | |
--- a/pom.xml | |
+++ b/pom.xml | |
@@ -29,7 +29,7 @@ THE SOFTWARE. | |
<parent> | |
<groupId>org.jenkins-ci.plugins</groupId> | |
<artifactId>plugin</artifactId> | |
- <version>1.538</version> | |
+ <version>1.585-SNAPSHOT</version> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"{"stapler-class":"org.jenkinsci.plugins.workflow.steps.input.InputStep","message":"","id":"","ok":"","submitter":"","parameters":"[{\"name\": \"\", \"defaultValue\": false, \"description\": \"\", \"stapler-class\": \"hudson.model.BooleanParameterDefinition\", \"kind\": \"hudson.model.BooleanParameterDefinition\"}, {\"name\": \"\", \"credentialType\": \"com.cloudbees.plugins.credentials.common.StandardCredentials\", \"required\": false, \"defaultValue\": \"\", \"description\": \"\", \"stapler-class\": \"com.cloudbees.plugins.credentials.CredentialsParameterDefinition\", \"kind\": \"com.cloudbees.plugins.credentials.CredentialsParameterDefinition\"}]"}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -IL http://updates.jenkins-ci.org/updates/hudson.tasks.Ant.AntInstaller.json.html | |
HTTP/1.1 302 Found | |
Date: Tue, 03 Feb 2015 21:00:58 GMT | |
Server: Apache/2.2.14 (Ubuntu) | |
Location: http://mirrors.jenkins-ci.org/updates/updates/hudson.tasks.Ant.AntInstaller.json.html | |
Vary: Accept-Encoding | |
Connection: close | |
Content-Type: text/html; charset=iso-8859-1 | |
Set-Cookie: SERVERID=Local; path=/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mar 31, 2015 9:49:27 AM hudson.triggers.SafeTimerTask run | |
SEVERE: Timer task hudson.model.Queue$MaintainTask@472d5d2e failed | |
java.lang.NullPointerException | |
at java.util.concurrent.ConcurrentSkipListMap.doGet(ConcurrentSkipListMap.java:778) | |
at java.util.concurrent.ConcurrentSkipListMap.get(ConcurrentSkipListMap.java:1546) | |
at jenkins.model.Nodes.getNode(Nodes.java:216) | |
at jenkins.model.Jenkins.getNode(Jenkins.java:1667) | |
at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask.getLastBuiltOn(ExecutorStepExecution.java:187) | |
at hudson.model.queue.MappingWorksheet$WorkChunk.<init>(MappingWorksheet.java:202) | |
at hudson.model.queue.MappingWorksheet$WorkChunk.<init>(MappingWorksheet.java:172) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mar 31, 2015 10:10:25 AM hudson.model.Executor finish2 | |
WARNING: Executor #1 for master : executing PlaceholderExecutable:job/p/1/:null termination trace | |
hudson.model.Computer$TerminationRequest: Termination requested at Tue Mar 31 10:10:25 EDT 2015 by Thread[Executing loggerDecorator(org.jenkinsci.plugins.workflow.steps.CoreWrapperStepTest),5,main] [id=1] | |
at hudson.model.Computer.recordTermination(Computer.java:215) | |
at hudson.model.Computer.disconnect(Computer.java:465) | |
at jenkins.model.Jenkins.cleanUp(Jenkins.java:2771) | |
at org.jvnet.hudson.test.JenkinsRule.after(JenkinsRule.java:460) | |
at org.jvnet.hudson.test.JenkinsRule$2.evaluate(JenkinsRule.java:526) | |
at org.jvnet.hudson.test.RestartableJenkinsRule.run(RestartableJenkinsRule.java:100) | |
at org.jvnet.hudson.test.RestartableJenkinsRule.access$100(RestartableJenkinsRule.java:30) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node { | |
// https://registry.hub.docker.com/_/maven/ | |
def maven32 = docker.image('maven:3.2-jdk-7-onbuild'); | |
stage 'Mirror' | |
// First make sure the slave has this image. | |
// (If you could set your registry below to mirror Docker Hub, | |
// this would be unnecessary as maven32.inside would pull the image.) | |
maven32.pull() | |
// We are pushing to a private secure docker registry in this demo. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/test/java/core/ViewTest.java b/src/test/java/core/ViewTest.java | |
index b2f832d..91a251a 100644 | |
--- a/src/test/java/core/ViewTest.java | |
+++ b/src/test/java/core/ViewTest.java | |
@@ -36,6 +36,7 @@ public class ViewTest extends AbstractJUnitTest { | |
@Test | |
public void renameJob() { | |
FreeStyleJob job = jenkins.jobs.create(FreeStyleJob.class, "original_name"); | |
+ job.save(); | |
ListView view = jenkins.views.create(ListView.class, "a_view"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"AtmostOneTaskExecutor[hudson.model.Queue$1@1f16ef23] [#6]": | |
waiting for ownable synchronizer 0x00000007d7f92fd8, (a java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync), | |
which is held by "Executing basics(org.jenkinci.plugins.mock_slave.MockSlaveTest)" | |
"Executing basics(org.jenkinci.plugins.mock_slave.MockSlaveTest)": | |
waiting for ownable synchronizer 0x0000000749a12190, (a java.util.concurrent.locks.ReentrantLock$NonfairSync), | |
which is held by "AtmostOneTaskExecutor[hudson.model.Queue$1@1f16ef23] [#6]" | |
"AtmostOneTaskExecutor[hudson.model.Queue$1@1f16ef23] [#6]": | |
at sun.misc.Unsafe.park(Native Method) | |
- parking to wait for <0x00000007d7f92fd8> (a java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync) | |
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!groovy | |
stage "preparation" | |
node { | |
parallel ( | |
phase1: { sh "echo p1; echo phase1" }, | |
phase2: { sh "echo p2; echo phase2" } | |
) | |
sh "echo 42 > data" | |
stash includes: '*', name: 'binary' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test public void lookUpSister() { | |
r.addStep(new Statement() { | |
@Override public void evaluate() throws Throwable { | |
MockFolder dir = r.j.createFolder("dir"); | |
WorkflowJob ds = dir.createProject(WorkflowJob.class, "ds"); | |
ds.setDefinition(new CpsFlowDefinition("echo 'ran downstream build'")); | |
r.j.assertBuildStatusSuccess(ds.scheduleBuild2(0)); | |
WorkflowJob us = dir.createProject(WorkflowJob.class, "us"); | |
us.setDefinition(new CpsFlowDefinition( | |
"def jobName = 'ds'\n" + |