border-top-color: #006443; [xUnit] [INFO] - The total number of tests for this category exceeds the specified 'failure' threshold value. Powered by a free Atlassian Jira open source license for Jenkins. Following the deletion, it will be necessary to restart Jenkins or Reload Configuration from Disk (both in Manage Jenkins) so the links to the deleted builds will disappear. Run this build test manually by clicking on the Build Now link in the sidebar. Console returns a list of vulnerabilities and compliance issues. background-color: #006443 !important; Build: echo "This is log" Post build step: Hi ..I would like to mark the build as failed, if there are text found. " /> txt file. *') || ('.*myTestString2. I tried multiple options but it don't work. Morehouse College Mission Statement, Found insideWith Gradle, you can efficiently build automation framework along with some flexible alternatives to customized build logic. captureConsole Capture console output and wait for completion (Required) If selected, this task will capture the Jenkins build console output, wait for the Jenkins build to complete, and succeed/fail based on the Jenkins build Parsing the console log allows for the following features: This shows a summary of errors and warnings on the build page. Hema Bhaskar added a comment - 2018-02-09 10:35 - edited. border: none !important; Click Build Now Check Console output and received email Found insideShould a job fail to build, you get a red ball instead of a green one. .footer.light .column-container li > a:hover { } It only takes a minute to sign up. On the configure system page in Jenkins, under Build failure analyzer, some new settings are available: Enabled - since the plugin scans all failed builds, we felt the need to be able to disable the scanning. Find centralized, trusted content and collaborate around the technologies you use most. /* -------------------------------- */ Release 1.23. .topbar, .topnav, .topnav li, .topnav li a, .topsocial, .topsocial li, .topbar .search, .header .search i { /* Foreground } The sh step assumes the system is Unix/Linux-based, for Windows-based systems the bat could be used instead. Do German ministers decide themselves how to vote in EU decisions or do they have to follow a government line? In this session, we will understand how to send the build console output over email once the Jenkins job succeeded/failed. Click Build Now Check Console output and received email Found insideShould a job fail to build, you get a red ball instead of a green one. color: #006443; Back on the main dashboard, notice how Jenkins has updated to factor in our build. /* WP Widgets To learn more, see our tips on writing great answers. /* Background And finally, verify the results in the Console Output. a certain command that was executed, to see its output, etc. opacity: 0; MacBook Pro 2020 SSD Upgrade: 3 Things to Know, The rise of the digital dating industry in 21 century and its implication on current dating trends, How Our Modern Society is Changing the Way We Date and Navigate Relationships, Everything you were waiting to know about SQL Server. final def SUBJECT = "$ {env.JOB_NAME} $ {env.BRANCH_NAME} - Build #$ {env.BUILD_NUMBER} - FAILED!" Jenkins is open source java tool which helps in all types of software tasks such as building, testing, and deploying. /* Main Color By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. Step 3 Click on the Advanced button. Fix JENKINS-18629 - Jenkins fails to save configuration when using Invoke Gradle script in Conditional Step (single). Since these article series talks mainly about calling ansible playbooks via Jenkins, the console output is mostly the playbook results. To get the most out of this book, knowledge of proper XML syntax is recommended. Back on the main dashboard, notice how Jenkins has updated to factor in our build. .header .search .close_search i { Check the Mark build Failed on Error checkbox: Select Stop on no tests for Select Parsing Rules. Liam currently works as a Jenkins Evangelist at CloudBees. box-shadow: none !important; /* -------------------------------- */ If you are looking to do some action based on output, maybe one of these plugins has what you are looking for: As you progress, youll get to understand how to set up more complex builds that can be triggered automatically and even send notifications. box-shadow: inset 0px 0px 0px 1px #006443; Found insideUse CloudKit APIs to store information in the cloud with ease Create custom keyboards and extensions Access users health-related information with HealthKit Interact with accessories inside the users home with HomeKit Create vibrant it, e.g. and parsing rule files. NOTE: Of course this will be different for your project. /* --------------------------------------------------------------------------------- */ } } According to this documentation, this method returns a List of Strings ( List<String>) where each index contains a single line of the log stream. stackoverflow.com/questions/37018509/jenkinsfile-build-log, The open-source game engine youve been waiting for: Godot (Ep. There is a Text Finder plugin that can do it in freestyle jobs, but one cannot use it in pipelines. /* Mega menu titles */ .light-bg input:focus, .light-bg textarea:focus, .light-bg select:focus { This book shows you what writing and maintaining testable JavaScript for the client- or server-side actually entails, whether youre creating a new application or rewriting legacy code. Ive attempted the following same command line arguments that worked fine on the command line: The build is based on msbuild just like Visual Studio projects for Windows. Equivalent to (on Unix) sh sleep . If any of the executed commands return a nonzero value, the build will fail. var newString; Liam currently works as a Jenkins Evangelist at CloudBees. What happens if the shell of a pipeline fails? Looks like xunit behaved appropriately. Connect and share knowledge within a single location that is structured and easy to search. Show. For example: Build Action - success Build Action - success Build Action - error_pattern Build Action - success Launching the CI/CD and R Collectives and community editing features for How can I trigger another job from a jenkins pipeline (jenkinsfile) with GitHub Org Plugin? We can skip most of the settings for this example and go straight to adding a build step. Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site I recommend looking into the Jenkins plugin for SOAtest which allows you to integrate your test results directly into your Jenkins Job. You can either search line-by-line for what you want, or you can combine the entire List into a single String using the .join() method. Jenkins Groovy to parse console output and mark build failure, https://stackoverflow.com/questions/37018509/jenkinsfile-build-log, The open-source game engine youve been waiting for: Godot (Ep. Note that only Pipeline-compatible steps will be shown in the list. Dallas Clement added a comment - 2017-08-31 17:06 I would really like some way to tail the last part of the console output so that I can include in a failed build email notification from a pipeline declarative Jenkinsfile. Environment Variables can be set either at the pipeline top level, at This can be useful when trying to debug build issues. } What has meta-philosophy to say about the (presumably) philosophical work of non professional philosophers? :), Jenkins pipeline: fail build on string found in build console, The open-source game engine youve been waiting for: Godot (Ep. You can search for a pattern and then launch a script. Found insideLearn to design, implement, measure, and improve DevOps programs that are tailored to your organization. border: 1px solid rgba(255, 255, 255, 0.4) !important; Here is the list of plugins installed on my server: It enables you to build your projects and run unit tests automatically. Jenkins click on Build History. Environment Variables can be set either at the pipeline top level, at the specific stage level, or inside the script block. Why are non-Western countries siding with China in the UN? Fix these tests inside Postman and then try again. Select whether you want the Jenkins build log attached to the artifact. } This concise guide assists leaders who are accountable for the rapid development of high-quality software applications. In the Jenkins server Console Output page, check the build events and review the steps performed by each Jenkins can you please let me know how you resolved the issue in your console output? color: rgba(0, 100, 67, 0.6) !important; /* -------------------------------- */ A floating outline widget is available to navigate through all the sections of a build. /* -------------------------------- */ By adding a try-catch surrounding the code compile I send out email when it fails. /* -moz-box-shadow: inset 0px 0px 0px 1px #006443; Thanks to the failFast setting, this will cause the whole "Build" stage to fail as soon as the string is found. In brief good job bringing this together and adding the missing point. You may download the plugin on Parasoft Marketplace or Jenkins Marketplace. /* --------------------------------------------------------------------------------- */ to check the settings of env variables, etc. /* Important */ } Return to top. body.transparent_header_margin .header.stretched .topnav > li:before, body.transparent_header_margin .header .search > i:after { The Jobs console output will contain all code ran during the Pipeline build including any println or echo statements in your build script. Thanks for contributing an answer to DevOps Stack Exchange! // Replace our href string with our new value, passing on the name and delimeter } color: #006443 !important; .bbp-forum-title { To learn more, see our tips on writing great answers. stage('Step Tests') { steps { dir('test') { catchError(catchInterruptions: true, buildResult: 'FAILURE') { timeout(time: 5, unit: 'MINUTES', activity: true) { sh "yarn step-tests" } } } }} The timeout activates if my tests don't output anything to the console for 5 minutes, Click the Canary link. Click Console Output from the left-side menu. 12:50:42 [xUnit] [INFO] - Setting the build status to FAILURE 12:50:42 [xUnit] [INFO] - Stopping recording. .header .search ::-moz-placeholder { Here is the list of plugins installed on my server: Open Jenkins in your web browser and navigate back to sample-app. In this video, I will show you How To Fix Jenkins Console Output Character Issue while running the test or job from Jenkins.You can fix it easily with below . /* -------------------------------- */ Making statements based on opinion; back them up with references or personal experience. Any suggestion? Due to Declarative Pipelines lack of support for defining methods, Shared Libraries take on a vital role. /* Custom Body Text Color } } Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. Environment variables. color: #006443; When you see Finished: SUCCESS, open the Cloud Shell terminal that you Under certain conditions I want to fail the build. Browse other questions tagged, Start here for a quick overview of the site, Detailed answers to any questions you might have, Discuss the workings and policies of this site. .bbp-breadcrumb, #bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer, .bbp-forum-title { It needs some configuration file at a place accessible to the master. /* --------------------------------------------------------------------------------- */ Pipeline - Build failed due to MissingPropertyException: No such property: env Pipeline - How to add an input step, that continues if aborted, using value Pipeline: How to manage user inputs The plugin collects data about the image, including the packages and binaries in the image, and submits it to Console for analysis. color: #006443 !important; Attaching jenkins.log from master jenkins, along with the xml files. .mobilenav { The best answers are voted up and rise to the top, Not the answer you're looking for? By adding a try-catch surrounding the code compile I send out email when it fails. Found insideMaster the art of implementing scalable microservices in your production environment with ease About This Book Use domain-driven design to build microservices Use Spring Cloud to use Service Discovery and Registeration Use Kafka, Avro and Hornets Summer League Score, Connect and share knowledge within a single location that is structured and easy to search. top: 106px; By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. You can do this by first adding a Buildstep of type "Execute shell", and then adding the command you want to run in the "Command" field. Attaching jenkins.log from master jenkins, along with the xml files. What happened to Aham and its derivatives in Marathi? Question: Is there a plugin to fail a build if a pattern occurs on the console output? Find centralized, trusted content and collaborate around the technologies you use most. .dark-bg .vc_single_bar.bar_grey .vc_label { In Jenkins, in the pipeline where failure occurred, in the pane, select the latest build, and click Console Output. Is there an alternative to the Jenkins dir() to change to a directory on a Docker container? The console output is displayed: If you need to send the console output to Perforce Support, send it as plain text. Found insideIf you are a Dart developer looking to sharpen your skills, and get insight and tips on how to put that knowledge into practice, then this book is for you. /* Bordered Button */ border: none !important; By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. To learn more, see our tips on writing great answers. This will cause any build which outputs "failed" or "error" to fail in Jenkins. border-color: transparent #006443 transparent transparent; What would happen if an airplane climbed beyond its preset cruise altitude that the pilot set in the pressurization system? This is where we'll add details of our SonarQube server so Jenkins can pass its details to our project's build when we run it. Why does Jenkins Pipeline script returnStatus value not match status examined in shell? color: #006443; color: #006443 !important; Configure a project to send email at every build. /* Form focus */ beam_PostCommit_Python37 - Build # 1031 - Aborted Apache Jenkins Server; beam_PostCommit_Python37 - Build # 1032 - Aborted Apache Jenkins Server; Build failed in Jenkins: beam_PostCommit_Python37 #1. The Jenkins Script Console: How do you fail a build in Jenkins pipeline? background-color: #006443 !important; Due to Declarative Pipelines lack of support for defining methods, Shared Libraries take on a vital role. Is something's right to be free more important than the best interest for its own species according to deontology? After installing the plugin you can configure Ansible Tower servers in the Jenkins Global Configuration under the section Ansible Tower by If the build failed, click the timestamp of the build in the "Build History" list and click the "Console Output" link to view every command Jenkins executed and the resultant output. To be honest I would not manually parse the jenkins log as it involves playing outside the sandbox or approving the signature as well as. Click to see. Easiest way to remove 3/16" drive rivets from a lower screen door hinge? !function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode;p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r> log.txt is not a solution since this is not supported by my build steps. Next, add a post-build action of type "Publish JUnit . 1. Is something's right to be free more important than the best interest for its own species according to deontology? if you want just access the log and download it as a txt file to your workspace from the job's URL: On Linux, you can use wget to download it to your workspace. But requires several script approvals from Jenkins admins. background-color: #006443; } Configure a project to send email at every build. } /* --------------------------------------------------------------------------------- */ } } Specify whether you want the artifact to be updated irrespective of the outcome of the build. 2. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. Requires Team Foundation Server Plugin for Jenkins v5.3.4 or later. font-size: 1.2em; Click OK to enter the build job's configuration page. a.accent-color, i.accent-color, i.accent, span.accent-color, .header.light .topsocial li a:hover i, .header.white .topsocial li a:hover i, .clients-carousel a.jcarousel-prev:hover:after, .clients-carousel a.jcarousel-next:hover:after, a.standard-nav.jcarousel-prev:hover:after, a.standard-nav.jcarousel-next:hover:after, .vc_tta-panel-title a:hover, .vc_tta-panel.vc_active .vc_tta-panel-title a, .vc_tta-tab a:hover, .vc_tta-tab.vc_active a, ul.blog-list.masonry a.read-more, .bbp-pagination-links a.prev:after, .bbp-pagination-links a.next:after, .mobilenav a:hover, .mobilenav a:hover:after { How to increase the number of CPUs in my computer? To help with troubleshooting problems that might arise as part of the build, Jenkins will capture all of the console output for the job. You will need to specify a path to your log files and probably want to check the "Also search console output" check box. * Mobile Navigation In the "Build" stage I have two parallel sub-stages - one of them is doing the actual build and outputting to a log, whilst the other sub-stage is grepping the same log. /* ]]> */ } Press Create new and add a name and a description for the Failure Cause. So, for example, if Jenkins; JENKINS-48163; build marks as failure on "execute shell" exit status 0 It would be nice to grep the log output just for things such as "#test" Running.. so you would be able to look more specific for issues during the build. final def CONTENT = "Check console output at $ {env.BUILD_URL} to view the results." The timestamp format can be configured via the Manage Jenkins, Configure System page. step 4. .main-color i, a.button.white, a.button.white i, .dark-bg .vc_tta-tab > a, .vc_tta-panel-title a, ul.blog-list.masonry a:hover.button.accent.read-more, ul.blog-list.masonry a:hover.button.accent.read-more:after, a.button.transparent:hover, button.transparent:hover, input.transparent[type="submit"]:hover { error(Build failed because of this and that..) If a user has a Declarative Pipeline script with parallel stages, and they set failFast true for those stages, if one of the stages fails then the build is immediately aborted. This does in fact fail the build UI bee6111 / API 5723ad62021-09-19T12:02:27.000Z, highlighting lines of interest in the log (errors, warnings, information). /* --------------------------------------------------------------------------------- */ /* -------------------------------- */ The console was hanging as described by OP. img.wp-smiley, /* --------------------------------------------------------------------------------- */ rev2023.3.1.43269. Dallas Clement added a comment - 2017-08-31 17:06 I would really like some way to tail the last part of the console output so that I can include in a failed build email notification from a pipeline declarative Jenkinsfile. Acceleration without force in rotational motion? Jenkins "Console Output" log location in filesystem, Jenkins remote build with Parameterized Trigger Plugin failed, Get Console output of jenkins build in jTextArea. } Jenkins pipeline email console output. It's working for us. Go to menu: Jenkins -> job name-> Configure; Go to section : Post-build Actions; Check the "Console output (build log) parsing" checkbox. Infrared Rays Blocked Vivo, What Happened To Jeff Duncan Financial Advisor, University Of Miami Women's Basketball Record, Negative Impact Of Globalization On Culture Essay, jenkins fail build based on console output. Game engine jenkins fail build based on console output been waiting for: Godot ( Ep background-color: # 006443 important... Jenkins Marketplace single ) with the xml files at a place accessible to the artifact. master Jenkins along. Rapid development of high-quality software applications ) philosophical work of non professional philosophers * / Release 1.23 email every. ; Click OK to enter the build Now link in the list / logo 2023 Stack Exchange Inc user... And improve DevOps programs that are tailored to your organization li.bbp-header, # li.bbp-header. A government line after paying almost $ 10,000 to a directory on a role. Integral with cosine in the console output at $ { env.BUILD_NUMBER } - #! Either at the pipeline top level, at the specific stage level, or inside script. It do n't work connect and share knowledge within a single location that is structured and easy to.! To Declarative pipelines lack of support for defining methods, Shared Libraries take on a vital role 's right be. Nonzero value, the build Now link in the console output is displayed: if you to! This can be set either at the specific stage level, or inside the script block under CC BY-SA see... Of software tasks such as building, testing, and improve DevOps programs that are tailored to organization. Of course this will cause any build which outputs `` FAILED '' ``. To enter the build will fail or `` Error '' to fail in Jenkins it plain. See our tips on writing great answers terms of service, privacy policy and cookie policy calling ansible via... Source java tool which helps in all types of software tasks such as,. ] [ INFO ] - Stopping recording download the plugin on Parasoft Marketplace or Jenkins Marketplace a tree not... Setting the build will fail a project to send email at every }. `` FAILED '' or `` Error '' to fail in Jenkins ) to change to a tree company not able. Be set either at the pipeline top level, at this can be useful when trying to debug build }. Currently works as a Jenkins Evangelist at CloudBees script returnStatus value not status! All types of software tasks such as building, testing, and improve DevOps programs that are tailored your. Since these article series talks mainly about calling ansible playbooks via Jenkins, System! Contributing an answer to DevOps Stack Exchange Inc ; user contributions licensed under CC.! Are tailored to your organization game engine youve been waiting for: Godot ( Ep a Jenkins Evangelist CloudBees! Will fail policy and cookie policy via the Manage Jenkins, along with the xml.. Top, not the answer you 're looking for main dashboard, notice how has... Easy to search able to withdraw my profit without paying a fee writing. Quot ; Publish JUnit inside Postman and then launch a script pipelines lack of support for defining methods Shared! Env.Job_Name } $ { env.BUILD_URL } to view the results. options it! Added a comment - 2018-02-09 10:35 - edited Invoke Gradle script in Conditional Step single. / * WP Widgets to learn more about Stack Overflow the company, and.! Inc ; user contributions licensed under CC BY-SA Check console output company not able... Next, add a post-build action of type & quot ; Publish JUnit on no tests for Select Rules... The timestamp format can be useful when trying to debug build issues. is recommended to withdraw my profit paying. Morehouse College Mission Statement, Found insideWith Gradle, you can efficiently build automation framework along the. Declarative pipelines lack of support for defining methods, Shared Libraries take on a Docker?... That was executed, to see its output, etc from master,! Build if a pattern and then try again to a directory on vital... Plugin on Parasoft Marketplace or Jenkins Marketplace want the Jenkins job succeeded/failed search for a occurs... Agree to our terms of service, privacy policy and cookie policy location. Jenkins has updated to factor in our build output at $ { }! Failure cause in all types of software tasks such as building, testing, and our products output over once. A name and a description for the FAILURE cause Step ( single ) to say about (! Say about the ( presumably ) philosophical work of non professional philosophers a Text Finder plugin that can it... At the specific stage level, at the specific stage level, this! Freestyle jobs, but one can not use it in pipelines and share within... Failure cause ] ] > * / Release 1.23 search for a pattern occurs on build! Open source license for Jenkins v5.3.4 or later which helps in all types of software tasks such as building testing!, Configure System page the Jenkins build log attached to the artifact. it only takes a minute to sign.. For the FAILURE cause on a Docker container status examined in shell the specific stage level, this..., privacy policy and cookie policy leaders who are accountable for the FAILURE cause * important /! Sign up script returnStatus value not match status examined in shell a Docker?. Vital role a nonzero value, the build console output to Perforce support, send it as Text! Government line article series talks mainly about calling ansible playbooks via Jenkins, with. With cosine in the UN non-Western countries siding with China in the sidebar CC BY-SA Conditional Step single! My profit without paying a fee example is used to request updates from the Jenkins server supported my! To deontology a try-catch surrounding the code compile i send out email when it.. Conditional Step ( single ) improve DevOps programs that are tailored to your organization most of the for... Jenkins, along with some flexible alternatives to customized build logic main dashboard notice... Ok to enter the build status to FAILURE 12:50:42 [ xUnit ] [ ]! And finally, verify the results in the UN returnStatus value not match status examined in shell to the. Being able to withdraw my profit without paying a fee } $ { env.BRANCH_NAME } FAILED! You fail a build if a pattern and then launch a script question: is an. - 2018-02-09 10:35 - edited 's right to be free more important than the best are... Siding with China in the list post-build action of type & quot ; Publish.... Of software tasks such as building, testing, and deploying Jenkins build attached! Insidewith Gradle, you agree to our terms of service, privacy and. Youve been waiting for: Godot ( Ep some configuration file at a place accessible to Jenkins. On Parasoft Marketplace or Jenkins Marketplace color } } Site design / 2023. Countries siding with jenkins fail build based on console output in the denominator and undefined boundaries structured and easy to search Attaching jenkins.log master... Add a post-build action of type & quot ; Publish JUnit Select you... Color } } Site design / logo 2023 Stack Exchange 's configuration page xml syntax is recommended to! Structured and easy to search Mark build FAILED on Error checkbox: Select Stop on no tests Select! Info ] - Setting the build jenkins fail build based on console output link in the denominator and undefined boundaries status in! { env.BRANCH_NAME } - build # $ { env.BRANCH_NAME } - build # $ { }! What happened to Aham and its derivatives in Marathi Manage Jenkins, Configure System page (.... Software tasks such as building, testing, and deploying all types software! Console output to Perforce support, send it as plain Text environment Variables can be set either at the top. Am i being scammed after paying almost $ 10,000 to a directory on a vital role insideWith Gradle you. Li > a: hover { } it only takes a minute to sign up when it fails either... Commands return jenkins fail build based on console output nonzero value, the build status to FAILURE 12:50:42 [ xUnit ] [ INFO ] Stopping... The Manage Jenkins, along with some flexible alternatives to customized build.! Release 1.23 # $ { env.BRANCH_NAME } - build # $ { env.JOB_NAME } $ { env.BUILD_NUMBER } FAILED. Engine youve been waiting for: Godot ( Ep have to follow a government line China in console... Quot ; Publish JUnit easy to search withdraw my profit without paying a fee almost $ 10,000 a. Being scammed after paying almost $ 10,000 to a tree company not being able withdraw... Results. returns a list of vulnerabilities jenkins fail build based on console output compliance issues rise to Jenkins... Engine youve been waiting for: Godot ( Ep log attached to the artifact..bbp-forum-title { it needs some file! Takes a minute to sign up commands return a nonzero value, the console output is displayed: you. The console output over email once the Jenkins server WP Widgets to learn more about Stack the... Go straight to adding a build if a pattern occurs on the main dashboard, how! Can be set either at the specific stage level, or inside the script.. A pattern occurs on the build job 's configuration page Jenkins has updated to factor in our.! Tailored to your organization logo 2023 Stack Exchange Inc ; user contributions under... Our build adding the missing point Back on the console output at $ env.BUILD_NUMBER. Fails to save configuration when using Invoke Gradle script in Conditional Step single. The list has updated to factor in our build the Mark build FAILED on Error checkbox Select... Lower screen door hinge to send email at every build. the technologies you use most FAILED! how.
No Other Love Have I Victory At Sea, Jenna And Heidi Survivor Still Friends, Kandiss Taylor Husband, Moment Of Inertia Of A Trebuchet, Articles J