Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-40489] - Fix Jenkins initialization stage names
  • Loading branch information
oleg-nenashev committed Dec 15, 2016
1 parent 0060335 commit 9c23a30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/jenkins/model/Jenkins.java
Expand Up @@ -3044,7 +3044,7 @@ public void run(Reactor session) throws Exception {
});

for (final File subdir : subdirs) {
g.requires(loadJenkins).attains(JOB_LOADED).notFatal().add("Loading job "+subdir.getName(),new Executable() {
g.requires(loadJenkins).attains(JOB_LOADED).notFatal().add("Loading item " + subdir.getName(), new Executable() {
public void run(Reactor session) throws Exception {
if(!Items.getConfigFile(subdir).exists()) {
//Does not have job config file, so it is not a jenkins job hence skip it
Expand All @@ -3057,7 +3057,7 @@ public void run(Reactor session) throws Exception {
});
}

g.requires(JOB_LOADED).add("Cleaning up old builds",new Executable() {
g.requires(JOB_LOADED).add("Cleaning up obsolete items deleted from the disk", new Executable() {
public void run(Reactor reactor) throws Exception {
// anything we didn't load from disk, throw them away.
// doing this after loading from disk allows newly loaded items
Expand Down

0 comments on commit 9c23a30

Please sign in to comment.