Check if bootWar/war tasks are enabled
See original GitHub issueEnvironment:
- Jib version: 1.7.0
- Build tool: gradle 5.2.1
- OS: linux
Description of the issue: When a project enables the war task but disables the bootWar task, Jib incorrectly chooses the bootWar task to depend on, instead of the war task.
Expected behavior: Jib should depend on enabled tasks only.
Steps to reproduce:
- apply plugins ‘org.springframework.boot’ and jib
- set
bootWar { enabled = false }
andwar { enabled = true }
in build.gradle - gradle jib
Log output:
Additional Information: https://github.com/GoogleContainerTools/jib/blob/4d8efc902d40945fe5ed296d3bf55f0d42119fef/jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/JibPlugin.java#L167
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Programmatically figure out if specific task in Task Scheduler ...
You can query the Windows Task data via WMI. I don't think SQL is the best answer to this ... You can check...
Read more >Enable or Disable Scheduled Task in Windows 10 - Winaero
Here's how to enable or disable Scheduled Task in Windows 10. This can be helpful when you are troubleshooting some issue with the...
Read more >How to detect if a specific scheduled task is running?
Using plain MSDOS, you can do: schtasks /query /TN my-task-name /FO LIST. And extract the output. As an example I do:
Read more >How to audit Windows Task Scheduler for cyber-attack activity
Then right-click "Security log”, and then on “Properties”. Make sure the "Enable logging" check box is selected and increase the log size to...
Read more >How to enable, view, and clear Task Scheduler History in ...
Task Scheduler, the built-in utility from Microsoft lets you schedule any task to initiate automatically. For example, you can create a task ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah, yeah, haven’t thought about it. I think it can be the best compromise. That is, we configure Jib runs to depend on both war and bootWar tasks if they are available.
@mattysweeps we just released 1.8.0 with the fix.