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

demo/jenkinsfile-runner has build issues #234

Open
natsen opened this issue Jun 24, 2022 · 1 comment
Open

demo/jenkinsfile-runner has build issues #234

natsen opened this issue Jun 24, 2022 · 1 comment

Comments

@natsen
Copy link

natsen commented Jun 24, 2022

Steps to reproduce:

Output:

ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] custom-war-packager/demo/jenkinsfile-runner/tmp/build/jenkinsfile-runner/bootstrap/src/main/java/io/jenkins/jenkinsfile/runner/bootstrap/Bootstrap.java:[11,24] cannot find symbol
symbol: class PostConstruct
location: package javax.annotation
[ERROR] /custom-war-packager/demo/jenkinsfile-runner/tmp/build/jenkinsfile-runner/bootstrap/src/main/java/io/jenkins/jenkinsfile/runner/bootstrap/Bootstrap.java:[142,6] cannot find symbol
symbol: class PostConstruct
location: class io.jenkins.jenkinsfile.runner.bootstrap.Bootstrap

Resolution:
Looks like jenkinsfile runner is missing the dependency that provides PostConstruct.

@oleg-nenashev
Copy link
Member

Yes, full update is needed

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

No branches or pull requests

2 participants