[JIRA] (JENKINS-60279) build symlink plugin creating incorrect links

1 view
Skip to first unread message

fzbassman@yahoo.com (JIRA)

unread,
Nov 25, 2019, 10:57:03 PM11/25/19
to jenkinsc...@googlegroups.com
Eric Wallengren created an issue
 
Jenkins / Bug JENKINS-60279
build symlink plugin creating incorrect links
Issue Type: Bug Bug
Assignee: Jesse Glick
Components: build-symlink-plugin
Created: 2019-11-26 03:56
Environment: Jenkins version 2.190.3, build symlink plugin 1.1
Priority: Major Major
Reporter: Eric Wallengren

Create a new pipeline job called linktest:

pipeline {
    agent { label 'master' }
    stages {
        stage('build') {
            steps {
                echo "Hello World!"
            }
        }
    }
}

Execute the job. The resulting symlinks for lastCompletedBuild, lastSuccessfulBuild and lastStableBuild are all linked to '-1'. Execute the job again and the links will now point to '1'. The resulting links for build which are successful or stable are always 1 less than the actual good build number. The permalinks file is reporting correct build numbers.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

jglick@cloudbees.com (JIRA)

unread,
Nov 26, 2019, 10:08:04 AM11/26/19
to jenkinsc...@googlegroups.com
Jesse Glick resolved as Cannot Reproduce
 

Just checked and it is working for me: the symlinks match the permalinks file.

Check for log messages in the io.jenkins.plugins.build_symlink package, and see if you can reproduce in a fresh installation from scratch.

Change By: Jesse Glick
Status: Open Resolved
Resolution: Cannot Reproduce
Reply all
Reply to author
Forward
0 new messages