Skip to content
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-51776 Restarting during saucelabs run now works #83

Merged
merged 5 commits into from
Mar 9, 2021

Conversation

timja
Copy link
Member

@timja timja commented Mar 4, 2021

https://issues.jenkins.io/browse/JENKINS-51776

Best to review #82 first

cc @alexh-sauce @sauce-jenkins-bot

Example pipeline I used for reproducing:

node {
    stage('Checkout') {
        git 'https://github.com/timja/demo-java.git'
    }
    
    stage('Build') {
        dir('on-boarding-modules/testng') {
            sh 'mvn compile'
        }
    }
    
    stage('Test') {
        dir('on-boarding-modules/testng') {
            sauce('my-credential-id') {
                sauceconnect(useGeneratedTunnelIdentifier: true, verboseLogging: true) {
                    sh 'mvn test'
                }
            }
        }
    }
}

The repo is a fork of https://github.com/saucelabs-training/demo-java changed to use the EU endpoint and to add a sleep to the test to make it easier to reproduce

@sauce-jenkins-bot sauce-jenkins-bot merged commit 460c4f0 into jenkinsci:master Mar 9, 2021
@timja timja deleted the restart-fix branch March 9, 2021 14:33
@timja
Copy link
Member Author

timja commented Mar 10, 2021

@sauce-jenkins-bot looks like your release failed, could you retry please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants