This file contains 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 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 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 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
(defun git-grep-dired (repo wildcards regexp) | |
"Find Git-controlled files in DIR with a name like WILDCARDS containing a regexp REGEXP and start Dired on output." | |
(interactive "DGit-grep (directory): \nsGit-grep (filename wildcard(s), e.g. *.xml): \nsGit-grep (grep regexp): ") | |
(setq repo (file-name-as-directory (expand-file-name repo))) | |
(switch-to-buffer (concat "*Git Grep " repo "*")) | |
(fundamental-mode) | |
(setq buffer-read-only nil) | |
(erase-buffer) | |
(setq default-directory repo) | |
(let ((cmd (format "git --git-dir %s/.git ls-files -z%s | xargs -0 grep -lZ -- %s | xargs -0 ls -l" |
This file contains 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
#!/bin/sh | |
display=:93 | |
vncserver -kill $display | |
vncserver $display -desktop "$1 test display" -geometry 1375x975 -depth 16 || exit | |
trap "vncserver -kill $display" EXIT | |
vncviewer -passwd ~/.vnc/passwd $display & | |
export DISPLAY=$display | |
twm & | |
"$@" |
This file contains 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" + |
This file contains 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/features/configure_slaves.feature b/features/configure_slaves.feature | |
index 80603e6..3b199e4 100644 | |
--- a/features/configure_slaves.feature | |
+++ b/features/configure_slaves.feature | |
@@ -6,9 +6,13 @@ Feature: configure slaves | |
Scenario: Tie a job to a specified label | |
Given a job | |
And a dumb slave | |
+ Then Wait for keypress | |
When I add the label "test" to the slave |
This file contains 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 set: hudson.model.UpdateSiteTest | |
------------------------------------------------------------------------------- | |
Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 14.407 sec <<< FAILURE! | |
updateDirectlyWithJson(hudson.model.UpdateSiteTest) Time elapsed: 9.668 sec <<< FAILURE! | |
java.lang.AssertionError: expected:<OK: <div/>> but was:<ERROR: Digest mismatch: WLv8irZifjnDeekE5oOE3i+Drgk= vs 2MRlOHwN1GsWuoAfIxfeyFM9og0= in update site 'default'> | |
at org.junit.Assert.fail(Assert.java:93) | |
at org.junit.Assert.failNotEquals(Assert.java:647) | |
at org.junit.Assert.assertEquals(Assert.java:128) | |
at org.junit.Assert.assertEquals(Assert.java:147) |
This file contains 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
Unexpected token , SyntaxError: Unexpected token , | |
at Object.Function (<anonymous>) | |
at Object.n.createFunctionContext (https://assets.zendesk.com/agent/assets/vendor-9f0fea21af96e71c1c0900be056ff9b1.js:13:11130) | |
at Object.n.compile (https://assets.zendesk.com/agent/assets/vendor-9f0fea21af96e71c1c0900be056ff9b1.js:13:9696) | |
at i (https://assets.zendesk.com/agent/assets/vendor-9f0fea21af96e71c1c0900be056ff9b1.js:13:16998) | |
at https://assets.zendesk.com/agent/assets/vendor-9f0fea21af96e71c1c0900be056ff9b1.js:13:17093 | |
at Ember.View.Ember.Object.extend.render (https://assets.zendesk.com/agent/assets/vendor-9f0fea21af96e71c1c0900be056ff9b1.js:16:2554) | |
at Ember.View.Ember.Object.extend.renderToBuffer (https://assets.zendesk.com/agent/assets/vendor-9f0fea21af96e71c1c0900be056ff9b1.js:16:7339) | |
at Ember.View.states.inBuffer.appendChild (https://assets.zendesk.com/agent/assets/vendor-9f0fea21af96e71c1c0900be056ff9b1.js:16:13171) | |
at Ember.View.Ember.Object.extend.invokeForState (https:/ |
This file contains 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
--- a/src/test/java/plugins/JavadocPluginTest.java | |
+++ b/src/test/java/plugins/JavadocPluginTest.java | |
@@ -17,7 +17,7 @@ | |
/** | |
* Feature: Test Javadoc plugin | |
*/ | |
-@WithPlugins("javadoc") | |
+@WithPlugins("javadoc@1.4-SNAPSHOT") | |
public class JavadocPluginTest extends AbstractJUnitTest { | |
/** |