Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] How to tag my repo from a shell script on CI?

Hi,

I know this will completely surprise you: open a Bugzilla issue. ;)

Regards,

Fred

On Tue, 9 Jun 2020, 21:37 Mickael Istria, <mistria@xxxxxxxxxx> wrote:
So I tried to mimic and adapt what's done in Platform, but pipeline

```
pipeline {
    agent any // I also tried agent { label "migration" }
    stages {
        stage(''){
            steps {
                container('jnlp') {
                    sshagent(['git.eclipse.org-bot-ssh']) {
                        sh '''
                            git clone ssh://genie.releng@xxxxxxxxxxxxxxx:29418/m2e/m2e-core.git --branch master
                            cd m2e-core/
                            git tag $releaseStream
                            git push origin $releaseStream
                           
                        '''
                    }
                }
            }
        }
    }
}
```

fails with "FATAL: [ssh-agent] Could not find specified credentials"
Jenkins UI for SSH agent doesn't show such a git.eclipse.org-bot-ssh agent, so it seems to be totally missing. What do I have to do to get such SSH agent available?
--
Mickael Istria
Eclipse IDE developer, for Red Hat Developers
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cbi-dev

Back to the top