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

Employ Jenkins pipeline #1167

Open
ruspl-afed opened this issue Nov 28, 2022 · 3 comments
Open

Employ Jenkins pipeline #1167

ruspl-afed opened this issue Nov 28, 2022 · 3 comments
Assignees
Labels
component::releng Eclipse Passage Release Engineering

Comments

@ruspl-afed
Copy link
Contributor

Using GitHub Actions for build does not allow to check steps that requires EF infra like signing

Let's try to employ Jenkins pipeline on EF side

@ruspl-afed ruspl-afed added the component::releng Eclipse Passage Release Engineering label Nov 28, 2022
@ruspl-afed ruspl-afed self-assigned this Nov 28, 2022
ruspl-afed added a commit that referenced this issue Nov 28, 2022
Add simple Jenkins pipeline without deploy stage

Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
ruspl-afed added a commit that referenced this issue Nov 29, 2022
@HannesWell
Copy link
Contributor

The Jenkins pipeline in the repo can also be used to deploy (and sign) a snapshot on each push to the master branch, for example we do this in m2e:
https://github.com/eclipse-m2e/m2e-core/blob/7b340f774365df15715a92f87ca81bad2bc8a0e0/Jenkinsfile#L68-L97

Of course the jar- and pgp-signing has to be done in that pipeline too.

But having the pipeline in the repo makes it simpler to understand than a configuration in Jenkins freestyle/pipeline jobs.

@ruspl-afed
Copy link
Contributor Author

Do you suggest to add deploy stage to https://github.com/eclipse-passage/passage/blob/master/Jenkinsfile ?

@HannesWell
Copy link
Contributor

Do you suggest to add deploy stage to https://github.com/eclipse-passage/passage/blob/master/Jenkinsfile ?

Yes. For m2e we deploy a snapshot after each master build so one can try out a change about 20min after it has been merged.
Of course the jar/pgp signing has to be done then in the pipeline too. The M2E pipeline contains all of that.

If you are interested I can provide a PR to enhance the Jenkins pipeline and implement this.
If not already present you have the Eclipse infra team has to be asked to add the PGP secrets to this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component::releng Eclipse Passage Release Engineering
Projects
None yet
Development

No branches or pull requests

2 participants