-
Notifications
You must be signed in to change notification settings - Fork 530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JENKINS-47378# Switch to JDK8 and core 2.73.2 #1479
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c673efc
JENKINS-47378# Switch to JDK8 and core 2.60.3
vivek 7d4bf7b
Updated scm sep and workflow job plugins
vivek 7c71521
workflow-job version > 2.12.2 is compatible with core 2.62 and higher
vivek 8692364
Test fix to reliably stop a pipeline run
vivek 130f45c
Bump up core version to 2.60.3 for ATH as well
vivek 129bc05
Changed jenkins core versions for ath
vivek 015c0cb
Use 2.73.2 LTS instead
vivek 31167bb
Findbugs fixes
vivek 152abbe
Log error message in ath test
vivek 2a19a82
Fix build failure in ath runtime-plugins module and upgrade them to
vivek fe268c1
Added 10 more sec before timeout and some logging
vivek 67f9f0c
Increasing timeout to 1 min, lets see if its just slow load of config
vivek 282ffae
enable nightwatch screenshots by placing "screenshots" config element…
72028ae
suppress nightwatch screenshot during "command errors" since these se…
c269a62
Set utf-8 locale in the ubuntu container
vivek b54481f
locale-gen and then set locale
vivek a6d57a7
install locales
vivek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
JENKINS_VERSION=2.46.3 | ||
JENKINS_VERSION=2.73.2 | ||
SELENIUM_VERSION=2.53 | ||
|
||
MAVEN_SETTINGS="" | ||
|
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ | |
import org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition; | ||
import org.jenkinsci.plugins.workflow.job.WorkflowJob; | ||
import org.jenkinsci.plugins.workflow.job.WorkflowRun; | ||
import org.jenkinsci.plugins.workflow.test.steps.SemaphoreStep; | ||
import org.junit.Assert; | ||
import org.junit.Ignore; | ||
import org.junit.Test; | ||
|
@@ -36,20 +37,20 @@ public void getPipelineRunStopTest() throws Exception { | |
|
||
job1.setDefinition(new CpsFlowDefinition("" + | ||
"node {" + | ||
" stage ('Build1'); " + | ||
" sh('sleep 60') " + | ||
" stage ('Test1'); " + | ||
" stage ('Build'); " + | ||
" semaphore 's' " + | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. neat |
||
" stage ('Test'); " + | ||
" echo ('Testing'); " + | ||
"}")); | ||
"}", false)); | ||
|
||
WorkflowRun b1 = job1.scheduleBuild2(0).waitForStart(); | ||
Map r=null; | ||
|
||
SemaphoreStep.waitForStart("s/1", b1); | ||
Map r = null; | ||
for (int i = 0; i < 10; i++) { | ||
r = request().put("/organizations/jenkins/pipelines/pipeline1/runs/1/stop") | ||
.build(Map.class); | ||
if(((String) r.get("state")).equalsIgnoreCase("FINISHED")) | ||
continue; | ||
if(((String) r.get("state")).equals("FINISHED")) | ||
break; | ||
Thread.sleep(1000); | ||
} | ||
Assert.assertEquals(r.get("state"), "FINISHED"); | ||
|
@@ -63,8 +64,8 @@ public void getPipelineRunStopTest() throws Exception { | |
|
||
for (int i = 0; i < 10; i++) { | ||
r = put("/organizations/jenkins/pipelines/pipeline5/runs/1/stop",null); | ||
if(((String) r.get("state")).equalsIgnoreCase("finished")) | ||
continue; | ||
if(((String) r.get("state")).equals("FINISHED")) | ||
break; | ||
Thread.sleep(1000); | ||
} | ||
Assert.assertEquals(r.get("state"), "FINISHED"); | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: whitespace