') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); })(); Bump plugin from 1.424 to 4.40 by dependabot[bot] · Pull Request #14 · jenkinsci/scripttrigger-plugin · GitHub
Skip to content

Bump plugin from 1.424 to 4.40 - #14

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/maven/org.jenkins-ci.plugins-plugin-4.40
Closed

Bump plugin from 1.424 to 4.40#14
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/maven/org.jenkins-ci.plugins-plugin-4.40

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubApr 11, 2022

Copy link
Copy Markdown
Contributor

Bumps plugin from 1.424 to 4.40.

Release notes

Sourced from plugin's releases.

4.40

🎉 Major features and improvements

This release of the plugin build toolchain contains support for Java 17 when running on Jenkins 2.341 or later. (#525, #524, #529) @​basil

Please begin testing your plugins on Java 17 by taking the following actions:

  1. Upgrade to this release of the plugin parent POM.
  2. Delete <java.level>8</java.level> from your plugin POM.
  3. Update your Jenkinsfile to include a test run on Jenkins 2.341 or later and Java 17.

See jenkinsci/email-ext-plugin#357 and jenkinsci/timestamper-plugin#167 for examples.

⚠️ Deprecated

The java.level property has been deprecated and should be removed from your plugin's POM. In the future this warning will be changed to an error and will break the build. (#522) @​basil

💥 Breaking changes

The addition of @{jenkins.addOpens} and @{jenkins.insaneHook} to argLine exposes a bug in IntelliJ IDEA. A patch has been merged in JetBrains/intellij-community#1976. Pending the release of this patch, IntelliJ IDEA users should work around the problem as follows:

  1. Go to Settings > Build, Execution, Deployment > Build Tools > Maven > Running Tests.
  2. Under "Pass to JUnit process [the] following maven-surefire-plugin and maven-failsafe-plugin settings", uncheck argLine.

Failure to work around the problem as described above will result in a could not open '{jenkins.addOpens}' failure when running tests in IntelliJ IDEA.

Also note that the workaround does not suffice for Java 17 support. For Java 17 support in IntelliJ IDEA, we must wait for the release of JetBrains/intellij-community#1976.

📦 Dependency updates

👻 Maintenance

4.39

💥 Breaking changes

If your plugin is missing a src/main/resources/index.jelly file, delete any <description> from pom.xml and create src/main/resources/index.jelly:

... (truncated)

Changelog

Sourced from plugin's changelog.

Changelog for old versions

WARNING: Changelogs have been moved to GitHub Releases

Newer versions

See GitHub Releases

3.43

Release date: 2019-04-30

  • PR-196: Javadoc fix in 3.40 did not work on JDK 11.0.3
  • Miscellaneous dependency & plugin updates frnom dependabot

3.42

Release date: 2019-04-02

  • PR-174: Forbid usage of TestNG (since it does not work anyway)
  • PR-188: Pick up jenkins-test-harness changes to
    • add JenkinsRule.showAgentLogs
    • not clash with jenkins-core in a version-number library dependency

3.41

Release date: 2019-03-31

  • PR-170: Bump frontend-maven-plugin from 1.6 to 1.7.5
  • PR-178: Bump maven-javadoc-plugin from 3.0.1 to 3.1.0
  • PR-179: Bump maven-invoker-plugin from 3.1.0 to 3.2.0
  • PR-180: Bump mockito-core from 2.24.5 to 2.25.1
  • PR-184: Bump maven-scm.version from 1.11.1 to 1.11.2

3.40

Release date: 2019-03-08

  • PR-173: Fix Javadoc related crash when using a JDK 11.0.2
  • PR-167: Default value of jenkins.version changed to 2.138.4 (but all plugins should override this with an explicit value)
  • Various dependency and plugin updates (thanks dependabot)
    • flatten-maven-plugin from 1.0.1 to 1.1.0
    • maven-localizer-plugin from 1.24 to 1.26
    • spotbugs-annotations from 3.1.11 to 3.1.12

3.39

Release date: 2019-02-28

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [plugin](https://github.com/jenkinsci/plugin-pom) from 1.424 to 4.40.
- [Release notes](https://github.com/jenkinsci/plugin-pom/releases)
- [Changelog](https://github.com/jenkinsci/plugin-pom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jenkinsci/plugin-pom/commits/plugin-4.40)
---
updated-dependencies:
- dependency-name: org.jenkins-ci.plugins:plugin
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotBot added the dependencies Pull requests that update a dependency file label Apr 11, 2022
@dependabotdependabotBot mentioned this pull request Apr 11, 2022
@dependabot@github

dependabotBot commented on behalf of githubJun 27, 2022

Copy link
Copy Markdown
ContributorAuthor

Superseded by #15.

@dependabotdependabotBot closed this Jun 27, 2022
@dependabot
dependabotBot deleted the dependabot/maven/org.jenkins-ci.plugins-plugin-4.40 branch June 27, 2022 12:19
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants