Color plugin leads to endless cycle
See original GitHub issueansicolor-0.4.3
I have a jenkinsfile:
node('mac&&master') {
ansiColor('xterm') {
stage('Checkout') {
gitClean()
checkout scm
}
stage('Environment Setup') {
sh '''
brew unlink imagemagick
brew install imagemagick
brew link imagemagick
gem install bundler
cd Projects/FutureMobile
bundle install --deployment
'''
}
stage('Fastlane Build & Install') {
sh '''
ENGINE_PATH="/Users/App/~/sharedspace/UE_test/LocalBuilds/Engine/Mac/"
cd Projects/FutureMobile
VERSION=0.0.7
export LANG=en_US.UTF-8
echo $GIT_BRANCH
echo $JOB_NAME
bundle exec fastlane build_pr version:$VERSION build:$BUILD_NUMBER engine_path:$ENGINE_PATH
'''
}
}
}
And the colour plugin leads to endless loops at the stage. Console output looks like this (note date stamps):
[12:55:45]: ▸ 53 warnings generated.
[12:55:45]: ▸ [49/135] Compile EraStore.cpp
[12:55:45]: ▸ 49 warnings generated.
[12:55:45]: ▸ [50/135] Compile CustomWidgetStore.cpp
[12:55:13]: ▸ In file included from /Users/App/~/workspace/feature_New_engine_routines-B7HJHIXU7FTK2J3V47JVSAJGTN36OGKYX7FP6OXDAARYE6U3EQ7A/Projects/FutureMobile/Source/Infrastructure/Private/StartupManager.cpp:6:
[12:55:13]: ▸ In file included from ../../../../../../../workspace/feature_New_engine_routines-B7HJHIXU7FTK2J3V47JVSAJGTN36OGKYX7FP6OXDAARYE6U3EQ7A/Projects/FutureMobile/Source/I
Without ansiColor. It works just fine. The same for wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'XTerm']).
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Infinite Color Plugin (UXP) - Infinite Tools
Developed by professional retoucher Pratik Naik, the Infinite Color plugin cycles through an infinite number of color grades with one click.
Read more >Open source maintainer pulls the plug on npm packages ...
The infinite loop is triggered and executed immediately upon initialization of the package's source code, and would result in a Denial of ...
Read more >Infinite background colour cycle - javascript - Stack Overflow
If the first color is the same as the last it will seem infinite. Save this answer.
Read more >Endless build loop with fix option #96 - GitHub
Hey, when using stylelint fix option it creates an endless build loop if errors are present. Stylelint tries to fix errors, but there...
Read more >Is there a quick way to cycle through vim colorschemes? - Reddit
Here's a really basic popup menu to switch color schemes, using vim9script. Too lazy to make it into a proper plugin, ...
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 Free
Top 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

I can confirm this issue. It doesn’t always happen for me (30-40%), only with pipelines (color output for normal jobs works just fine).
The symptoms seem to indicate (haven’t managed to reproduce any of the examples in this thread in
v0.7.2) another problem caused by generousConsoleNoteusage -ansicolorused to annotate each line of output with meta data which may have led to bloated log files.Since
ansicolor v0.7.0the annotations are used only to indicate begin/end of anansiColor()area and as a shortlog trigger. As a result the logs should grow by a couple ofKBs tops which allows even jobs producing hundreds ofMBs of output to finish in a reasonable time.