We are using the ant build tool in our project. We have build.xml and stored the properties in build/version.properties. I am facing issues in task setting up a minor version from build.properties to GitLab-ci.yml. I want this minor version to increment after every commit. I am attaching some images for reference of build.xmlscript for updating the minor version. In gitlab-ci.yml we define a variable: MANEN_CLI_OPTS:" -s settings.xml --batch-mode -Dcc5_majorversion=5.143 -Dcc5_minor_version=$CI_PIPELINE_IID"
Auto increment the minor version for Ant build/version.properties and setting it in gitlab-ci.yml
441 Views Asked by newbee_to_code At
0
There are 0 best solutions below
Related Questions in ANT
- How to build using Eclipse Tycho
- Ant Junit ForkMode with Suites
- Apache Ant - How to handle the target error?
- Ant dont upload file
- Eclipse Ant Javadoc - warning of no comment on private field
- Code coverage is not getting generated. Previously I used to get it properly, now they upgraded to rhel 8. Now, no code coverage is coming at all
- Extract *.jar from *.aar and import; Failed resolution of: Lcom/xxx/xxx/xxx/R$layout when APK running
- Ant continues to add the wrong jar file to the classpath even after I've changed it
- How to exclude Kotlin from OkHttp?
- Jetty Error: I' starting my web aap and all of sudden Getting this Error
- Can ant break upon encountering an undefined property?
- ZipException opening "xalan.jar"
- Using ResourceBundle and jar files with ant
- how can we invoke custom ant task from junit
- How do I configure VS Code to debug an opensource project written in Java that uses ANT as its build command?
Related Questions in MAVEN-VERSIONS-PLUGIN
- Maven update dependency versions by groupId
- Auto increment the minor version for Ant build/version.properties and setting it in gitlab-ci.yml
- Maven - display-dependency-updates- list transitive dependency versions
- Maven version plugin not working properly
- Maven versions plugin very slow
- How to process a maven version:set with exact version
- How to only check top level (pom-listed) packages for updates with "Versions Maven Plugin"?
- Issue at work but not at home: mvn versions:display-dependency-updates
- Why doesn't Maven versions plugin update the locally defined property?
- When is the right time to update a major version and not minor version in your pom?
- Exclude property using mvn versions:update-properties with excludesList
- Use mvn version plugin during mvn release
- Maven-versions-plugin: regex for negating versions which do not follow a specific tag format
- Versions Maven Plugin : do not update to last release available
- Maven parent version ${revision} expansion in cross project inheritance
Related Questions in GITLAB-CI.YML
- Invalid command 'bdist_msi' when trying to create MSI installer with 'cx_Freeze' in Gitlab CI/CD Pipeline
- There are no active runners online GitLab
- Post body not being sent in gitlabci when using yml
- How to add Git LFS in github actions to push larger files
- Gitlab-ci transform only to rules with unknown synthax
- How to report child pipeline results from the parent pipeline in Gitlab?
- gitlab pipeline failed to run
- Is there a way to make my gitlab CI deploy in an environment even after my script "fails"?
- Set up Branch preview deployments with gitlab-ci.yml for static website deployed on azure
- SonarCloud shows 0.0% coverage on new code, and it's 0.0% coverage on the project as well
- GitLab issue with porting bash script to CI Job
- Gitlab-ci.yml Pipeline failed
- Why is pandahause not work in CI/CD gitlab?
- Error initializing source docker://localhost/nginx:latest in Gitlab CI Pipeline
- Gitlab CI MR pipeline runs against the rules
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?