Skip to content

Add Jenkins file#187

Merged
fpapon merged 1 commit intomasterfrom
JENKINS
Aug 27, 2020
Merged

Add Jenkins file#187
fpapon merged 1 commit intomasterfrom
JENKINS

Conversation

@fpapon
Copy link
Copy Markdown
Member

@fpapon fpapon commented Aug 27, 2020

Add 2 Jenkins file for the new Apache CI:

A new job will be automatically created for every PR.
However, the PR has to rebase to have the Jenkin files to make it work.

@fpapon fpapon requested a review from sergehuber August 27, 2020 11:22
Jenkinsfile Outdated
// stage('Integration tests') {
// steps {
// echo 'Running integration tests'
// sh 'mvn test -Pci-build-itests'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can activate this if we change it to :

Suggested change
// sh 'mvn test -Pci-build-itests'
// sh 'mvn clean install -P integration-tests'

// stage('Integration tests') {
// steps {
// echo 'Running integration tests'
// sh 'mvn test -Pci-build-itests'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here:

Suggested change
// sh 'mvn test -Pci-build-itests'
// sh 'mvn clean install -P integration-tests'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, looks good I just added some suggestions to be able to activate the integration tests which I think would be a good thing.

Copy link
Copy Markdown
Member Author

@fpapon fpapon Aug 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sergehuber I updated with this mvn -pl itests clean install -Pintegration-tests to not clean install all the project.

@fpapon fpapon requested a review from sergehuber August 27, 2020 13:30
@fpapon fpapon merged commit 9a8e9b8 into master Aug 27, 2020
@fpapon fpapon deleted the JENKINS branch August 27, 2020 14:22
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.

3 participants