Kohsuke Kawaguchi
b96d227f97
[FIXED JENKINS-19996] Support view manipulation via Jenkins CLI
...
Merged pull request #971 .
2013-10-26 14:50:57 -07:00
Kohsuke Kawaguchi
9ee9684681
Merge pull request #973 from olivergondza/cli-help
...
[JENKINS-20023] Make CLI interface help more accesible
2013-10-26 14:43:43 -07:00
Kohsuke Kawaguchi
42ced243af
Merge pull request #977 from olivergondza/build-name-command-npe
...
[FIXED JENKINS-20057] NPE when issuing set-build-display-name CLI command
2013-10-26 14:33:52 -07:00
Kohsuke Kawaguchi
3e4733c7a4
Merge branch 'rc'
2013-10-25 16:02:49 -07:00
Kohsuke Kawaguchi
b3225944d1
Revert "[FIXED JENKINS-18629]"
...
This reverts commit c01333c346 .
See
https://issues.jenkins-ci.org/browse/JENKINS-20262?focusedCommentId=188404&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-188404
for the discussion why this should be reverted.
Conflicts:
core/pom.xml
2013-10-25 15:59:59 -07:00
Jesse Glick
d0c45040d6
Get/UpdateJobCommand should work with the most generic possible type—AbstractItem.
2013-10-24 14:55:08 -04:00
Jesse Glick
7c606ae5c8
Merge branch 'fix-refused-build-cli-npe' of github.com:marco-miller/jenkins into marco-miller-fix-refused-build-cli-npe
2013-10-23 14:58:58 -04:00
Marco Miller
365df70b1f
Refactor string constant duplicate in BuildCommand and BuildCommandTest.
2013-10-23 14:14:14 -04:00
Marco Miller
eaeb45bdaa
Null check for if build scheduling Refused by extension => not in Queue.
...
New test in hudson/cli/BuildCommandTest.groovy, as well as companion
@TestExtension class, thanks to Jesse' suggestion. This is so that we
test this hereby fixed case of a QueueDecisionHandler Refusing a build,
leading to that null value now checked and handled accordingly.
Commit also includes sorted imports and a few minor indentation fixes,
as well as another (very) minor string change.
2013-10-23 11:05:03 -04:00
Jesse Glick
dceac8f0ac
[FIXED JENKINS-19173] Added ContextMenuVisibility marker interface for Action’s.
2013-10-23 10:44:01 -04:00
Jesse Glick
08aaf2b9b3
Trying to make AsynchPeopleTest more robust.
...
https://jenkins.ci.cloudbees.com/job/core/job/jenkins_main_trunk/1369/testReport/junit/hudson.model/AsynchPeopleTest/display/
org.junit.ComparisonFailure: expected:<[display: none;]> but was:<[]>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at hudson.model.AsynchPeopleTest.display(AsynchPeopleTest.java:44)
was presumably a race condition.
Could reproduce by adding a Thread.sleep into AsynchPeople.compute.
This patch (with waitForBackgroundJavaScript) avoids that error;
but causes the assertNotNull at the end to fail, for reasons TBD.
2013-10-22 17:38:49 -04:00
Kohsuke Kawaguchi
f9f1483865
the trunk is toward 1.538-SNAPSHOT
2013-10-21 21:56:36 -07:00
Oliver Gondža
b2651f22b2
[JENKINS-19996] Support nested views in Jenkins CLI
2013-10-18 14:34:46 +02:00
Jesse Glick
f0328e55b7
testTriggerJob has been unstable recently, probably because of executor-ondemand branch changes.
2013-10-17 09:59:06 -04:00
Oliver Gondža
09693ce75e
[FIXED JENKINS-20057] NPE when issuing set-build-display-name CLI command
2013-10-17 12:50:13 +02:00
Jesse Glick
acff33106e
[FIXED JENKINS-16936] Added SecureRequester extension point.
2013-10-16 17:03:03 -04:00
Nicolas De loof
86fe60eee7
Merge pull request #970 from vjuranek/JENKINS-19926
...
[FIXED JENKINS-19926] Add only new env. variables
2013-10-16 01:59:32 -07:00
Kohsuke Kawaguchi
71afe8f0a9
the trunk is toward 1.537-SNAPSHOT
2013-10-15 08:07:00 -07:00
Oliver Gondža
29d441331e
[FIXED JENKINS-19996] Support view manipulation via Jenkins CLI
2013-10-14 16:07:06 +02:00
Oliver Gondža
5f712b3c5f
[JENKINS-20023] Generate usage for CLI commands registered via CLIMethod annotation
2013-10-14 15:41:59 +02:00
Kohsuke Kawaguchi
957dbdf675
Fixed a test failure.
...
Turns out in the new executor on-demand code, queue maintenance happens so quickly that even when a job is submitted with delay 0,
it can still fail the test if the check happens when "new GregorianCalendar()" returns the same value as "top.timestamp".
I'm relaxing that check
2013-10-11 12:34:53 -07:00
Vojtech Juranek
b95f269452
[FIXED JENKINS-19926] Add only new env. variables
...
Previous patch (3eea396489 ) broke usescases when evn. variable overwrites already existing one
like PATH = $PATH:/my/path
2013-10-10 22:23:54 +02:00
Kohsuke Kawaguchi
c01333c346
[FIXED JENKINS-18629]
...
Consult Descriptor.newInstance() even when proccessing is in the middle
of JSON tree.
(cherry picked from commit d15c15506e )
2013-10-09 15:49:04 -07:00
Jesse Glick
793b6826e5
[FIXED JENKINS-19947] Restore historical undocumented behavior of a top-level entry in a ZIP.
...
Noting that various DirScanner implementations handle this inconsistently.
2013-10-09 09:55:06 -04:00
Kohsuke Kawaguchi
8c4288ca59
Merge remote-tracking branch 'origin/master' into executor-ondemand
2013-10-07 20:38:34 -07:00
Kohsuke Kawaguchi
428aa7aaee
the trunk is toward 1.536-SNAPSHOT
2013-10-07 19:56:20 -07:00
Jesse Glick
7ca4dc47ec
[FIXED JENKINS-19920] Using selfReference to mean “none” from nextBuild/previousBuild was just asking for trouble.
...
JENKINS-16194 and an analogous but opposite bug fixed more simply by introducing a separate NONE constant.
Also numberOnDisk did not get updated properly after a build was deleted, causing double loading of build records in some cases.
2013-10-07 13:30:05 -04:00
Jesse Glick
571de9c148
JUnit 4; introduced GroovyJenkinsRule.
2013-10-07 11:43:39 -04:00
Jesse Glick
ed03fbbc9d
Revert "[FIXED JENKINS-18629]"
...
This reverts commit d15c15506e .
2013-10-07 11:18:36 -04:00
Kohsuke Kawaguchi
d15c15506e
[FIXED JENKINS-18629]
...
Consult Descriptor.newInstance() even when proccessing is in the middle
of JSON tree.
2013-10-07 08:10:42 -07:00
Jesse Glick
b9437154d8
ClassicPluginStrategy.DETACHED_LIST could confuse ClassicPluginStrategyTest by injecting dependencies on split plugins that have an index.jelly.
2013-10-04 18:19:49 -04:00
Jesse Glick
89149277ae
matrix-auth 1.0.2 (couple of fixups)
2013-10-04 17:06:28 -04:00
Jesse Glick
b0ac41c3b1
Split off matrix-auth plugin.
2013-10-04 16:27:15 -04:00
Jesse Glick
071139f8e5
Merge branch 'master' of github.com:jenkinsci/jenkins
2013-10-04 14:59:01 -04:00
Jesse Glick
7b38b7c5e9
Merge pull request #967 from akiellor/fix-local-build-issues
...
Fix `mvn -Plight-test install` on Ubuntu 13.04 with OpenJDK
2013-10-04 11:48:27 -07:00
Jesse Glick
f1205fa4d6
Copy basic Surefire configuration, esp. forkCount=2, to the plugin POM.
...
Shaves >11min off the test time for maven-plugin on my machine!
2013-10-04 14:37:27 -04:00
Jesse Glick
261f40533e
Moving one test case to maven-plugin.
2013-10-04 13:43:48 -04:00
Andrew Kiellor
ff71ab755c
Migrated some usages of GNUCLibrary to the jnr PosixAPI, fixed 'mvn -Plight-test install' on ubuntu with OpenJDK.
2013-10-04 13:42:42 -04:00
Jesse Glick
facfc178df
Moving hudson.maven tests to maven-plugin.
2013-10-04 12:50:28 -04:00
Kohsuke Kawaguchi
f98070d3e6
maven plugin is moved off to a separate repository.
...
See https://github.com/jenkinsci/maven-plugin
2013-10-03 22:35:14 -07:00
Jesse Glick
ea85489a0a
Fixing JenkinsRule as HudsonTestCase was for optional dependencies in e11c01c.
...
(Implies reverting c4e3add as well, since we need resolvePluginFile to return null.)
2013-10-01 17:09:15 -04:00
Vojtěch Juránek
67be8def39
Merge pull request #958 from lvotypko/userTest
...
Better wait until build is finshed and remove existing CauseAction.
2013-09-29 23:43:56 -07:00
Kohsuke Kawaguchi
7c493eb35f
the trunk is toward 1.535-SNAPSHOT
2013-09-29 18:09:41 -07:00
lvotypko
ef26f8a87d
Better wait until build is finshed and remove existing CauseAction.
2013-09-28 21:42:13 +02:00
Oliver Gondža
7e1fc28c88
Merge pull request #799 from imod/JENKINS-17555
2013-09-28 11:51:24 +02:00
Oliver Gondža
ca067fd273
[JENKINS-19752] Forgotten debug statement
2013-09-26 18:08:40 +02:00
Oliver Gondža
82af0fb562
[JENKINS-19752] Test
2013-09-26 16:34:39 +02:00
Oliver Gondža
2b2a5b4d72
Junit 4
2013-09-26 16:19:49 +02:00
Kohsuke Kawaguchi
d5678365eb
the trunk is toward 1.534-SNAPSHOT
2013-09-24 08:51:30 -07:00
Oliver Gondža
786c1d8993
Merge pull request #938 from vjuranek/vjuranek-JENKINS-19488
2013-09-21 18:37:42 +02:00