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

Add gradle check jenkins workflow on public jenkins #2249

Merged

Conversation

peterzhuamazon
Copy link
Member

Signed-off-by: Peter Zhu [email protected]

Description

Add gradle check jenkins workflow on public jenkins

Issues Resolved

#851

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

vars/runGradleCheck.groovy Show resolved Hide resolved
vars/runGradleCheck.groovy Show resolved Hide resolved
vars/runGradleCheck.groovy Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Jun 24, 2022

Codecov Report

Merging #2249 (182561d) into main (9b021e5) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               main    #2249   +/-   ##
=========================================
  Coverage     94.56%   94.57%           
  Complexity       25       25           
=========================================
  Files           205      206    +1     
  Lines          4254     4255    +1     
  Branches         29       29           
=========================================
+ Hits           4023     4024    +1     
  Misses          225      225           
  Partials          6        6           
Impacted Files Coverage Δ
tests/jenkins/jobs/RunGradleCheck_Jenkinsfile 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b021e5...182561d. Read the comment docs.

@dreamer-89
Copy link
Member

test failure

TestUploadToS3 > testUploadToS3 STANDARD_OUT
    Loading shared library jenkins with version <notNeeded>
    Executing on agent [label:none]
       UploadToS3_Jenkinsfile.run()
          UploadToS3_Jenkinsfile.pipeline(groovy.lang.Closure)
             UploadToS3_Jenkinsfile.echo(Executing on agent [label:none])
             UploadToS3_Jenkinsfile.stage(sign, groovy.lang.Closure)
                UploadToS3_Jenkinsfile.script(groovy.lang.Closure)
                   UploadToS3_Jenkinsfile.uploadToS3({sourcePath=/tmp/src/path, bucket=dummy_bucket, path=/upload/path})
                      uploadToS3.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC})
                      uploadToS3.withCredentials([AWS_ACCOUNT_PUBLIC], groovy.lang.Closure)
                         uploadToS3.withAWS({role=opensearch-bundle, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure)
                            uploadToS3.s3Upload({file=/tmp/src/path, bucket=dummy_bucket, path=/upload/path})
Gradle Test Executor 2 finished executing tests.
Gradle Test Executor 2 finished executing tests.
> Task :test FAILED
83 tests completed, 1 failed, 1 skipped

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Signed-off-by: Peter Zhu <[email protected]>
@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Jun 24, 2022

test failure

TestUploadToS3 > testUploadToS3 STANDARD_OUT
    Loading shared library jenkins with version <notNeeded>
    Executing on agent [label:none]
       UploadToS3_Jenkinsfile.run()
          UploadToS3_Jenkinsfile.pipeline(groovy.lang.Closure)
             UploadToS3_Jenkinsfile.echo(Executing on agent [label:none])
             UploadToS3_Jenkinsfile.stage(sign, groovy.lang.Closure)
                UploadToS3_Jenkinsfile.script(groovy.lang.Closure)
                   UploadToS3_Jenkinsfile.uploadToS3({sourcePath=/tmp/src/path, bucket=dummy_bucket, path=/upload/path})
                      uploadToS3.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC})
                      uploadToS3.withCredentials([AWS_ACCOUNT_PUBLIC], groovy.lang.Closure)
                         uploadToS3.withAWS({role=opensearch-bundle, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure)
                            uploadToS3.s3Upload({file=/tmp/src/path, bucket=dummy_bucket, path=/upload/path})
Gradle Test Executor 2 finished executing tests.
Gradle Test Executor 2 finished executing tests.
> Task :test FAILED
83 tests completed, 1 failed, 1 skipped

Resolved now,
Thanks.

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Signed-off-by: Peter Zhu <[email protected]>
Signed-off-by: Peter Zhu <[email protected]>
@peterzhuamazon peterzhuamazon merged commit 4b9ca32 into opensearch-project:main Jun 24, 2022
@peterzhuamazon peterzhuamazon deleted the opensearch-gradle-check branch June 24, 2022 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cicd jenkins Jenkins related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants